aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig29
1 files changed, 13 insertions, 16 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 2c42e1526d03..8250902265c6 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -123,7 +123,8 @@ config PPC
123 select HAVE_KRETPROBES 123 select HAVE_KRETPROBES
124 select HAVE_ARCH_TRACEHOOK 124 select HAVE_ARCH_TRACEHOOK
125 select HAVE_LMB 125 select HAVE_LMB
126 select HAVE_DMA_ATTRS if PPC64 126 select HAVE_DMA_ATTRS
127 select HAVE_DMA_API_DEBUG
127 select USE_GENERIC_SMP_HELPERS if SMP 128 select USE_GENERIC_SMP_HELPERS if SMP
128 select HAVE_OPROFILE 129 select HAVE_OPROFILE
129 select HAVE_SYSCALL_WRAPPERS if PPC64 130 select HAVE_SYSCALL_WRAPPERS if PPC64
@@ -310,10 +311,6 @@ config SWIOTLB
310 platforms where the size of a physical address is larger 311 platforms where the size of a physical address is larger
311 than the bus address. Not all platforms support this. 312 than the bus address. Not all platforms support this.
312 313
313config PPC_NEED_DMA_SYNC_OPS
314 def_bool y
315 depends on (NOT_COHERENT_CACHE || SWIOTLB)
316
317config HOTPLUG_CPU 314config HOTPLUG_CPU
318 bool "Support for enabling/disabling CPUs" 315 bool "Support for enabling/disabling CPUs"
319 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC) 316 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
@@ -475,7 +472,7 @@ config PPC_16K_PAGES
475 bool "16k page size" if 44x 472 bool "16k page size" if 44x
476 473
477config PPC_64K_PAGES 474config PPC_64K_PAGES
478 bool "64k page size" if 44x || PPC_STD_MMU_64 475 bool "64k page size" if 44x || PPC_STD_MMU_64 || PPC_BOOK3E_64
479 select PPC_HAS_HASH_64K if PPC_STD_MMU_64 476 select PPC_HAS_HASH_64K if PPC_STD_MMU_64
480 477
481config PPC_256K_PAGES 478config PPC_256K_PAGES
@@ -495,16 +492,16 @@ endchoice
495 492
496config FORCE_MAX_ZONEORDER 493config FORCE_MAX_ZONEORDER
497 int "Maximum zone order" 494 int "Maximum zone order"
498 range 9 64 if PPC_STD_MMU_64 && PPC_64K_PAGES 495 range 9 64 if PPC64 && PPC_64K_PAGES
499 default "9" if PPC_STD_MMU_64 && PPC_64K_PAGES 496 default "9" if PPC64 && PPC_64K_PAGES
500 range 13 64 if PPC_STD_MMU_64 && !PPC_64K_PAGES 497 range 13 64 if PPC64 && !PPC_64K_PAGES
501 default "13" if PPC_STD_MMU_64 && !PPC_64K_PAGES 498 default "13" if PPC64 && !PPC_64K_PAGES
502 range 9 64 if PPC_STD_MMU_32 && PPC_16K_PAGES 499 range 9 64 if PPC32 && PPC_16K_PAGES
503 default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES 500 default "9" if PPC32 && PPC_16K_PAGES
504 range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES 501 range 7 64 if PPC32 && PPC_64K_PAGES
505 default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES 502 default "7" if PPC32 && PPC_64K_PAGES
506 range 5 64 if PPC_STD_MMU_32 && PPC_256K_PAGES 503 range 5 64 if PPC32 && PPC_256K_PAGES
507 default "5" if PPC_STD_MMU_32 && PPC_256K_PAGES 504 default "5" if PPC32 && PPC_256K_PAGES
508 range 11 64 505 range 11 64
509 default "11" 506 default "11"
510 help 507 help