aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig50
1 files changed, 43 insertions, 7 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 00099efe0e9f..037664d496d7 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -14,6 +14,11 @@ config 64BIT
14 bool 14 bool
15 default y if PPC64 15 default y if PPC64
16 16
17config WORD_SIZE
18 int
19 default 64 if PPC64
20 default 32 if !PPC64
21
17config PPC_MERGE 22config PPC_MERGE
18 def_bool y 23 def_bool y
19 24
@@ -21,6 +26,18 @@ config MMU
21 bool 26 bool
22 default y 27 default y
23 28
29config GENERIC_CMOS_UPDATE
30 def_bool y
31
32config GENERIC_TIME
33 def_bool y
34
35config GENERIC_TIME_VSYSCALL
36 def_bool y
37
38config GENERIC_CLOCKEVENTS
39 def_bool y
40
24config GENERIC_HARDIRQS 41config GENERIC_HARDIRQS
25 bool 42 bool
26 default y 43 default y
@@ -156,6 +173,7 @@ config HIGHMEM
156 bool "High memory support" 173 bool "High memory support"
157 depends on PPC32 174 depends on PPC32
158 175
176source kernel/time/Kconfig
159source kernel/Kconfig.hz 177source kernel/Kconfig.hz
160source kernel/Kconfig.preempt 178source kernel/Kconfig.preempt
161source "fs/Kconfig.binfmt" 179source "fs/Kconfig.binfmt"
@@ -180,17 +198,29 @@ config MATH_EMULATION
180 unit, which will allow programs that use floating-point 198 unit, which will allow programs that use floating-point
181 instructions to run. 199 instructions to run.
182 200
201config 8XX_MINIMAL_FPEMU
202 bool "Minimal math emulation for 8xx"
203 depends on 8xx && !MATH_EMULATION
204 help
205 Older arch/ppc kernels still emulated a few floating point
206 instructions such as load and store, even when full math
207 emulation is disabled. Say "Y" here if you want to preserve
208 this behavior.
209
210 It is recommended that you build a soft-float userspace instead.
211
183config IOMMU_VMERGE 212config IOMMU_VMERGE
184 bool "Enable IOMMU virtual merging (EXPERIMENTAL)" 213 bool "Enable IOMMU virtual merging"
185 depends on EXPERIMENTAL && PPC64 214 depends on PPC64
186 default n 215 default y
187 help 216 help
188 Cause IO segments sent to a device for DMA to be merged virtually 217 Cause IO segments sent to a device for DMA to be merged virtually
189 by the IOMMU when they happen to have been allocated contiguously. 218 by the IOMMU when they happen to have been allocated contiguously.
190 This doesn't add pressure to the IOMMU allocator. However, some 219 This doesn't add pressure to the IOMMU allocator. However, some
191 drivers don't support getting large merged segments coming back 220 drivers don't support getting large merged segments coming back
192 from *_map_sg(). Say Y if you know the drivers you are using are 221 from *_map_sg().
193 properly handling this case. 222
223 Most drivers don't have this problem; it is safe to say Y here.
194 224
195config HOTPLUG_CPU 225config HOTPLUG_CPU
196 bool "Support for enabling/disabling CPUs" 226 bool "Support for enabling/disabling CPUs"
@@ -465,7 +495,7 @@ config PCI_8260
465 495
466config 8260_PCI9 496config 8260_PCI9
467 bool "Enable workaround for MPC826x erratum PCI 9" 497 bool "Enable workaround for MPC826x erratum PCI 9"
468 depends on PCI_8260 && !ADS8272 498 depends on PCI_8260 && !8272
469 default y 499 default y
470 500
471choice 501choice
@@ -569,7 +599,8 @@ config TASK_SIZE_BOOL
569 599
570config TASK_SIZE 600config TASK_SIZE
571 hex "Size of user task space" if TASK_SIZE_BOOL 601 hex "Size of user task space" if TASK_SIZE_BOOL
572 default "0x80000000" 602 default "0x80000000" if PPC_PREP || PPC_8xx
603 default "0xc0000000"
573 604
574config CONSISTENT_START_BOOL 605config CONSISTENT_START_BOOL
575 bool "Set custom consistent memory pool address" 606 bool "Set custom consistent memory pool address"
@@ -581,6 +612,7 @@ config CONSISTENT_START_BOOL
581 612
582config CONSISTENT_START 613config CONSISTENT_START
583 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL 614 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
615 default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)
584 default "0xff100000" if NOT_COHERENT_CACHE 616 default "0xff100000" if NOT_COHERENT_CACHE
585 617
586config CONSISTENT_SIZE_BOOL 618config CONSISTENT_SIZE_BOOL
@@ -662,3 +694,7 @@ config KEYS_COMPAT
662 default y 694 default y
663 695
664source "crypto/Kconfig" 696source "crypto/Kconfig"
697
698config PPC_CLOCK
699 bool
700 default n