Lines Matching +full:default +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0
5 def_bool PPC64 && $(cc-option, -mabi=elfv2)
8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed)
11 # Clang has a bug (https://github.com/llvm/llvm-project/issues/62372)
12 # where pcrel code is not generated if -msoft-float, -mno-altivec, or
13 # -mno-vsx options are also given. Without these options, fp/vec
16 def_bool PPC64 && CC_IS_GCC && $(cc-option, -mcpu=power10 -mpcrel)
20 default y if PPC32
24 default y if PPC64
28 depends on LIVEPATCH
32 default y
35 # On Book3S 64, the default virtual address space for 64-bit processes
38 # between bottom-up and top-down allocations for applications that
41 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K)
42 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K)
44 # On all other 64-bit platforms (currently only Book3E), the virtual
47 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K)
49 # For 32-bit, use the compat values, as they're the same.
50 default ARCH_MMAP_RND_COMPAT_BITS_MAX
54 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K)
55 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K)
57 # For 32-bit, use the compat values, as they're the same.
58 default ARCH_MMAP_RND_COMPAT_BITS_MIN
61 # Total virtual address space for 32-bit processes is 2^31 (2GB).
63 default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K)
64 default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K)
65 default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
66 default 17 # 17 = 29 (512MB) - 12 (4K)
69 # Total virtual address space for 32-bit processes is 2^31 (2GB).
71 default 5 if PPC_256K_PAGES # 5 = 23 (8MB) - 18 (256K)
72 default 7 if PPC_64K_PAGES # 7 = 23 (8MB) - 16 (64K)
73 default 9 if PPC_16K_PAGES # 9 = 23 (8MB) - 14 (16K)
74 default 11 # 11 = 23 (8MB) - 12 (4K)
79 default "512"
84 drivers will fail to load or worse - handle with care.
88 depends on SMP && (DEBUGGER || KEXEC_CORE || HARDLOCKUP_DETECTOR)
89 default y
93 depends on HARDLOCKUP_DETECTOR_ARCH
94 default y
103 default y
107 default y
111 default y
112 depends on SMP && PREEMPTION && !PPC_QUEUED_SPINLOCKS
116 default y
120 default y
253 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC
286 …OTECTOR if PPC32 && $(cc-option,$(m32-flag) -mstack-protector-guard=tls -mstack-protector-guard-r…
287 …TECTOR if PPC64 && $(cc-option,$(m64-flag) -mstack-protector-guard=tls -mstack-protector-guard-re…
330 default y
331 depends on PPC_BOOK3S_64 || PPC_E500
338 default y
342 default 180
346 depends on PPC64
347 default y if !CPU_LITTLE_ENDIAN
353 default y
357 default PCI
364 default y if PPC32 && SMP
368 default y
372 default y
373 depends on BUG
377 depends on GENERIC_BUG
380 default y if PMAC_APM_EMU
391 Used to allow a board to specify it wants a uImage built by default
395 default y
399 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
405 depends on PPC_POWERNV || PPC_PSERIES
409 depends on ARCH_ENABLE_MEMORY_HOTPLUG
419 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
420 default y
424 depends on PPC32
425 depends on PPC_PMAC || PPC_CHRP
428 restricts the system to only having 256 PCI buses. On CHRP it also causes
429 the "pci-OF-bus-map" property to be created in the device tree.
434 depends on PPC32
435 depends on !PPC_PCI_OF_BUS_MAP
437 default y
439 By default on PPC32 were PCI bus numbers unique across all PCI domains.
442 PCI domain dependent and each PCI controller on own domain can have
443 256 PCI buses, like it is on other Linux architectures.
447 depends on PCI
448 depends on PPC64 # not supported on 32 bits yet
455 depends on BOOKE
456 default y
460 depends on PPC_ADV_DEBUG_REGS
461 default 4 if 44x
462 default 2
466 depends on PPC_ADV_DEBUG_REGS
467 default 2
471 depends on PPC_ADV_DEBUG_REGS
472 default 2 if 44x
473 default 0
477 depends on PPC_ADV_DEBUG_REGS && 44x
478 default y
485 default 2 if !PPC64
486 default 4
495 depends on PPC32
502 depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
506 a floating-point unit and therefore do not implement the
507 floating-point instructions in the PowerPC instruction set. If you
508 say Y here, the kernel will include code to emulate a floating-point
509 unit, which will allow programs that use floating-point
513 such as fsqrt on cores that do have an FPU but do not implement
518 default MATH_EMULATION_FULL
519 depends on MATH_EMULATION
531 Select this if you know there does have a hardware FPU on your
538 depends on PPC_BOOK3S_64
539 depends on SMP
543 Support user-mode Transactional Memory on POWERPC.
547 depends on KVM_BOOK3S_HV_POSSIBLE
548 depends on DEVICE_PRIVATE
549 default n
552 supports the Protected Execution Facility (PEF). On such platforms,
560 depends on PPC64
569 depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
570 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endia…
571 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) …
574 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
575 depends on $(cc-option,-fpatchable-function-entry=2)
577 …ef_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlit…
578 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbi…
585 int "Number of ftrace out-of-line stubs to reserve within .text"
586 depends on PPC_FTRACE_OUT_OF_LINE
587 default 32768
598 depends on SMP && (PPC_PSERIES || \
601 Say Y here to be able to disable and re-enable individual
602 CPUs at runtime on SMP machines.
607 bool "Clear gprs on interrupt arrival"
608 depends on PPC64 && ARCH_HAS_SYSCALL_WRAPPER
609 default PPC_BOOK3E_64 || PPC_PSERIES || PPC_POWERNV
611 Reduce the influence of user register state on interrupt handlers and
617 depends on SMP
618 default PPC_BOOK3S_64
621 fairness on large SMP and NUMA systems without harming single threaded
626 depends on HOTPLUG_CPU
630 depends on PPC_BOOK3S_64
631 default "y" if PPC_POWERNV
645 depends on KEXEC_FILE
652 prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
654 depends on PPC64 && CPU_BIG_ENDIAN
655 depends on CC_HAS_ELFV2
657 This builds the kernel image using the "Power Architecture 64-Bit ELF
662 The V2 ABI is standard for 64-bit little-endian, but for big-endian
668 depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
675 16k-aligned base address. The kernel is linked as a
676 position-independent executable (PIE) and contains dynamic relocations
679 One use is for the kexec on panic case where the recovery kernel
687 load address of the kernel (eg. u-boot/mkimage).
691 depends on PPC_85xx && FLATMEM
692 depends on RELOCATABLE
696 relying on knowledge of the location of kernel internals.
702 depends on (PPC64 && RELOCATABLE)
705 loaded at, which tends to be non-zero and therefore test the
713 default y if !PPC_BOOK3S_32
717 depends on CRASH_DUMP
722 depends on PPC64
725 bool "Firmware-assisted dump"
726 depends on CRASH_DUMP && PPC64 && (PPC_RTAS || PPC_POWERNV)
731 while preserving memory contents. Firmware-assisted dump
739 bool "Preserve Firmware-assisted dump"
740 depends on PPC64 && PPC_POWERNV && !FA_DUMP
742 On a kernel with FA_DUMP disabled, this option helps to preserve
749 depends on PPC64 && PPC_POWERNV
757 bool "Distribute interrupts on all CPUs by default"
758 depends on SMP
767 depends on PPC64 && SMP
768 default y if PPC_PSERIES || PPC_POWERNV
771 Enable NUMA (Non-Uniform Memory Access) support.
773 The kernel will try to allocate memory used by a CPU on the
779 default "8" if PPC64
780 default "4"
781 depends on NUMA
785 depends on NUMA
789 depends on PPC64
793 depends on (PPC64 && !NUMA) || PPC32
797 depends on PPC64
802 depends on PPC_BOOK3S_64
808 default 0x5deadbeef0000000 if PPC64
809 default 0
813 depends on MEMORY_HOTPLUG
817 default PPC_64K_PAGES if PPC_BOOK3S_64
818 default PPC_4K_PAGES
834 them with 4k pages, loading them on demand, but with the
848 depends on 44x || PPC_8xx
853 depends on 44x || PPC_BOOK3S_64
858 bool "256k page size (Requires non-standard binutils settings)"
859 depends on 44x && !PPC_47x
865 compiled with '-zmax-page-size' set to 256K (the default is 64K) using
874 default "15" if PPC_256K_PAGES
875 default "15" if PPC_PSERIES || PPC_POWERNV
876 default "14" if PPC64
877 default "13"
879 Used to define the stack size. The default is almost always what you
884 depends on ADVANCED_OPTIONS
885 depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
886 depends on (PPC_8xx && !PIN_TLB_DATA && (!STRICT_KERNEL_RWX || !PIN_TLB_TEXT)) || \
891 number of possible blocks. The default should be OK for most configs.
897 default 24 if STRICT_KERNEL_RWX && PPC64
901 default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
902 default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
903 default 23 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && \
905 default 19 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
906 default 24 if STRICT_KERNEL_RWX && PPC_85xx
907 default PAGE_SHIFT
909 On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
912 On 8xx, large pages (512kb or 8M) are used to map kernel linear
920 default "8" if PPC64 && PPC_64K_PAGES
922 default "12" if PPC64 && !PPC_64K_PAGES
924 default "8" if PPC32 && PPC_16K_PAGES
926 default "6" if PPC32 && PPC_64K_PAGES
928 default "4" if PPC32 && PPC_256K_PAGES
930 default "10"
936 overriding the default setting when ability to allocate very
939 The page size is not necessarily 4KB. For example, on 64-bit
947 default n
948 depends on PPC_64S_HASH_MMU && PPC_64K_PAGES
952 on the 4k subpages of each 64k page.
958 depends on PPC_BOOK3S_64
961 inside LPARs on supported CPUs.
973 depends on PPC64 && SMP
981 depends on PPC_BOOK3S_64
982 default "y" if PPC_POWERNV
989 default ""
991 On some platforms, there is currently no way for the boot loader to
993 some command-line options at build time by entering them here. In
998 depends on CMDLINE != ""
999 default CMDLINE_FROM_BOOTLOADER
1004 Uses the command-line options passed by the boot loader. If
1005 the boot loader doesn't provide any, the default kernel command
1011 The command-line arguments provided by the boot loader will be
1012 appended to the default kernel command string.
1015 bool "Always use the default kernel command string"
1017 Always use the default kernel command string, even if the boot
1020 command-line options your boot loader passes to the kernel.
1025 string "Additional default image types"
1031 Targets in this list will be build as part of the default build
1039 depends on ADB_PMU
1046 depends on PPC_BOOK3S_64
1047 depends on PPC_64S_HASH_MMU
1052 page-based protections, but without requiring modification of the
1055 For details, see Documentation/core-api/protection-keys.rst
1061 default 5
1066 depends on PPC_POWERNV || PPC_PSERIES
1067 depends on IMA_ARCH_POLICY
1073 to enable OS secure boot on systems that have firmware support for
1078 default y
1079 depends on PPC_SECURE_BOOT
1080 depends on SYSFS
1084 read/write operations on these variables. Say Y if you have
1091 default PCI
1096 bool "Support for ISA-bus hardware"
1097 depends on PPC_CHRP
1100 Find out whether you have ISA slots on your motherboard. ISA is the
1108 depends on ISA_DMA_API
1109 default y
1113 depends on PCI
1114 default y if 44x
1130 default y
1131 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1138 default y
1139 depends on SUSPEND && 44x
1142 It also enables support for two different idle states (idle-wait
1143 and idle-doze).
1154 depends on PPC_83xx || QUICC_ENGINE || CPM2
1156 Freescale General-purpose Timers support
1160 depends on RAPIDIO = y && HAVE_RAPIDIO
1161 default "n"
1163 Include support for RapidIO controller on Freescale embedded
1172 depends on PPC32
1184 comment "Default settings for advanced configuration options are used"
1185 depends on !ADVANCED_OPTIONS
1189 depends on ADVANCED_OPTIONS
1201 default "0x30000000"
1205 depends on ADVANCED_OPTIONS && PPC_85xx
1216 depends on PPC_85xx
1218 default 3 if !STRICT_KERNEL_RWX
1219 default 9 if DATA_SHIFT >= 24
1220 default 12 if DATA_SHIFT >= 22
1221 default 15
1225 depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
1231 the TLB page size of the mapping for kernel on the particular platform.
1234 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1243 depends on ADVANCED_OPTIONS
1253 default "0xc0000000"
1257 depends on ADVANCED_OPTIONS
1268 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1269 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1270 default "0xc0000000"
1274 depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
1282 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1283 default "0x00000000"
1287 default "0x04000000" if PPC_85xx
1289 This value puts the alignment restrictions on physical address
1295 depends on ADVANCED_OPTIONS
1305 default "0x80000000" if PPC_8xx
1306 default "0xb0000000" if PPC_BOOK3S_32 && EXECMEM
1307 default "0xc0000000"
1311 depends on EXECMEM && ADVANCED_OPTIONS
1323 default 64 if EXECMEM && PPC_BOOK3S_32
1324 default 32 if EXECMEM && PPC_8xx
1325 default 0
1331 depends on PPC64 && PROC_FS
1335 This interface only exists for backwards-compatibility.
1341 default "0xc000000000000000"
1344 default "0xc000000000000000"
1347 default "0x00000000"