1 # SPDX-License-Identifier: GPL-2.0 !! 1 # 2 source "arch/powerpc/platforms/Kconfig.cputype !! 2 # For a description of the syntax of this configuration file, 3 !! 3 # see Documentation/kbuild/kconfig-language.txt. 4 config CC_HAS_ELFV2 !! 4 # 5 def_bool PPC64 && $(cc-option, -mabi=e !! 5 config M68K 6 << 7 config CC_HAS_PREFIXED << 8 def_bool PPC64 && $(cc-option, -mcpu=p << 9 << 10 config CC_HAS_PCREL << 11 # Clang has a bug (https://github.com/ << 12 # where pcrel code is not generated if << 13 # -mno-vsx options are also given. Wit << 14 # instructions are generated from regu << 15 # do pcrel yet. << 16 def_bool PPC64 && CC_IS_GCC && $(cc-op << 17 << 18 config 32BIT << 19 bool << 20 default y if PPC32 << 21 << 22 config 64BIT << 23 bool << 24 default y if PPC64 << 25 << 26 config LIVEPATCH_64 << 27 def_bool PPC64 << 28 depends on LIVEPATCH << 29 << 30 config MMU << 31 bool 6 bool 32 default y 7 default y >> 8 select HAVE_AOUT >> 9 select HAVE_IDE 33 10 34 config ARCH_MMAP_RND_BITS_MAX !! 11 config MMU 35 # On Book3S 64, the default virtual ad << 36 # is 2^47 (128TB). As a maximum, allow << 37 # 32T of address space (2^45), which s << 38 # between bottom-up and top-down alloc << 39 # consume "normal" amounts of address << 40 # and 4K page sizes. << 41 default 29 if PPC_BOOK3S_64 && PPC_64K << 42 default 33 if PPC_BOOK3S_64 << 43 # << 44 # On all other 64-bit platforms (curre << 45 # address space is 2^46 (64TB). Allow << 46 # of address space (2^44). Only 4K pag << 47 default 32 if 64BIT # 32 = 44 (16T << 48 # << 49 # For 32-bit, use the compat values, a << 50 default ARCH_MMAP_RND_COMPAT_BITS_MAX << 51 << 52 config ARCH_MMAP_RND_BITS_MIN << 53 # Allow randomisation to consume up to << 54 default 14 if 64BIT && PPC_64K_PAGES << 55 default 18 if 64BIT << 56 # << 57 # For 32-bit, use the compat values, a << 58 default ARCH_MMAP_RND_COMPAT_BITS_MIN << 59 << 60 config ARCH_MMAP_RND_COMPAT_BITS_MAX << 61 # Total virtual address space for 32-b << 62 # Allow randomisation to consume up to << 63 default 11 if PPC_256K_PAGES # 11 = << 64 default 13 if PPC_64K_PAGES # 13 = << 65 default 15 if PPC_16K_PAGES # 15 = << 66 default 17 # 17 = << 67 << 68 config ARCH_MMAP_RND_COMPAT_BITS_MIN << 69 # Total virtual address space for 32-b << 70 # Allow randomisation to consume up to << 71 default 5 if PPC_256K_PAGES # 5 = << 72 default 7 if PPC_64K_PAGES # 7 = << 73 default 9 if PPC_16K_PAGES # 9 = << 74 default 11 # 11 = << 75 << 76 config NR_IRQS << 77 int "Number of virtual interrupt numbe << 78 range 32 1048576 << 79 default "512" << 80 help << 81 This defines the number of virtual i << 82 can manage. Virtual interrupt number << 83 /proc/interrupts. If you configure y << 84 drivers will fail to load or worse - << 85 << 86 config NMI_IPI << 87 bool 12 bool 88 depends on SMP && (DEBUGGER || KEXEC_C << 89 default y 13 default y 90 14 91 config PPC_WATCHDOG !! 15 config RWSEM_GENERIC_SPINLOCK 92 bool 16 bool 93 depends on HARDLOCKUP_DETECTOR_ARCH << 94 default y 17 default y 95 help << 96 This is a placeholder when the power << 97 watchdog is selected (arch/powerpc/k << 98 selected via the generic lockup dete << 99 have no standalone config option for << 100 18 101 config STACKTRACE_SUPPORT !! 19 config RWSEM_XCHGADD_ALGORITHM 102 bool 20 bool 103 default y << 104 21 105 config LOCKDEP_SUPPORT !! 22 config ARCH_HAS_ILOG2_U32 106 bool 23 bool 107 default y !! 24 default n 108 25 109 config GENERIC_LOCKBREAK !! 26 config ARCH_HAS_ILOG2_U64 110 bool 27 bool 111 default y !! 28 default n 112 depends on SMP && PREEMPTION && !PPC_Q << 113 29 114 config GENERIC_HWEIGHT 30 config GENERIC_HWEIGHT 115 bool 31 bool 116 default y 32 default y 117 33 118 config PPC !! 34 config GENERIC_CALIBRATE_DELAY 119 bool << 120 default y << 121 # << 122 # Please keep this list sorted alphabe << 123 # << 124 select ARCH_32BIT_OFF_T if PPC32 << 125 select ARCH_DISABLE_KASAN_INLINE << 126 select ARCH_DMA_DEFAULT_COHERENT << 127 select ARCH_ENABLE_MEMORY_HOTPLUG << 128 select ARCH_ENABLE_MEMORY_HOTREMOVE << 129 select ARCH_HAS_COPY_MC << 130 select ARCH_HAS_CURRENT_STACK_POINTER << 131 select ARCH_HAS_DEBUG_VIRTUAL << 132 select ARCH_HAS_DEBUG_VM_PGTABLE << 133 select ARCH_HAS_DEBUG_WX << 134 select ARCH_HAS_DEVMEM_IS_ALLOWED << 135 select ARCH_HAS_DMA_MAP_DIRECT << 136 select ARCH_HAS_DMA_OPS << 137 select ARCH_HAS_FORTIFY_SOURCE << 138 select ARCH_HAS_GCOV_PROFILE_ALL << 139 select ARCH_HAS_KCOV << 140 select ARCH_HAS_KERNEL_FPU_SUPPORT << 141 select ARCH_HAS_MEMBARRIER_CALLBACKS << 142 select ARCH_HAS_MEMBARRIER_SYNC_CORE << 143 select ARCH_HAS_MEMREMAP_COMPAT_ALIGN << 144 select ARCH_HAS_MMIOWB << 145 select ARCH_HAS_NON_OVERLAPPING_ADDRES << 146 select ARCH_HAS_PHYS_TO_DMA << 147 select ARCH_HAS_PMEM_API << 148 select ARCH_HAS_PTE_DEVMAP << 149 select ARCH_HAS_PTE_SPECIAL << 150 select ARCH_HAS_SCALED_CPUTIME << 151 select ARCH_HAS_SET_MEMORY << 152 select ARCH_HAS_STRICT_KERNEL_RWX << 153 select ARCH_HAS_STRICT_KERNEL_RWX << 154 select ARCH_HAS_STRICT_MODULE_RWX << 155 select ARCH_HAS_SYSCALL_WRAPPER << 156 select ARCH_HAS_TICK_BROADCAST << 157 select ARCH_HAS_UACCESS_FLUSHCACHE << 158 select ARCH_HAS_UBSAN << 159 select ARCH_HAVE_NMI_SAFE_CMPXCHG << 160 select ARCH_HAVE_EXTRA_ELF_NOTES << 161 select ARCH_KEEP_MEMBLOCK << 162 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABL << 163 select ARCH_MIGHT_HAVE_PC_PARPORT << 164 select ARCH_MIGHT_HAVE_PC_SERIO << 165 select ARCH_OPTIONAL_KERNEL_RWX << 166 select ARCH_OPTIONAL_KERNEL_RWX_DEFAUL << 167 select ARCH_SPLIT_ARG64 << 168 select ARCH_STACKWALK << 169 select ARCH_SUPPORTS_ATOMIC_RMW << 170 select ARCH_SUPPORTS_DEBUG_PAGEALLOC << 171 select ARCH_USE_BUILTIN_BSWAP << 172 select ARCH_USE_CMPXCHG_LOCKREF << 173 select ARCH_USE_MEMTEST << 174 select ARCH_USE_QUEUED_RWLOCKS << 175 select ARCH_WANT_DEFAULT_BPF_JIT << 176 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ << 177 select ARCH_WANT_IPC_PARSE_VERSION << 178 select ARCH_WANT_IRQS_OFF_ACTIVATE_MM << 179 select ARCH_WANT_LD_ORPHAN_WARN << 180 select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP << 181 select ARCH_WANTS_MODULES_DATA_IN_VMAL << 182 select ARCH_WEAK_RELEASE_ACQUIRE << 183 select BINFMT_ELF << 184 select BUILDTIME_TABLE_SORT << 185 select CLONE_BACKWARDS << 186 select CPUMASK_OFFSTACK << 187 select DCACHE_WORD_ACCESS << 188 select DMA_OPS_BYPASS << 189 select DYNAMIC_FTRACE << 190 select EDAC_ATOMIC_SCRUB << 191 select EDAC_SUPPORT << 192 select FTRACE_MCOUNT_USE_PATCHABLE_FUN << 193 select FUNCTION_ALIGNMENT_4B << 194 select GENERIC_ATOMIC64 << 195 select GENERIC_CLOCKEVENTS_BROADCAST << 196 select GENERIC_CMOS_UPDATE << 197 select GENERIC_CPU_AUTOPROBE << 198 select GENERIC_CPU_VULNERABILITIES << 199 select GENERIC_EARLY_IOREMAP << 200 select GENERIC_GETTIMEOFDAY << 201 select GENERIC_IDLE_POLL_SETUP << 202 select GENERIC_IOREMAP << 203 select GENERIC_IRQ_SHOW << 204 select GENERIC_IRQ_SHOW_LEVEL << 205 select GENERIC_PCI_IOMAP << 206 select GENERIC_PTDUMP << 207 select GENERIC_SMP_IDLE_THREAD << 208 select GENERIC_TIME_VSYSCALL << 209 select GENERIC_VDSO_TIME_NS << 210 select HAS_IOPORT << 211 select HAVE_ARCH_AUDITSYSCALL << 212 select HAVE_ARCH_HUGE_VMALLOC << 213 select HAVE_ARCH_HUGE_VMAP << 214 select HAVE_ARCH_JUMP_LABEL << 215 select HAVE_ARCH_JUMP_LABEL_RELATIVE << 216 select HAVE_ARCH_KASAN << 217 select HAVE_ARCH_KASAN << 218 select HAVE_ARCH_KASAN << 219 select HAVE_ARCH_KASAN_VMALLOC << 220 select HAVE_ARCH_KCSAN << 221 select HAVE_ARCH_KFENCE << 222 select HAVE_ARCH_RANDOMIZE_KSTACK_OFFS << 223 select HAVE_ARCH_WITHIN_STACK_FRAMES << 224 select HAVE_ARCH_KGDB << 225 select HAVE_ARCH_MMAP_RND_BITS << 226 select HAVE_ARCH_MMAP_RND_COMPAT_BITS << 227 select HAVE_ARCH_NVRAM_OPS << 228 select HAVE_ARCH_SECCOMP_FILTER << 229 select HAVE_ARCH_TRACEHOOK << 230 select HAVE_ASM_MODVERSIONS << 231 select HAVE_CONTEXT_TRACKING_USER << 232 select HAVE_C_RECORDMCOUNT << 233 select HAVE_DEBUG_KMEMLEAK << 234 select HAVE_DEBUG_STACKOVERFLOW << 235 select HAVE_DYNAMIC_FTRACE << 236 select HAVE_DYNAMIC_FTRACE_WITH_ARGS << 237 select HAVE_DYNAMIC_FTRACE_WITH_REGS << 238 select HAVE_EBPF_JIT << 239 select HAVE_EFFICIENT_UNALIGNED_ACCESS << 240 select HAVE_GUP_FAST << 241 select HAVE_FTRACE_MCOUNT_RECORD << 242 select HAVE_FUNCTION_ARG_ACCESS_API << 243 select HAVE_FUNCTION_DESCRIPTORS << 244 select HAVE_FUNCTION_ERROR_INJECTION << 245 select HAVE_FUNCTION_GRAPH_TRACER << 246 select HAVE_FUNCTION_TRACER << 247 select HAVE_GCC_PLUGINS << 248 select HAVE_GENERIC_VDSO << 249 select HAVE_HARDLOCKUP_DETECTOR_ARCH << 250 select HAVE_HARDLOCKUP_DETECTOR_PERF << 251 select HAVE_HW_BREAKPOINT << 252 select HAVE_IOREMAP_PROT << 253 select HAVE_IRQ_TIME_ACCOUNTING << 254 select HAVE_KERNEL_GZIP << 255 select HAVE_KERNEL_LZMA << 256 select HAVE_KERNEL_LZO << 257 select HAVE_KERNEL_XZ << 258 select HAVE_KPROBES << 259 select HAVE_KPROBES_ON_FTRACE << 260 select HAVE_KRETPROBES << 261 select HAVE_LD_DEAD_CODE_DATA_ELIMINAT << 262 select HAVE_LIVEPATCH << 263 select HAVE_MOD_ARCH_SPECIFIC << 264 select HAVE_NMI << 265 select HAVE_OPTPROBES << 266 select HAVE_OBJTOOL << 267 select HAVE_OBJTOOL_MCOUNT << 268 select HAVE_PERF_EVENTS << 269 select HAVE_PERF_EVENTS_NMI << 270 select HAVE_PERF_REGS << 271 select HAVE_PERF_USER_STACK_DUMP << 272 select HAVE_RETHOOK << 273 select HAVE_REGS_AND_STACK_ACCESS_API << 274 select HAVE_RELIABLE_STACKTRACE << 275 select HAVE_RSEQ << 276 select HAVE_SETUP_PER_CPU_AREA << 277 select HAVE_SOFTIRQ_ON_OWN_STACK << 278 select HAVE_STACKPROTECTOR << 279 select HAVE_STACKPROTECTOR << 280 select HAVE_STATIC_CALL << 281 select HAVE_SYSCALL_TRACEPOINTS << 282 select HAVE_VIRT_CPU_ACCOUNTING << 283 select HAVE_VIRT_CPU_ACCOUNTING_GEN << 284 select HOTPLUG_SMT << 285 select SMT_NUM_THREADS_DYNAMIC << 286 select HUGETLB_PAGE_SIZE_VARIABLE << 287 select IOMMU_HELPER << 288 select IRQ_DOMAIN << 289 select IRQ_FORCED_THREADING << 290 select KASAN_VMALLOC << 291 select LOCK_MM_AND_FIND_VMA << 292 select MMU_GATHER_PAGE_SIZE << 293 select MMU_GATHER_RCU_TABLE_FREE << 294 select MMU_GATHER_MERGE_VMAS << 295 select MMU_LAZY_TLB_SHOOTDOWN << 296 select MODULES_USE_ELF_RELA << 297 select NEED_DMA_MAP_STATE << 298 select NEED_PER_CPU_EMBED_FIRST_CHUNK << 299 select NEED_PER_CPU_PAGE_FIRST_CHUNK << 300 select NEED_SG_DMA_LENGTH << 301 select OF << 302 select OF_EARLY_FLATTREE << 303 select OLD_SIGACTION << 304 select OLD_SIGSUSPEND << 305 select PCI_DOMAINS << 306 select PCI_MSI_ARCH_FALLBACKS << 307 select PCI_SYSCALL << 308 select PPC_DAWR << 309 select RTC_LIB << 310 select SPARSE_IRQ << 311 select STRICT_KERNEL_RWX if STRICT_MOD << 312 select SYSCTL_EXCEPTION_TRACE << 313 select THREAD_INFO_IN_TASK << 314 select TRACE_IRQFLAGS_SUPPORT << 315 select VDSO_GETRANDOM << 316 # << 317 # Please keep this list sorted alphabe << 318 # << 319 << 320 config PPC_BARRIER_NOSPEC << 321 bool 35 bool 322 default y 36 default y 323 depends on PPC_BOOK3S_64 || PPC_E500 << 324 37 325 config PPC_HAS_LBARX_LHARX !! 38 config TIME_LOW_RES 326 bool << 327 << 328 config EARLY_PRINTK << 329 bool 39 bool 330 default y 40 default y 331 41 332 config PANIC_TIMEOUT !! 42 config GENERIC_IOMAP 333 int << 334 default 180 << 335 << 336 config COMPAT << 337 bool "Enable support for 32bit binarie << 338 depends on PPC64 << 339 default y if !CPU_LITTLE_ENDIAN << 340 select ARCH_WANT_OLD_COMPAT_IPC << 341 select COMPAT_OLD_SIGACTION << 342 << 343 config SCHED_OMIT_FRAME_POINTER << 344 bool 43 bool 345 default y 44 default y 346 45 347 config ARCH_MAY_HAVE_PC_FDC 46 config ARCH_MAY_HAVE_PC_FDC 348 bool 47 bool 349 default PCI !! 48 depends on BROKEN && (Q40 || SUN3X) 350 << 351 config PPC_UDBG_16550 << 352 bool << 353 << 354 config GENERIC_TBSYNC << 355 bool << 356 default y if PPC32 && SMP << 357 << 358 config AUDIT_ARCH << 359 bool << 360 default y 49 default y 361 50 362 config GENERIC_BUG !! 51 config NO_IOPORT 363 bool << 364 default y << 365 depends on BUG << 366 << 367 config GENERIC_BUG_RELATIVE_POINTERS << 368 def_bool y 52 def_bool y 369 depends on GENERIC_BUG << 370 << 371 config SYS_SUPPORTS_APM_EMULATION << 372 default y if PMAC_APM_EMU << 373 bool << 374 << 375 config EPAPR_BOOT << 376 bool << 377 help << 378 Used to allow a board to specify it << 379 53 380 config DEFAULT_UIMAGE !! 54 config NO_DMA 381 bool !! 55 def_bool SUN3 382 help << 383 Used to allow a board to specify it << 384 56 385 config ARCH_HIBERNATION_POSSIBLE !! 57 config HZ 386 bool !! 58 int 387 default y !! 59 default 100 388 60 389 config ARCH_SUSPEND_POSSIBLE !! 61 config GENERIC_TIME 390 def_bool y 62 def_bool y 391 depends on ADB_PMU || PPC_EFIKA || PPC << 392 (PPC_85xx && !PPC_E500MC) | << 393 || 44x << 394 63 395 config ARCH_SUSPEND_NONZERO_CPU !! 64 config ARCH_USES_GETTIMEOFFSET 396 def_bool y 65 def_bool y 397 depends on PPC_POWERNV || PPC_PSERIES << 398 66 399 config ARCH_HAS_ADD_PAGES !! 67 mainmenu "Linux/68k Kernel Configuration" 400 def_bool y << 401 depends on ARCH_ENABLE_MEMORY_HOTPLUG << 402 68 403 config PPC_DCR_NATIVE !! 69 source "init/Kconfig" 404 bool << 405 70 406 config PPC_DCR_MMIO !! 71 source "kernel/Kconfig.freezer" 407 bool << 408 72 409 config PPC_DCR !! 73 menu "Platform dependent setup" 410 bool << 411 depends on PPC_DCR_NATIVE || PPC_DCR_M << 412 default y << 413 << 414 config PPC_PCI_OF_BUS_MAP << 415 bool "Use pci_to_OF_bus_map (deprecate << 416 depends on PPC32 << 417 depends on PPC_PMAC || PPC_CHRP << 418 help << 419 This option uses pci_to_OF_bus_map t << 420 restricts the system to only having << 421 the "pci-OF-bus-map" property to be << 422 << 423 If unsure, say "N". << 424 << 425 config PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT << 426 depends on PPC32 << 427 depends on !PPC_PCI_OF_BUS_MAP << 428 bool "Assign PCI bus numbers from zero << 429 default y << 430 help << 431 By default on PPC32 were PCI bus num << 432 So system could have only 256 PCI bu << 433 PCI domains. When this option is ena << 434 PCI domain dependent and each PCI co << 435 256 PCI buses, like it is on other L << 436 << 437 config PPC_OF_PLATFORM_PCI << 438 bool << 439 depends on PCI << 440 depends on PPC64 # not supported on 32 << 441 << 442 config ARCH_SUPPORTS_UPROBES << 443 def_bool y << 444 74 445 config PPC_ADV_DEBUG_REGS !! 75 config EISA 446 bool 76 bool 447 depends on BOOKE !! 77 ---help--- 448 default y !! 78 The Extended Industry Standard Architecture (EISA) bus was >> 79 developed as an open alternative to the IBM MicroChannel bus. 449 80 450 config PPC_ADV_DEBUG_IACS !! 81 The EISA bus provided some of the features of the IBM MicroChannel 451 int !! 82 bus while maintaining backward compatibility with cards made for 452 depends on PPC_ADV_DEBUG_REGS !! 83 the older ISA bus. The EISA bus saw limited use between 1988 and 453 default 4 if 44x !! 84 1995 when it was made obsolete by the PCI bus. 454 default 2 << 455 85 456 config PPC_ADV_DEBUG_DACS !! 86 Say Y here if you are building a kernel for an EISA-based machine. 457 int << 458 depends on PPC_ADV_DEBUG_REGS << 459 default 2 << 460 << 461 config PPC_ADV_DEBUG_DVCS << 462 int << 463 depends on PPC_ADV_DEBUG_REGS << 464 default 2 if 44x << 465 default 0 << 466 87 467 config PPC_ADV_DEBUG_DAC_RANGE !! 88 Otherwise, say N. 468 bool << 469 depends on PPC_ADV_DEBUG_REGS && 44x << 470 default y << 471 89 472 config PPC_DAWR !! 90 config MCA 473 bool 91 bool 474 << 475 config PGTABLE_LEVELS << 476 int << 477 default 2 if !PPC64 << 478 default 4 << 479 << 480 source "arch/powerpc/sysdev/Kconfig" << 481 source "arch/powerpc/platforms/Kconfig" << 482 << 483 menu "Kernel options" << 484 << 485 config HIGHMEM << 486 bool "High memory support" << 487 depends on PPC32 << 488 select KMAP_LOCAL << 489 << 490 source "kernel/Kconfig.hz" << 491 << 492 config MATH_EMULATION << 493 bool "Math emulation" << 494 depends on 44x || PPC_8xx || PPC_MPC83 << 495 select PPC_FPU_REGS << 496 help << 497 Some PowerPC chips designed for embe << 498 a floating-point unit and therefore << 499 floating-point instructions in the P << 500 say Y here, the kernel will include << 501 unit, which will allow programs that << 502 instructions to run. << 503 << 504 This is also useful to emulate missi << 505 such as fsqrt on cores that do have << 506 them (such as Freescale BookE). << 507 << 508 choice << 509 prompt "Math emulation options" << 510 default MATH_EMULATION_FULL << 511 depends on MATH_EMULATION << 512 << 513 config MATH_EMULATION_FULL << 514 bool "Emulate all the floating point i << 515 help << 516 Select this option will enable the k << 517 all the floating point instructions. << 518 a FPU, you should select this. << 519 << 520 config MATH_EMULATION_HW_UNIMPLEMENTED << 521 bool "Just emulate the FPU unimplement << 522 help << 523 Select this if you know there does h << 524 SoC, but some floating point instruc << 525 << 526 endchoice << 527 << 528 config PPC_TRANSACTIONAL_MEM << 529 bool "Transactional Memory support for << 530 depends on PPC_BOOK3S_64 << 531 depends on SMP << 532 select ALTIVEC << 533 select VSX << 534 help << 535 Support user-mode Transactional Memo << 536 << 537 config PPC_UV << 538 bool "Ultravisor support" << 539 depends on KVM_BOOK3S_HV_POSSIBLE << 540 depends on DEVICE_PRIVATE << 541 default n << 542 help 92 help 543 This option paravirtualizes the kern !! 93 MicroChannel Architecture is found in some IBM PS/2 machines and 544 supports the Protected Execution Fac !! 94 laptops. It is a bus system similar to PCI or ISA. See 545 the ultravisor firmware runs at a pr !! 95 <file:Documentation/mca.txt> (and especially the web page given 546 hypervisor. !! 96 there) before attempting to build an MCA bus kernel. 547 << 548 If unsure, say "N". << 549 << 550 config LD_HEAD_STUB_CATCH << 551 bool "Reserve 256 bytes to cope with l << 552 depends on PPC64 << 553 help << 554 Very large kernels can cause linker << 555 code in head_64.S, which moves the h << 556 specified location. This option can << 557 << 558 If unsure, say "N". << 559 << 560 config MPROFILE_KERNEL << 561 depends on PPC64_ELF_ABI_V2 && FUNCTIO << 562 def_bool $(success,$(srctree)/arch/pow << 563 def_bool $(success,$(srctree)/arch/pow << 564 << 565 config ARCH_USING_PATCHABLE_FUNCTION_ENTRY << 566 depends on FUNCTION_TRACER && (PPC32 | << 567 depends on $(cc-option,-fpatchable-fun << 568 def_bool y if PPC32 << 569 def_bool $(success,$(srctree)/arch/pow << 570 def_bool $(success,$(srctree)/arch/pow << 571 << 572 config HOTPLUG_CPU << 573 bool "Support for enabling/disabling C << 574 depends on SMP && (PPC_PSERIES || \ << 575 PPC_PMAC || PPC_POWERNV || FSL << 576 help << 577 Say Y here to be able to disable and << 578 CPUs at runtime on SMP machines. << 579 << 580 Say N if you are unsure. << 581 << 582 config INTERRUPT_SANITIZE_REGISTERS << 583 bool "Clear gprs on interrupt arrival" << 584 depends on PPC64 && ARCH_HAS_SYSCALL_W << 585 default PPC_BOOK3E_64 || PPC_PSERIES | << 586 help << 587 Reduce the influence of user registe << 588 syscalls through clearing user state << 589 the exception. << 590 << 591 config PPC_QUEUED_SPINLOCKS << 592 bool "Queued spinlocks" if EXPERT << 593 depends on SMP << 594 default PPC_BOOK3S_64 << 595 help << 596 Say Y here to use queued spinlocks w << 597 fairness on large SMP and NUMA syste << 598 performance. << 599 << 600 config ARCH_CPU_PROBE_RELEASE << 601 def_bool y << 602 depends on HOTPLUG_CPU << 603 97 604 config PPC64_SUPPORTS_MEMORY_FAILURE !! 98 config PCMCIA 605 bool "Add support for memory hwpoison" !! 99 tristate 606 depends on PPC_BOOK3S_64 !! 100 ---help--- 607 default "y" if PPC_POWERNV !! 101 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux 608 select ARCH_SUPPORTS_MEMORY_FAILURE !! 102 computer. These are credit-card size devices such as network cards, >> 103 modems or hard drives often used with laptops computers. There are >> 104 actually two varieties of these cards: the older 16 bit PCMCIA cards >> 105 and the newer 32 bit CardBus cards. If you want to use CardBus >> 106 cards, you need to say Y here and also to "CardBus support" below. 609 107 610 config ARCH_SUPPORTS_KEXEC !! 108 To use your PC-cards, you will need supporting software from David 611 def_bool PPC_BOOK3S || PPC_E500 || (44 !! 109 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes> >> 110 for location). Please also read the PCMCIA-HOWTO, available from >> 111 <http://www.tldp.org/docs.html#howto>. 612 112 613 config ARCH_SUPPORTS_KEXEC_FILE !! 113 To compile this driver as modules, choose M here: the 614 def_bool PPC64 !! 114 modules will be called pcmcia_core and ds. 615 115 616 config ARCH_SUPPORTS_KEXEC_PURGATORY !! 116 config AMIGA 617 def_bool y !! 117 bool "Amiga support" 618 !! 118 select MMU_MOTOROLA if MMU 619 config ARCH_SELECTS_KEXEC_FILE << 620 def_bool y << 621 depends on KEXEC_FILE << 622 select KEXEC_ELF << 623 select HAVE_IMA_KEXEC if IMA << 624 << 625 config PPC64_BIG_ENDIAN_ELF_ABI_V2 << 626 # Option is available to BFD, but LLD << 627 # always true there. << 628 prompt "Build big-endian kernel using << 629 def_bool y << 630 depends on PPC64 && CPU_BIG_ENDIAN << 631 depends on CC_HAS_ELFV2 << 632 help 119 help 633 This builds the kernel image using t !! 120 This option enables support for the Amiga series of computers. If 634 V2 ABI Specification", which has a r !! 121 you plan to use this kernel on an Amiga, say Y here and browse the 635 function calls. This internal kernel !! 122 material available in <file:Documentation/m68k>; otherwise say N. 636 userspace compatibility. << 637 << 638 The V2 ABI is standard for 64-bit li << 639 it is less well tested by kernel and << 640 build userspace this way, and it can << 641 << 642 config RELOCATABLE << 643 bool "Build a relocatable kernel" << 644 depends on PPC64 || (FLATMEM && (44x | << 645 select NONSTATIC_KERNEL << 646 help << 647 This builds a kernel image that is c << 648 location the kernel is loaded at. Fo << 649 alignment restrictions, and this fea << 650 DYNAMIC_MEMSTART and hence overrides << 651 16k-aligned base address. The kernel << 652 position-independent executable (PIE << 653 which are processed early in the boo << 654 << 655 One use is for the kexec on panic ca << 656 must live at a different physical ad << 657 kernel. << 658 << 659 Note: If CONFIG_RELOCATABLE=y, then << 660 it has been loaded at and the compil << 661 CONFIG_PHYSICAL_START is ignored. H << 662 setting can still be useful to bootw << 663 load address of the kernel (eg. u-bo << 664 << 665 config RANDOMIZE_BASE << 666 bool "Randomize the address of the ker << 667 depends on PPC_85xx && FLATMEM << 668 depends on RELOCATABLE << 669 help << 670 Randomizes the virtual address at wh << 671 loaded, as a security feature that d << 672 relying on knowledge of the location << 673 << 674 If unsure, say Y. << 675 << 676 config RELOCATABLE_TEST << 677 bool "Test relocatable kernel" << 678 depends on (PPC64 && RELOCATABLE) << 679 help << 680 This runs the relocatable kernel at << 681 loaded at, which tends to be non-zer << 682 relocation code. << 683 123 684 config ARCH_SUPPORTS_CRASH_DUMP !! 124 config ATARI 685 def_bool PPC64 || PPC_BOOK3S_32 || PPC !! 125 bool "Atari support" >> 126 select MMU_MOTOROLA if MMU >> 127 help >> 128 This option enables support for the 68000-based Atari series of >> 129 computers (including the TT, Falcon and Medusa). If you plan to use >> 130 this kernel on an Atari, say Y here and browse the material >> 131 available in <file:Documentation/m68k>; otherwise say N. 686 132 687 config ARCH_SELECTS_CRASH_DUMP !! 133 config MAC 688 def_bool y !! 134 bool "Macintosh support" 689 depends on CRASH_DUMP !! 135 select MMU_MOTOROLA if MMU 690 select RELOCATABLE if PPC64 || 44x || !! 136 help >> 137 This option enables support for the Apple Macintosh series of >> 138 computers (yes, there is experimental support now, at least for part >> 139 of the series). 691 140 692 config ARCH_SUPPORTS_CRASH_HOTPLUG !! 141 Say N unless you're willing to code the remaining necessary support. 693 def_bool y !! 142 ;) 694 depends on PPC64 << 695 143 696 config FA_DUMP !! 144 config NUBUS 697 bool "Firmware-assisted dump" !! 145 bool 698 depends on CRASH_DUMP && PPC64 && (PPC !! 146 depends on MAC 699 help !! 147 default y 700 A robust mechanism to get reliable k << 701 assistance from firmware. This appro << 702 instead firmware assists in booting << 703 while preserving memory contents. Fi << 704 is meant to be a kdump replacement o << 705 speed not possible without system fi << 706 << 707 If unsure, say "y". Only special ker << 708 need to say "N" here. << 709 << 710 config PRESERVE_FA_DUMP << 711 bool "Preserve Firmware-assisted dump" << 712 depends on PPC64 && PPC_POWERNV && !FA << 713 help << 714 On a kernel with FA_DUMP disabled, t << 715 crash data from a previously crash'e << 716 memory preserving kernel boot would << 717 Petitboot kernel is the typical usec << 718 << 719 config OPAL_CORE << 720 bool "Export OPAL memory as /sys/firmw << 721 depends on PPC64 && PPC_POWERNV << 722 help << 723 This option uses the MPIPL support i << 724 ELF core of OPAL memory after a cras << 725 as /sys/firmware/opal/core file whic << 726 OPAL crashes using GDB. << 727 << 728 config IRQ_ALL_CPUS << 729 bool "Distribute interrupts on all CPU << 730 depends on SMP << 731 help << 732 This option gives the kernel permiss << 733 multiple CPUs. Saying N here will r << 734 CPU. Generally saying Y is safe, al << 735 reported with SMP Power Macintoshes << 736 << 737 config NUMA << 738 bool "NUMA Memory Allocation and Sched << 739 depends on PPC64 && SMP << 740 default y if PPC_PSERIES || PPC_POWERN << 741 select USE_PERCPU_NUMA_NODE_ID << 742 help << 743 Enable NUMA (Non-Uniform Memory Acce << 744 << 745 The kernel will try to allocate memo << 746 local memory controller of the CPU a << 747 NUMA awareness to the kernel. << 748 148 749 config NODES_SHIFT !! 149 config M68K_L2_CACHE 750 int !! 150 bool 751 default "8" if PPC64 !! 151 depends on MAC 752 default "4" !! 152 default y 753 depends on NUMA << 754 153 755 config HAVE_MEMORYLESS_NODES !! 154 config APOLLO 756 def_bool y !! 155 bool "Apollo support" 757 depends on NUMA !! 156 select MMU_MOTOROLA if MMU >> 157 help >> 158 Say Y here if you want to run Linux on an MC680x0-based Apollo >> 159 Domain workstation such as the DN3500. 758 160 759 config ARCH_SELECT_MEMORY_MODEL !! 161 config VME 760 def_bool y !! 162 bool "VME (Motorola and BVM) support" 761 depends on PPC64 !! 163 select MMU_MOTOROLA if MMU >> 164 help >> 165 Say Y here if you want to build a kernel for a 680x0 based VME >> 166 board. Boards currently supported include Motorola boards MVME147, >> 167 MVME162, MVME166, MVME167, MVME172, and MVME177. BVME4000 and >> 168 BVME6000 boards from BVM Ltd are also supported. 762 169 763 config ARCH_FLATMEM_ENABLE !! 170 config MVME147 764 def_bool y !! 171 bool "MVME147 support" 765 depends on (PPC64 && !NUMA) || PPC32 !! 172 depends on VME >> 173 help >> 174 Say Y to include support for early Motorola VME boards. This will >> 175 build a kernel which can run on MVME147 single-board computers. If >> 176 you select this option you will have to select the appropriate >> 177 drivers for SCSI, Ethernet and serial ports later on. 766 178 767 config ARCH_SPARSEMEM_ENABLE !! 179 config MVME16x 768 def_bool y !! 180 bool "MVME162, 166 and 167 support" 769 depends on PPC64 !! 181 depends on VME 770 select SPARSEMEM_VMEMMAP_ENABLE !! 182 help >> 183 Say Y to include support for Motorola VME boards. This will build a >> 184 kernel which can run on MVME162, MVME166, MVME167, MVME172, and >> 185 MVME177 boards. If you select this option you will have to select >> 186 the appropriate drivers for SCSI, Ethernet and serial ports later >> 187 on. 771 188 772 config ARCH_SPARSEMEM_DEFAULT !! 189 config BVME6000 773 def_bool y !! 190 bool "BVME4000 and BVME6000 support" 774 depends on PPC_BOOK3S_64 !! 191 depends on VME >> 192 help >> 193 Say Y to include support for VME boards from BVM Ltd. This will >> 194 build a kernel which can run on BVME4000 and BVME6000 boards. If >> 195 you select this option you will have to select the appropriate >> 196 drivers for SCSI, Ethernet and serial ports later on. 775 197 776 config ILLEGAL_POINTER_VALUE !! 198 config HP300 777 hex !! 199 bool "HP9000/300 and HP9000/400 support" 778 # This is roughly half way between the !! 200 select MMU_MOTOROLA if MMU 779 # of kernel space, which seems about a !! 201 help 780 default 0x5deadbeef0000000 if PPC64 !! 202 This option enables support for the HP9000/300 and HP9000/400 series 781 default 0 !! 203 of workstations. Support for these machines is still somewhat >> 204 experimental. If you plan to try to use the kernel on such a machine >> 205 say Y here. >> 206 Everybody else says N. 782 207 783 config ARCH_MEMORY_PROBE !! 208 config DIO 784 def_bool y !! 209 bool "DIO bus support" 785 depends on MEMORY_HOTPLUG !! 210 depends on HP300 >> 211 default y >> 212 help >> 213 Say Y here to enable support for the "DIO" expansion bus used in >> 214 HP300 machines. If you are using such a system you almost certainly >> 215 want this. 786 216 787 choice !! 217 config SUN3X 788 prompt "Page size" !! 218 bool "Sun3x support" 789 default PPC_64K_PAGES if PPC_BOOK3S_64 !! 219 select MMU_MOTOROLA if MMU 790 default PPC_4K_PAGES !! 220 select M68030 791 help !! 221 help 792 Select the kernel logical page size. !! 222 This option enables support for the Sun 3x series of workstations. 793 will reduce software overhead at eac !! 223 Be warned that this support is very experimental. 794 hardware prefetch mechanisms to be m !! 224 Note that Sun 3x kernels are not compatible with Sun 3 hardware. 795 larger dma transfers increasing IO e !! 225 General Linux information on the Sun 3x series (now discontinued) 796 overhead. However the utilization of !! 226 is at <http://www.angelfire.com/ca2/tech68k/sun3.html>. 797 For example, each cached file will u << 798 page size to hold its contents and t << 799 end of file and the end of page is w << 800 << 801 Some dedicated systems, such as soft << 802 accelerated calculations, have shown << 803 << 804 If you configure a 64 bit kernel for << 805 processor does not support them, the << 806 them with 4k pages, loading them on << 807 reduced software overhead and larger << 808 For the 32 bit kernel, a large page << 809 unless it is supported by the config << 810 << 811 If unsure, choose 4K_PAGES. << 812 << 813 config PPC_4K_PAGES << 814 bool "4k page size" << 815 select HAVE_ARCH_SOFT_DIRTY if PPC_BOO << 816 select HAVE_PAGE_SIZE_4KB << 817 << 818 config PPC_16K_PAGES << 819 bool "16k page size" << 820 depends on 44x || PPC_8xx << 821 select HAVE_PAGE_SIZE_16KB << 822 << 823 config PPC_64K_PAGES << 824 bool "64k page size" << 825 depends on 44x || PPC_BOOK3S_64 << 826 select HAVE_ARCH_SOFT_DIRTY if PPC_BOO << 827 select HAVE_PAGE_SIZE_64KB << 828 << 829 config PPC_256K_PAGES << 830 bool "256k page size (Requires non-sta << 831 depends on 44x && !PPC_47x << 832 select HAVE_PAGE_SIZE_256KB << 833 help << 834 Make the page size 256k. << 835 << 836 The kernel will only be able to run << 837 compiled with '-zmax-page-size' set << 838 binutils later than 2.17.50.0.3, or << 839 definition from 0x10000 to 0x40000 i << 840 << 841 endchoice << 842 << 843 config THREAD_SHIFT << 844 int "Thread shift" if EXPERT << 845 range 13 15 << 846 default "15" if PPC_256K_PAGES << 847 default "15" if PPC_PSERIES || PPC_POW << 848 default "14" if PPC64 << 849 default "13" << 850 help << 851 Used to define the stack size. The d << 852 want. Only change this if you know w << 853 << 854 config DATA_SHIFT_BOOL << 855 bool "Set custom data alignment" << 856 depends on ADVANCED_OPTIONS << 857 depends on STRICT_KERNEL_RWX || DEBUG_ << 858 depends on (PPC_8xx && !PIN_TLB_DATA & << 859 PPC_BOOK3S_32 || PPC_85xx << 860 help << 861 This option allows you to set the ke << 862 RAM is mapped by blocks, the alignme << 863 number of possible blocks. The defau << 864 << 865 Say N here unless you know what you << 866 << 867 config DATA_SHIFT << 868 int "Data shift" if DATA_SHIFT_BOOL << 869 default 24 if STRICT_KERNEL_RWX && PPC << 870 range 17 28 if (STRICT_KERNEL_RWX || D << 871 range 19 23 if (STRICT_KERNEL_RWX || D << 872 range 20 24 if (STRICT_KERNEL_RWX || D << 873 default 22 if STRICT_KERNEL_RWX && PPC << 874 default 18 if (DEBUG_PAGEALLOC || KFEN << 875 default 23 if (STRICT_KERNEL_RWX || DE << 876 (PIN_TLB_DATA || PIN_TLB << 877 default 19 if (STRICT_KERNEL_RWX || DE << 878 default 24 if STRICT_KERNEL_RWX && PPC << 879 default PAGE_SHIFT << 880 help << 881 On Book3S 32 (603+), DBATs are used << 882 Smaller is the alignment, greater is << 883 << 884 On 8xx, large pages (512kb or 8M) ar << 885 memory. Aligning to 8M reduces TLB m << 886 in that case. If PIN_TLB is selected << 887 8M pages will be pinned. << 888 << 889 config ARCH_FORCE_MAX_ORDER << 890 int "Order of maximal physically conti << 891 range 7 8 if PPC64 && PPC_64K_PAGES << 892 default "8" if PPC64 && PPC_64K_PAGES << 893 range 12 12 if PPC64 && !PPC_64K_PAGES << 894 default "12" if PPC64 && !PPC_64K_PAGE << 895 range 8 10 if PPC32 && PPC_16K_PAGES << 896 default "8" if PPC32 && PPC_16K_PAGES << 897 range 6 10 if PPC32 && PPC_64K_PAGES << 898 default "6" if PPC32 && PPC_64K_PAGES << 899 range 4 10 if PPC32 && PPC_256K_PAGES << 900 default "4" if PPC32 && PPC_256K_PAGES << 901 range 10 12 << 902 default "10" << 903 help << 904 The kernel page allocator limits the << 905 contiguous allocations. The limit is << 906 defines the maximal power of two of << 907 allocated as a single contiguous blo << 908 overriding the default setting when << 909 large blocks of physically contiguou << 910 << 911 The page size is not necessarily 4KB << 912 systems, 64KB pages can be enabled v << 913 this in mind when choosing a value f << 914 227 915 Don't change if unsure. !! 228 If you don't want to compile a kernel for a Sun 3x, say N. 916 229 917 config PPC_SUBPAGE_PROT !! 230 config Q40 918 bool "Support setting protections for !! 231 bool "Q40/Q60 support" 919 default n !! 232 select MMU_MOTOROLA if MMU 920 depends on PPC_64S_HASH_MMU && PPC_64K << 921 help 233 help 922 This option adds support for system !! 234 The Q40 is a Motorola 68040-based successor to the Sinclair QL 923 to set access permissions (read/writ !! 235 manufactured in Germany. There is an official Q40 home page at 924 on the 4k subpages of each 64k page. !! 236 <http://www.q40.de/>. This option enables support for the Q40 and 925 !! 237 Q60. Select your CPU below. For 68LC060 don't forget to enable FPU 926 If unsure, say N here. !! 238 emulation. 927 239 928 config PPC_PROT_SAO_LPAR !! 240 config SUN3 929 bool "Support PROT_SAO mappings in LPA !! 241 bool "Sun3 support" 930 depends on PPC_BOOK3S_64 !! 242 depends on !MMU_MOTOROLA >> 243 select MMU_SUN3 if MMU >> 244 select M68020 931 help 245 help 932 This option adds support for PROT_SA !! 246 This option enables support for the Sun 3 series of workstations 933 inside LPARs on supported CPUs. !! 247 (3/50, 3/60, 3/1xx, 3/2xx systems). Enabling this option requires >> 248 that all other hardware types must be disabled, as Sun 3 kernels >> 249 are incompatible with all other m68k targets (including Sun 3x!). 934 250 935 This may cause issues when performin !! 251 If you don't want to compile a kernel exclusively for a Sun 3, say N. 936 a CPU that supports SAO to one that << 937 252 938 If unsure, say N here. !! 253 comment "Processor type" 939 254 940 config PPC_COPRO_BASE !! 255 config M68020 941 bool !! 256 bool "68020 support" >> 257 help >> 258 If you anticipate running this kernel on a computer with a MC68020 >> 259 processor, say Y. Otherwise, say N. Note that the 68020 requires a >> 260 68851 MMU (Memory Management Unit) to run Linux/m68k, except on the >> 261 Sun 3, which provides its own version. 942 262 943 config SCHED_SMT !! 263 config M68030 944 bool "SMT (Hyperthreading) scheduler s !! 264 bool "68030 support" 945 depends on PPC64 && SMP !! 265 depends on !MMU_SUN3 946 help 266 help 947 SMT scheduler support improves the C !! 267 If you anticipate running this kernel on a computer with a MC68030 948 when dealing with POWER5 cpus at a c !! 268 processor, say Y. Otherwise, say N. Note that a MC68EC030 will not 949 overhead in some places. If unsure s !! 269 work, as it does not include an MMU (Memory Management Unit). 950 270 951 config PPC_DENORMALISATION !! 271 config M68040 952 bool "PowerPC denormalisation exceptio !! 272 bool "68040 support" 953 depends on PPC_BOOK3S_64 !! 273 depends on !MMU_SUN3 954 default "y" if PPC_POWERNV << 955 help 274 help 956 Add support for handling denormalisa !! 275 If you anticipate running this kernel on a computer with a MC68LC040 957 values. Useful for bare metal only. !! 276 or MC68040 processor, say Y. Otherwise, say N. Note that an >> 277 MC68EC040 will not work, as it does not include an MMU (Memory >> 278 Management Unit). 958 279 959 config CMDLINE !! 280 config M68060 960 string "Initial kernel command string" !! 281 bool "68060 support" 961 default "" !! 282 depends on !MMU_SUN3 962 help 283 help 963 On some platforms, there is currentl !! 284 If you anticipate running this kernel on a computer with a MC68060 964 pass arguments to the kernel. For th !! 285 processor, say Y. Otherwise, say N. 965 some command-line options at build t << 966 most cases you will need to specify << 967 286 968 choice !! 287 config MMU_MOTOROLA 969 prompt "Kernel command line type" !! 288 bool 970 depends on CMDLINE != "" << 971 default CMDLINE_FROM_BOOTLOADER << 972 289 973 config CMDLINE_FROM_BOOTLOADER !! 290 config MMU_SUN3 974 bool "Use bootloader kernel arguments !! 291 bool 975 help !! 292 depends on MMU && !MMU_MOTOROLA 976 Uses the command-line options passed << 977 the boot loader doesn't provide any, << 978 string provided in CMDLINE will be u << 979 293 980 config CMDLINE_EXTEND !! 294 config M68KFPU_EMU 981 bool "Extend bootloader kernel argumen !! 295 bool "Math emulation support (EXPERIMENTAL)" >> 296 depends on EXPERIMENTAL 982 help 297 help 983 The command-line arguments provided !! 298 At some point in the future, this will cause floating-point math 984 appended to the default kernel comma !! 299 instructions to be emulated by the kernel on machines that lack a >> 300 floating-point math coprocessor. Thrill-seekers and chronically >> 301 sleep-deprived psychotic hacker types can say Y now, everyone else >> 302 should probably wait a while. 985 303 986 config CMDLINE_FORCE !! 304 config M68KFPU_EMU_EXTRAPREC 987 bool "Always use the default kernel co !! 305 bool "Math emulation extra precision" >> 306 depends on M68KFPU_EMU 988 help 307 help 989 Always use the default kernel comman !! 308 The fpu uses normally a few bit more during calculations for 990 loader passes other arguments to the !! 309 correct rounding, the emulator can (often) do the same but this 991 This is useful if you cannot or don' !! 310 extra calculation can cost quite some time, so you can disable 992 command-line options your boot loade !! 311 it here. The emulator will then "only" calculate with a 64 bit >> 312 mantissa and round slightly incorrect, what is more than enough >> 313 for normal usage. 993 314 994 endchoice !! 315 config M68KFPU_EMU_ONLY 995 !! 316 bool "Math emulation only kernel" 996 config EXTRA_TARGETS !! 317 depends on M68KFPU_EMU 997 string "Additional default image types << 998 help 318 help 999 List additional targets to be built !! 319 This option prevents any floating-point instructions from being 1000 by spaces). This is useful for tar !! 320 compiled into the kernel, thereby the kernel doesn't save any 1001 files in the .dts directory. !! 321 floating point context anymore during task switches, so this >> 322 kernel will only be usable on machines without a floating-point >> 323 math coprocessor. This makes the kernel a bit faster as no tests >> 324 needs to be executed whether a floating-point instruction in the >> 325 kernel should be executed or not. 1002 326 1003 Targets in this list will be build !! 327 config ADVANCED 1004 target, or when the user does a 'ma !! 328 bool "Advanced configuration options" 1005 'make zImage.initrd'. !! 329 ---help--- >> 330 This gives you access to some advanced options for the CPU. The >> 331 defaults should be fine for most users, but these options may make >> 332 it possible for you to improve performance somewhat if you know what >> 333 you are doing. 1006 334 1007 If unsure, leave blank !! 335 Note that the answer to this question won't directly affect the >> 336 kernel: saying N will just cause the configurator to skip all >> 337 the questions about these options. 1008 338 1009 config ARCH_WANTS_FREEZER_CONTROL !! 339 Most users should say N to this question. 1010 def_bool y << 1011 depends on ADB_PMU << 1012 340 1013 source "kernel/power/Kconfig" !! 341 config RMW_INSNS >> 342 bool "Use read-modify-write instructions" >> 343 depends on ADVANCED >> 344 ---help--- >> 345 This allows to use certain instructions that work with indivisible >> 346 read-modify-write bus cycles. While this is faster than the >> 347 workaround of disabling interrupts, it can conflict with DMA >> 348 ( = direct memory access) on many Amiga systems, and it is also said >> 349 to destabilize other machines. It is very likely that this will >> 350 cause serious problems on any Amiga or Atari Medusa if set. The only >> 351 configuration where it should work are 68030-based Ataris, where it >> 352 apparently improves performance. But you've been warned! Unless you >> 353 really know what you are doing, say N. Try Y only if you're quite >> 354 adventurous. 1014 355 1015 config PPC_MEM_KEYS !! 356 config SINGLE_MEMORY_CHUNK 1016 prompt "PowerPC Memory Protection Key !! 357 bool "Use one physical chunk of memory only" if ADVANCED && !SUN3 1017 def_bool y !! 358 default y if SUN3 1018 depends on PPC_BOOK3S_64 !! 359 select NEED_MULTIPLE_NODES 1019 depends on PPC_64S_HASH_MMU << 1020 select ARCH_USES_HIGH_VMA_FLAGS << 1021 select ARCH_HAS_PKEYS << 1022 help 360 help 1023 Memory Protection Keys provides a m !! 361 Ignore all but the first contiguous chunk of physical memory for VM 1024 page-based protections, but without !! 362 purposes. This will save a few bytes kernel size and may speed up 1025 page tables when an application cha !! 363 some operations. Say N if not sure. 1026 364 1027 For details, see Documentation/core !! 365 config 060_WRITETHROUGH >> 366 bool "Use write-through caching for 68060 supervisor accesses" >> 367 depends on ADVANCED && M68060 >> 368 ---help--- >> 369 The 68060 generally uses copyback caching of recently accessed data. >> 370 Copyback caching means that memory writes will be held in an on-chip >> 371 cache and only written back to memory some time later. Saying Y >> 372 here will force supervisor (kernel) accesses to use writethrough >> 373 caching. Writethrough caching means that data is written to memory >> 374 straight away, so that cache and memory data always agree. >> 375 Writethrough caching is less efficient, but is needed for some >> 376 drivers on 68060 based systems where the 68060 bus snooping signal >> 377 is hardwired on. The 53c710 SCSI driver is known to suffer from >> 378 this problem. 1028 379 1029 If unsure, say y. !! 380 config ARCH_DISCONTIGMEM_ENABLE >> 381 def_bool !SINGLE_MEMORY_CHUNK 1030 382 1031 config ARCH_PKEY_BITS !! 383 config NODES_SHIFT 1032 int 384 int 1033 default 5 !! 385 default "3" 1034 !! 386 depends on !SINGLE_MEMORY_CHUNK 1035 config PPC_SECURE_BOOT << 1036 prompt "Enable secure boot support" << 1037 bool << 1038 depends on PPC_POWERNV || PPC_PSERIES << 1039 depends on IMA_ARCH_POLICY << 1040 imply IMA_SECURE_AND_OR_TRUSTED_BOOT << 1041 select PSERIES_PLPKS if PPC_PSERIES << 1042 help << 1043 Systems with firmware secure boot e << 1044 policies to extend secure boot to t << 1045 to enable OS secure boot on systems << 1046 it. If in doubt say N. << 1047 387 1048 config PPC_SECVAR_SYSFS !! 388 source "mm/Kconfig" 1049 bool "Enable sysfs interface for POWE << 1050 default y << 1051 depends on PPC_SECURE_BOOT << 1052 depends on SYSFS << 1053 help << 1054 POWER secure variables are managed << 1055 These variables are exposed to user << 1056 read/write operations on these vari << 1057 secure boot enabled and want to exp << 1058 389 1059 endmenu 390 endmenu 1060 391 1061 config ISA_DMA_API !! 392 menu "General setup" 1062 bool << 1063 default PCI << 1064 393 1065 menu "Bus options" !! 394 source "fs/Kconfig.binfmt" >> 395 >> 396 config ZORRO >> 397 bool "Amiga Zorro (AutoConfig) bus support" >> 398 depends on AMIGA >> 399 help >> 400 This enables support for the Zorro bus in the Amiga. If you have >> 401 expansion cards in your Amiga that conform to the Amiga >> 402 AutoConfig(tm) specification, say Y, otherwise N. Note that even >> 403 expansion cards that do not fit in the Zorro slots but fit in e.g. >> 404 the CPU slot may fall in this category, so you have to say Y to let >> 405 Linux use these. >> 406 >> 407 config AMIGA_PCMCIA >> 408 bool "Amiga 1200/600 PCMCIA support (EXPERIMENTAL)" >> 409 depends on AMIGA && EXPERIMENTAL >> 410 help >> 411 Include support in the kernel for pcmcia on Amiga 1200 and Amiga >> 412 600. If you intend to use pcmcia cards say Y; otherwise say N. >> 413 >> 414 config STRAM_PROC >> 415 bool "ST-RAM statistics in /proc" >> 416 depends on ATARI >> 417 help >> 418 Say Y here to report ST-RAM usage statistics in /proc/stram. >> 419 >> 420 config HEARTBEAT >> 421 bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40 >> 422 default y if !AMIGA && !APOLLO && !ATARI && !MAC && !Q40 && HP300 >> 423 help >> 424 Use the power-on LED on your machine as a load meter. The exact >> 425 behavior is platform-dependent, but normally the flash frequency is >> 426 a hyperbolic function of the 5-minute load average. >> 427 >> 428 # We have a dedicated heartbeat LED. :-) >> 429 config PROC_HARDWARE >> 430 bool "/proc/hardware support" >> 431 help >> 432 Say Y here to support the /proc/hardware file, which gives you >> 433 access to information about the machine you're running on, >> 434 including the model, CPU, MMU, clock speed, BogoMIPS rating, >> 435 and memory size. 1066 436 1067 config ISA 437 config ISA 1068 bool "Support for ISA-bus hardware" !! 438 bool 1069 depends on PPC_CHRP !! 439 depends on Q40 || AMIGA_PCMCIA || GG2 1070 select PPC_I8259 !! 440 default y 1071 help 441 help 1072 Find out whether you have ISA slots 442 Find out whether you have ISA slots on your motherboard. ISA is the 1073 name of a bus system, i.e. the way 443 name of a bus system, i.e. the way the CPU talks to the other stuff 1074 inside your box. If you have an Ap !! 444 inside your box. Other bus systems are PCI, EISA, MicroChannel 1075 have an IBM RS/6000 or pSeries mach !! 445 (MCA) or VESA. ISA is an older system, now being displaced by PCI; 1076 embedded board, consult your board !! 446 newer boards don't support it. If you have ISA, say Y, otherwise N. 1077 447 1078 config GENERIC_ISA_DMA 448 config GENERIC_ISA_DMA 1079 bool 449 bool 1080 depends on ISA_DMA_API !! 450 depends on Q40 || AMIGA_PCMCIA || GG2 1081 default y 451 default y 1082 452 1083 config PPC_INDIRECT_PCI !! 453 config ZONE_DMA 1084 bool 454 bool 1085 depends on PCI !! 455 default y 1086 default y if 44x << 1087 456 1088 config SBUS !! 457 source "drivers/pci/Kconfig" 1089 bool << 1090 458 1091 config FSL_SOC !! 459 source "drivers/zorro/Kconfig" 1092 bool << 1093 460 1094 config FSL_PCI !! 461 endmenu 1095 bool << 1096 select ARCH_HAS_DMA_SET_MASK << 1097 select PPC_INDIRECT_PCI << 1098 select PCI_QUIRKS << 1099 462 1100 config FSL_PMC !! 463 source "net/Kconfig" 1101 bool << 1102 default y << 1103 depends on SUSPEND && (PPC_85xx || PP << 1104 help << 1105 Freescale MPC85xx/MPC86xx power man << 1106 (suspend/resume). For MPC83xx see p << 1107 464 1108 config PPC4xx_CPM !! 465 source "drivers/Kconfig" 1109 bool << 1110 default y << 1111 depends on SUSPEND && 44x << 1112 help << 1113 PPC4xx Clock Power Management (CPM) << 1114 It also enables support for two dif << 1115 and idle-doze). << 1116 466 1117 config FSL_LBC !! 467 menu "Character devices" 1118 bool "Freescale Local Bus support" << 1119 help << 1120 Enables reporting of errors from th << 1121 controller. Also contains some com << 1122 drivers for specific local bus peri << 1123 468 1124 config FSL_GTM !! 469 config ATARI_MFPSER 1125 bool !! 470 tristate "Atari MFP serial support" 1126 depends on PPC_83xx || QUICC_ENGINE | !! 471 depends on ATARI 1127 help !! 472 ---help--- 1128 Freescale General-purpose Timers su !! 473 If you like to use the MFP serial ports ("Modem1", "Serial1") under >> 474 Linux, say Y. The driver equally supports all kinds of MFP serial >> 475 ports and automatically detects whether Serial1 is available. 1129 476 1130 config FSL_RIO !! 477 To compile this driver as a module, choose M here. 1131 bool "Freescale Embedded SRIO Control << 1132 depends on RAPIDIO = y && HAVE_RAPIDI << 1133 default "n" << 1134 help << 1135 Include support for RapidIO control << 1136 processors (MPC8548, MPC8641, etc). << 1137 478 1138 endmenu !! 479 Note for Falcon users: You also have an MFP port, it's just not >> 480 wired to the outside... But you could use the port under Linux. 1139 481 1140 config NONSTATIC_KERNEL !! 482 config ATARI_MIDI 1141 bool !! 483 tristate "Atari MIDI serial support" >> 484 depends on ATARI >> 485 help >> 486 If you want to use your Atari's MIDI port in Linux, say Y. 1142 487 1143 menu "Advanced setup" !! 488 To compile this driver as a module, choose M here. 1144 depends on PPC32 << 1145 489 1146 config ADVANCED_OPTIONS !! 490 config ATARI_DSP56K 1147 bool "Prompt for advanced kernel conf !! 491 tristate "Atari DSP56k support (EXPERIMENTAL)" >> 492 depends on ATARI && EXPERIMENTAL 1148 help 493 help 1149 This option will enable prompting f !! 494 If you want to be able to use the DSP56001 in Falcons, say Y. This 1150 configuration options. These optio !! 495 driver is still experimental, and if you don't know what it is, or 1151 work if they are set incorrectly, b !! 496 if you don't have this processor, just say N. 1152 aspects of kernel memory management << 1153 497 1154 Unless you know what you are doing, !! 498 To compile this driver as a module, choose M here. 1155 499 1156 comment "Default settings for advanced config !! 500 config AMIGA_BUILTIN_SERIAL 1157 depends on !ADVANCED_OPTIONS !! 501 tristate "Amiga builtin serial support" 1158 !! 502 depends on AMIGA 1159 config LOWMEM_SIZE_BOOL << 1160 bool "Set maximum low memory" << 1161 depends on ADVANCED_OPTIONS << 1162 help 503 help 1163 This option allows you to set the m !! 504 If you want to use your Amiga's built-in serial port in Linux, 1164 will be used as "low memory", that !! 505 answer Y. 1165 access directly, without having to << 1166 This can be useful in optimizing th << 1167 memory. << 1168 << 1169 Say N here unless you know what you << 1170 506 1171 config LOWMEM_SIZE !! 507 To compile this driver as a module, choose M here. 1172 hex "Maximum low memory size (in byte << 1173 default "0x30000000" << 1174 508 1175 config LOWMEM_CAM_NUM_BOOL !! 509 config MULTIFACE_III_TTY 1176 bool "Set number of CAMs to use to ma !! 510 tristate "Multiface Card III serial support" 1177 depends on ADVANCED_OPTIONS && PPC_85 !! 511 depends on AMIGA 1178 help 512 help 1179 This option allows you to set the m !! 513 If you want to use a Multiface III card's serial port in Linux, 1180 will be used to map low memory. Th !! 514 answer Y. 1181 available and even more limited num << 1182 However, using more entries will al << 1183 can be useful in optimizing the lay << 1184 << 1185 Say N here unless you know what you << 1186 515 1187 config LOWMEM_CAM_NUM !! 516 To compile this driver as a module, choose M here. 1188 depends on PPC_85xx << 1189 int "Number of CAMs to use to map low << 1190 default 3 if !STRICT_KERNEL_RWX << 1191 default 9 if DATA_SHIFT >= 24 << 1192 default 12 if DATA_SHIFT >= 22 << 1193 default 15 << 1194 517 1195 config DYNAMIC_MEMSTART !! 518 config GVPIOEXT 1196 bool "Enable page aligned dynamic loa !! 519 tristate "GVP IO-Extender support" 1197 depends on ADVANCED_OPTIONS && FLATME !! 520 depends on PARPORT=n && ZORRO 1198 select NONSTATIC_KERNEL << 1199 help 521 help 1200 This option enables the kernel to b !! 522 If you want to use a GVP IO-Extender serial card in Linux, say Y. 1201 physical address. The kernel create !! 523 Otherwise, say N. 1202 the address where the kernel is loa << 1203 the TLB page size of the mapping fo << 1204 Please refer to the init code for f << 1205 524 1206 DYNAMIC_MEMSTART is an easy way of !! 525 config GVPIOEXT_LP 1207 kernel image, where the only restri !! 526 tristate "GVP IO-Extender parallel printer support" 1208 load address. When this option is e !! 527 depends on GVPIOEXT 1209 address CONFIG_PHYSICAL_START is ig !! 528 help 1210 !! 529 Say Y to enable driving a printer from the parallel port on your 1211 This option is overridden by CONFIG !! 530 GVP IO-Extender card, N otherwise. 1212 531 1213 config PAGE_OFFSET_BOOL !! 532 config GVPIOEXT_PLIP 1214 bool "Set custom page offset address" !! 533 tristate "GVP IO-Extender PLIP support" 1215 depends on ADVANCED_OPTIONS !! 534 depends on GVPIOEXT 1216 help 535 help 1217 This option allows you to set the k !! 536 Say Y to enable doing IP over the parallel port on your GVP 1218 the kernel will map low memory. Th !! 537 IO-Extender card, N otherwise. 1219 the virtual memory layout of the sy << 1220 538 1221 Say N here unless you know what you !! 539 config MAC_SCC >> 540 tristate "Macintosh serial support" >> 541 depends on MAC 1222 542 1223 config PAGE_OFFSET !! 543 config MAC_HID 1224 hex "Virtual address of memory base" !! 544 bool 1225 default "0xc0000000" !! 545 depends on INPUT_ADBHID >> 546 default y 1226 547 1227 config KERNEL_START_BOOL !! 548 config HPDCA 1228 bool "Set custom kernel base address" !! 549 tristate "HP DCA serial support" 1229 depends on ADVANCED_OPTIONS !! 550 depends on DIO && SERIAL_8250 1230 help 551 help 1231 This option allows you to set the k !! 552 If you want to use the internal "DCA" serial ports on an HP300 1232 the kernel will be loaded. Normall !! 553 machine, say Y here. 1233 however there are times (like kdump << 1234 to be the same. << 1235 << 1236 Say N here unless you know what you << 1237 554 1238 config KERNEL_START !! 555 config HPAPCI 1239 hex "Virtual address of kernel base" !! 556 tristate "HP APCI serial support" 1240 default PAGE_OFFSET if PAGE_OFFSET_BO !! 557 depends on HP300 && SERIAL_8250 && EXPERIMENTAL 1241 default "0xc2000000" if CRASH_DUMP && << 1242 default "0xc0000000" << 1243 << 1244 config PHYSICAL_START_BOOL << 1245 bool "Set physical address where the << 1246 depends on ADVANCED_OPTIONS && FLATME << 1247 help 558 help 1248 This gives the physical address whe !! 559 If you want to use the internal "APCI" serial ports on an HP400 >> 560 machine, say Y here. 1249 561 1250 Say N here unless you know what you !! 562 config MVME147_SCC >> 563 bool "SCC support for MVME147 serial ports" >> 564 depends on MVME147 && BROKEN >> 565 help >> 566 This is the driver for the serial ports on the Motorola MVME147 >> 567 boards. Everyone using one of these boards should say Y here. 1251 568 1252 config PHYSICAL_START !! 569 config SERIAL167 1253 hex "Physical address where the kerne !! 570 bool "CD2401 support for MVME166/7 serial ports" 1254 default "0x02000000" if PPC_BOOK3S && !! 571 depends on MVME16x 1255 default "0x00000000" !! 572 help >> 573 This is the driver for the serial ports on the Motorola MVME166, >> 574 167, and 172 boards. Everyone using one of these boards should say >> 575 Y here. 1256 576 1257 config PHYSICAL_ALIGN !! 577 config MVME162_SCC 1258 hex !! 578 bool "SCC support for MVME162 serial ports" 1259 default "0x04000000" if PPC_85xx !! 579 depends on MVME16x && BROKEN 1260 help 580 help 1261 This value puts the alignment restr !! 581 This is the driver for the serial ports on the Motorola MVME162 and 1262 where kernel is loaded and run from !! 582 172 boards. Everyone using one of these boards should say Y here. 1263 address which meets above alignment << 1264 583 1265 config TASK_SIZE_BOOL !! 584 config BVME6000_SCC 1266 bool "Set custom user task size" !! 585 bool "SCC support for BVME6000 serial ports" 1267 depends on ADVANCED_OPTIONS !! 586 depends on BVME6000 && BROKEN 1268 help 587 help 1269 This option allows you to set the a !! 588 This is the driver for the serial ports on the BVME4000 and BVME6000 1270 allocated to user tasks. This can !! 589 boards from BVM Ltd. Everyone using one of these boards should say 1271 virtual memory layout of the system !! 590 Y here. 1272 591 1273 Say N here unless you know what you !! 592 config DN_SERIAL >> 593 bool "Support for DN serial port (dummy)" >> 594 depends on APOLLO 1274 595 1275 config TASK_SIZE !! 596 config SERIAL_CONSOLE 1276 hex "Size of user task space" if TASK !! 597 bool "Support for serial port console" 1277 default "0x80000000" if PPC_8xx !! 598 depends on (AMIGA || ATARI || MAC || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_MIDI=y || MAC_SCC=y || AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y || SERIAL=y || MVME147_SCC || SERIAL167 || MVME162_SCC || BVME6000_SCC || DN_SERIAL) 1278 default "0xb0000000" if PPC_BOOK3S_32 !! 599 ---help--- 1279 default "0xc0000000" !! 600 If you say Y here, it will be possible to use a serial port as the >> 601 system console (the system console is the device which receives all >> 602 kernel messages and warnings and which allows logins in single user >> 603 mode). This could be useful if some terminal or printer is connected >> 604 to that serial port. 1280 605 1281 config MODULES_SIZE_BOOL !! 606 Even if you say Y here, the currently visible virtual console 1282 bool "Set custom size for modules/exe !! 607 (/dev/tty0) will still be used as the system console by default, but 1283 depends on EXECMEM && ADVANCED_OPTION !! 608 you can alter that using a kernel command line option such as 1284 help !! 609 "console=ttyS1". (Try "man bootparam" or see the documentation of 1285 This option allows you to set the s !! 610 your boot loader (lilo or loadlin) about how to pass options to the 1286 space dedicated for modules/execmem !! 611 kernel at boot time.) 1287 For the time being it is only for 8 << 1288 platform share it with vmalloc spac << 1289 612 1290 Say N here unless you know what you !! 613 If you don't have a VGA card installed and you say Y here, the >> 614 kernel will automatically use the first serial line, /dev/ttyS0, as >> 615 system console. 1291 616 1292 config MODULES_SIZE !! 617 If unsure, say N. 1293 int "Size of modules/execmem area (In << 1294 range 1 256 if EXECMEM << 1295 default 64 if EXECMEM && PPC_BOOK3S_3 << 1296 default 32 if EXECMEM && PPC_8xx << 1297 default 0 << 1298 618 1299 endmenu 619 endmenu 1300 620 1301 if PPC64 !! 621 source "fs/Kconfig" 1302 # This value must have zeroes in the bottom 6 << 1303 config PAGE_OFFSET << 1304 hex << 1305 default "0xc000000000000000" << 1306 config KERNEL_START << 1307 hex << 1308 default "0xc000000000000000" << 1309 config PHYSICAL_START << 1310 hex << 1311 default "0x00000000" << 1312 endif << 1313 622 1314 config PPC_LIB_RHEAP !! 623 source "arch/m68k/Kconfig.debug" 1315 bool !! 624 >> 625 source "security/Kconfig" 1316 626 1317 source "arch/powerpc/kvm/Kconfig" !! 627 source "crypto/Kconfig" 1318 628 1319 source "kernel/livepatch/Kconfig" !! 629 source "lib/Kconfig"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.