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
290 …OTECTOR if PPC32 && $(cc-option,$(m32-flag) -mstack-protector-guard=tls -mstack-protector-guard-r…
291 …TECTOR if PPC64 && $(cc-option,$(m64-flag) -mstack-protector-guard=tls -mstack-protector-guard-re…
335 default y
336 depends on PPC_BOOK3S_64 || PPC_E500
343 default y
347 default 180
351 depends on PPC64
352 default y if !CPU_LITTLE_ENDIAN
358 default y
362 default PCI
369 default y if PPC32 && SMP
373 default y
377 default y
378 depends on BUG
382 depends on GENERIC_BUG
385 default y if PMAC_APM_EMU
396 Used to allow a board to specify it wants a uImage built by default
400 default y
404 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
410 depends on PPC_POWERNV || PPC_PSERIES
414 depends on ARCH_ENABLE_MEMORY_HOTPLUG
421 depends on PPC_DCR_NATIVE
422 default y
426 depends on PPC32
427 depends on PPC_PMAC || PPC_CHRP
430 restricts the system to only having 256 PCI buses. On CHRP it also causes
431 the "pci-OF-bus-map" property to be created in the device tree.
436 depends on PPC32
437 depends on !PPC_PCI_OF_BUS_MAP
439 default y
441 By default on PPC32 were PCI bus numbers unique across all PCI domains.
444 PCI domain dependent and each PCI controller on own domain can have
445 256 PCI buses, like it is on other Linux architectures.
452 depends on BOOKE
453 default y
457 depends on PPC_ADV_DEBUG_REGS
458 default 4 if 44x
459 default 2
463 depends on PPC_ADV_DEBUG_REGS
464 default 2
468 depends on PPC_ADV_DEBUG_REGS
469 default 2 if 44x
470 default 0
474 depends on PPC_ADV_DEBUG_REGS && 44x
475 default y
482 default 2 if !PPC64
483 default 4
492 depends on PPC32
499 depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
503 a floating-point unit and therefore do not implement the
504 floating-point instructions in the PowerPC instruction set. If you
505 say Y here, the kernel will include code to emulate a floating-point
506 unit, which will allow programs that use floating-point
510 such as fsqrt on cores that do have an FPU but do not implement
515 default MATH_EMULATION_FULL
516 depends on MATH_EMULATION
528 Select this if you know there does have a hardware FPU on your
535 depends on PPC_BOOK3S_64
536 depends on SMP
540 Support user-mode Transactional Memory on POWERPC.
544 depends on KVM_BOOK3S_HV_POSSIBLE
545 depends on DEVICE_PRIVATE
546 default n
549 supports the Protected Execution Facility (PEF). On such platforms,
557 depends on PPC64
566 depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
567 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endia…
568 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) …
571 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
572 depends on $(cc-option,-fpatchable-function-entry=2)
574 …ef_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlit…
575 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbi…
582 int "Number of ftrace out-of-line stubs to reserve within .text"
583 depends on PPC_FTRACE_OUT_OF_LINE
584 default 32768
595 depends on SMP && (PPC_PSERIES || \
598 Say Y here to be able to disable and re-enable individual
599 CPUs at runtime on SMP machines.
604 bool "Clear gprs on interrupt arrival"
605 depends on PPC64 && ARCH_HAS_SYSCALL_WRAPPER
606 default PPC_BOOK3E_64 || PPC_PSERIES || PPC_POWERNV
608 Reduce the influence of user register state on interrupt handlers and
614 depends on SMP
615 default PPC_BOOK3S_64
618 fairness on large SMP and NUMA systems without harming single threaded
623 depends on HOTPLUG_CPU
627 depends on PPC_BOOK3S_64
628 default "y" if PPC_POWERNV
642 depends on KEXEC_FILE
649 prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
651 depends on PPC64 && CPU_BIG_ENDIAN
652 depends on CC_HAS_ELFV2
654 This builds the kernel image using the "Power Architecture 64-Bit ELF
659 The V2 ABI is standard for 64-bit little-endian, but for big-endian
665 depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
672 16k-aligned base address. The kernel is linked as a
673 position-independent executable (PIE) and contains dynamic relocations
676 One use is for the kexec on panic case where the recovery kernel
684 load address of the kernel (eg. u-boot/mkimage).
688 depends on PPC_85xx && FLATMEM
689 depends on RELOCATABLE
693 relying on knowledge of the location of kernel internals.
699 depends on (PPC64 && RELOCATABLE)
702 loaded at, which tends to be non-zero and therefore test the
710 default y if !PPC_BOOK3S_32
714 depends on CRASH_DUMP
719 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 (16kb or 512kb or 8M) are used to map kernel
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 PPC_BOOK3S_64
974 default "y" if PPC_POWERNV
981 default ""
983 On some platforms, there is currently no way for the boot loader to
985 some command-line options at build time by entering them here. In
990 depends on CMDLINE != ""
991 default CMDLINE_FROM_BOOTLOADER
996 Uses the command-line options passed by the boot loader. If
997 the boot loader doesn't provide any, the default kernel command
1003 The command-line arguments provided by the boot loader will be
1004 appended to the default kernel command string.
1007 bool "Always use the default kernel command string"
1009 Always use the default kernel command string, even if the boot
1012 command-line options your boot loader passes to the kernel.
1017 string "Additional default image types"
1023 Targets in this list will be build as part of the default build
1031 depends on ADB_PMU
1038 depends on PPC_BOOK3S_64
1039 depends on PPC_64S_HASH_MMU
1044 page-based protections, but without requiring modification of the
1047 For details, see Documentation/core-api/protection-keys.rst
1053 default 5
1058 depends on PPC_POWERNV || PPC_PSERIES
1059 depends on IMA_ARCH_POLICY
1065 to enable OS secure boot on systems that have firmware support for
1070 default y
1071 depends on PPC_SECURE_BOOT
1072 depends on SYSFS
1076 read/write operations on these variables. Say Y if you have
1083 default PCI
1088 bool "Support for ISA-bus hardware"
1089 depends on PPC_CHRP
1092 Find out whether you have ISA slots on your motherboard. ISA is the
1100 depends on ISA_DMA_API
1101 default y
1105 depends on PCI
1106 default y if 44x
1122 default y
1123 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1130 default y
1131 depends on SUSPEND && 44x
1134 It also enables support for two different idle states (idle-wait
1135 and idle-doze).
1146 depends on PPC_83xx || QUICC_ENGINE || CPM2
1148 Freescale General-purpose Timers support
1152 depends on RAPIDIO = y && HAVE_RAPIDIO
1153 default "n"
1155 Include support for RapidIO controller on Freescale embedded
1164 depends on PPC32
1176 comment "Default settings for advanced configuration options are used"
1177 depends on !ADVANCED_OPTIONS
1181 depends on ADVANCED_OPTIONS
1193 default "0x30000000"
1197 depends on ADVANCED_OPTIONS && PPC_85xx
1208 depends on PPC_85xx
1210 default 3 if !STRICT_KERNEL_RWX
1211 default 9 if DATA_SHIFT >= 24
1212 default 12 if DATA_SHIFT >= 22
1213 default 15
1217 depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
1223 the TLB page size of the mapping for kernel on the particular platform.
1226 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1235 depends on ADVANCED_OPTIONS
1245 default "0xc0000000"
1249 depends on ADVANCED_OPTIONS
1260 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1261 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1262 default "0xc0000000"
1266 depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
1274 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1275 default "0x00000000"
1279 default "0x04000000" if PPC_85xx
1281 This value puts the alignment restrictions on physical address
1287 depends on ADVANCED_OPTIONS
1297 default "0x80000000" if PPC_8xx
1298 default "0xb0000000" if PPC_BOOK3S_32 && EXECMEM
1299 default "0xc0000000"
1303 depends on EXECMEM && ADVANCED_OPTIONS
1315 default 64 if EXECMEM && PPC_BOOK3S_32
1316 default 32 if EXECMEM && PPC_8xx
1317 default 0
1323 depends on PPC64 && PROC_FS
1327 This interface only exists for backwards-compatibility.
1333 default "0xc000000000000000"
1336 default "0xc000000000000000"
1339 default "0x00000000"