diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
| -rw-r--r-- | arch/powerpc/Kconfig | 95 |
1 files changed, 69 insertions, 26 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 2ba14e77296c..2e19500921f9 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
| @@ -56,6 +56,16 @@ config IRQ_PER_CPU | |||
| 56 | bool | 56 | bool |
| 57 | default y | 57 | default y |
| 58 | 58 | ||
| 59 | config NR_IRQS | ||
| 60 | int "Number of virtual interrupt numbers" | ||
| 61 | range 32 32768 | ||
| 62 | default "512" | ||
| 63 | help | ||
| 64 | This defines the number of virtual interrupt numbers the kernel | ||
| 65 | can manage. Virtual interrupt numbers are what you see in | ||
| 66 | /proc/interrupts. If you configure your system to have too few, | ||
| 67 | drivers will fail to load or worse - handle with care. | ||
| 68 | |||
| 59 | config STACKTRACE_SUPPORT | 69 | config STACKTRACE_SUPPORT |
| 60 | bool | 70 | bool |
| 61 | default y | 71 | default y |
| @@ -163,6 +173,7 @@ config PPC_OF | |||
| 163 | 173 | ||
| 164 | config OF | 174 | config OF |
| 165 | def_bool y | 175 | def_bool y |
| 176 | select OF_FLATTREE | ||
| 166 | 177 | ||
| 167 | config PPC_UDBG_16550 | 178 | config PPC_UDBG_16550 |
| 168 | bool | 179 | bool |
| @@ -199,24 +210,14 @@ config DEFAULT_UIMAGE | |||
| 199 | config REDBOOT | 210 | config REDBOOT |
| 200 | bool | 211 | bool |
| 201 | 212 | ||
| 202 | config HIBERNATE_32 | ||
| 203 | bool | ||
| 204 | depends on (PPC_PMAC && !SMP) || BROKEN | ||
| 205 | default y | ||
| 206 | |||
| 207 | config HIBERNATE_64 | ||
| 208 | bool | ||
| 209 | depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL) | ||
| 210 | default y | ||
| 211 | |||
| 212 | config ARCH_HIBERNATION_POSSIBLE | 213 | config ARCH_HIBERNATION_POSSIBLE |
| 213 | bool | 214 | bool |
| 214 | depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) | ||
| 215 | default y | 215 | default y |
| 216 | 216 | ||
| 217 | config ARCH_SUSPEND_POSSIBLE | 217 | config ARCH_SUSPEND_POSSIBLE |
| 218 | def_bool y | 218 | def_bool y |
| 219 | depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx | 219 | depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \ |
| 220 | PPC_85xx || PPC_86xx | ||
| 220 | 221 | ||
| 221 | config PPC_DCR_NATIVE | 222 | config PPC_DCR_NATIVE |
| 222 | bool | 223 | bool |
| @@ -240,6 +241,33 @@ config PPC_OF_PLATFORM_PCI | |||
| 240 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC | 241 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC |
| 241 | def_bool y | 242 | def_bool y |
| 242 | 243 | ||
| 244 | config PPC_ADV_DEBUG_REGS | ||
| 245 | bool | ||
| 246 | depends on 40x || BOOKE | ||
| 247 | default y | ||
| 248 | |||
| 249 | config PPC_ADV_DEBUG_IACS | ||
| 250 | int | ||
| 251 | depends on PPC_ADV_DEBUG_REGS | ||
| 252 | default 4 if 44x | ||
| 253 | default 2 | ||
| 254 | |||
| 255 | config PPC_ADV_DEBUG_DACS | ||
| 256 | int | ||
| 257 | depends on PPC_ADV_DEBUG_REGS | ||
| 258 | default 2 | ||
| 259 | |||
| 260 | config PPC_ADV_DEBUG_DVCS | ||
| 261 | int | ||
| 262 | depends on PPC_ADV_DEBUG_REGS | ||
| 263 | default 2 if 44x | ||
| 264 | default 0 | ||
| 265 | |||
| 266 | config PPC_ADV_DEBUG_DAC_RANGE | ||
| 267 | bool | ||
| 268 | depends on PPC_ADV_DEBUG_REGS && 44x | ||
| 269 | default y | ||
| 270 | |||
| 243 | source "init/Kconfig" | 271 | source "init/Kconfig" |
| 244 | 272 | ||
| 245 | source "kernel/Kconfig.freezer" | 273 | source "kernel/Kconfig.freezer" |
| @@ -285,19 +313,6 @@ config 8XX_MINIMAL_FPEMU | |||
| 285 | 313 | ||
| 286 | It is recommended that you build a soft-float userspace instead. | 314 | It is recommended that you build a soft-float userspace instead. |
| 287 | 315 | ||
| 288 | config IOMMU_VMERGE | ||
| 289 | bool "Enable IOMMU virtual merging" | ||
| 290 | depends on PPC64 | ||
| 291 | default y | ||
| 292 | help | ||
| 293 | Cause IO segments sent to a device for DMA to be merged virtually | ||
| 294 | by the IOMMU when they happen to have been allocated contiguously. | ||
| 295 | This doesn't add pressure to the IOMMU allocator. However, some | ||
| 296 | drivers don't support getting large merged segments coming back | ||
| 297 | from *_map_sg(). | ||
| 298 | |||
| 299 | Most drivers don't have this problem; it is safe to say Y here. | ||
| 300 | |||
| 301 | config IOMMU_HELPER | 316 | config IOMMU_HELPER |
| 302 | def_bool PPC64 | 317 | def_bool PPC64 |
| 303 | 318 | ||
| @@ -320,6 +335,10 @@ config HOTPLUG_CPU | |||
| 320 | 335 | ||
| 321 | Say N if you are unsure. | 336 | Say N if you are unsure. |
| 322 | 337 | ||
| 338 | config ARCH_CPU_PROBE_RELEASE | ||
| 339 | def_bool y | ||
| 340 | depends on HOTPLUG_CPU | ||
| 341 | |||
| 323 | config ARCH_ENABLE_MEMORY_HOTPLUG | 342 | config ARCH_ENABLE_MEMORY_HOTPLUG |
| 324 | def_bool y | 343 | def_bool y |
| 325 | 344 | ||
| @@ -378,6 +397,19 @@ config IRQ_ALL_CPUS | |||
| 378 | CPU. Generally saying Y is safe, although some problems have been | 397 | CPU. Generally saying Y is safe, although some problems have been |
| 379 | reported with SMP Power Macintoshes with this option enabled. | 398 | reported with SMP Power Macintoshes with this option enabled. |
| 380 | 399 | ||
| 400 | config SPARSE_IRQ | ||
| 401 | bool "Support sparse irq numbering" | ||
| 402 | default y | ||
| 403 | help | ||
| 404 | This enables support for sparse irqs. This is useful for distro | ||
| 405 | kernels that want to define a high CONFIG_NR_CPUS value but still | ||
| 406 | want to have low kernel memory footprint on smaller machines. | ||
| 407 | |||
| 408 | ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread | ||
| 409 | out the irq_desc[] array in a more NUMA-friendly way. ) | ||
| 410 | |||
| 411 | If you don't know what to do here, say Y. | ||
| 412 | |||
| 381 | config NUMA | 413 | config NUMA |
| 382 | bool "NUMA support" | 414 | bool "NUMA support" |
| 383 | depends on PPC64 | 415 | depends on PPC64 |
| @@ -627,6 +659,9 @@ config ZONE_DMA | |||
| 627 | bool | 659 | bool |
| 628 | default y | 660 | default y |
| 629 | 661 | ||
| 662 | config NEED_DMA_MAP_STATE | ||
| 663 | def_bool (PPC64 || NOT_COHERENT_CACHE) | ||
| 664 | |||
| 630 | config GENERIC_ISA_DMA | 665 | config GENERIC_ISA_DMA |
| 631 | bool | 666 | bool |
| 632 | depends on PPC64 || POWER4 || 6xx && !CPM2 | 667 | depends on PPC64 || POWER4 || 6xx && !CPM2 |
| @@ -652,6 +687,14 @@ config FSL_PCI | |||
| 652 | select PPC_INDIRECT_PCI | 687 | select PPC_INDIRECT_PCI |
| 653 | select PCI_QUIRKS | 688 | select PCI_QUIRKS |
| 654 | 689 | ||
| 690 | config FSL_PMC | ||
| 691 | bool | ||
| 692 | default y | ||
| 693 | depends on SUSPEND && (PPC_85xx || PPC_86xx) | ||
| 694 | help | ||
| 695 | Freescale MPC85xx/MPC86xx power management controller support | ||
| 696 | (suspend/resume). For MPC83xx see platforms/83xx/suspend.c | ||
| 697 | |||
| 655 | config 4xx_SOC | 698 | config 4xx_SOC |
| 656 | bool | 699 | bool |
| 657 | 700 | ||
| @@ -679,7 +722,7 @@ config PPC_PCI_CHOICE | |||
| 679 | config PCI | 722 | config PCI |
| 680 | bool "PCI support" if PPC_PCI_CHOICE | 723 | bool "PCI support" if PPC_PCI_CHOICE |
| 681 | default y if !40x && !CPM2 && !8xx && !PPC_83xx \ | 724 | default y if !40x && !CPM2 && !8xx && !PPC_83xx \ |
| 682 | && !PPC_85xx && !PPC_86xx | 725 | && !PPC_85xx && !PPC_86xx && !GAMECUBE_COMMON |
| 683 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx | 726 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx |
| 684 | default PCI_QSPAN if !4xx && !CPM2 && 8xx | 727 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
| 685 | select ARCH_SUPPORTS_MSI | 728 | select ARCH_SUPPORTS_MSI |
