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
255 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC
288 …OTECTOR if PPC32 && $(cc-option,$(m32-flag) -mstack-protector-guard=tls -mstack-protector-guard-r…
289 …TECTOR if PPC64 && $(cc-option,$(m64-flag) -mstack-protector-guard=tls -mstack-protector-guard-re…
333 default y
334 depends on PPC_BOOK3S_64 || PPC_E500
341 default y
345 default 180
349 depends on PPC64
350 default y if !CPU_LITTLE_ENDIAN
356 default y
360 default PCI
367 default y if PPC32 && SMP
371 default y
375 default y
376 depends on BUG
380 depends on GENERIC_BUG
383 default y if PMAC_APM_EMU
394 Used to allow a board to specify it wants a uImage built by default
398 default y
402 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
408 depends on PPC_POWERNV || PPC_PSERIES
412 depends on ARCH_ENABLE_MEMORY_HOTPLUG
419 depends on PPC_DCR_NATIVE
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.
450 depends on BOOKE
451 default y
455 depends on PPC_ADV_DEBUG_REGS
456 default 4 if 44x
457 default 2
461 depends on PPC_ADV_DEBUG_REGS
462 default 2
466 depends on PPC_ADV_DEBUG_REGS
467 default 2 if 44x
468 default 0
472 depends on PPC_ADV_DEBUG_REGS && 44x
473 default y
480 default 2 if !PPC64
481 default 4
490 depends on PPC32
497 depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
501 a floating-point unit and therefore do not implement the
502 floating-point instructions in the PowerPC instruction set. If you
503 say Y here, the kernel will include code to emulate a floating-point
504 unit, which will allow programs that use floating-point
508 such as fsqrt on cores that do have an FPU but do not implement
513 default MATH_EMULATION_FULL
514 depends on MATH_EMULATION
526 Select this if you know there does have a hardware FPU on your
533 depends on PPC_BOOK3S_64
534 depends on SMP
538 Support user-mode Transactional Memory on POWERPC.
542 depends on KVM_BOOK3S_HV_POSSIBLE
543 depends on DEVICE_PRIVATE
544 default n
547 supports the Protected Execution Facility (PEF). On such platforms,
555 depends on PPC64
564 depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
565 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endia…
566 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) …
569 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
570 depends on $(cc-option,-fpatchable-function-entry=2)
572 …ef_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlit…
573 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbi…
580 int "Number of ftrace out-of-line stubs to reserve within .text"
581 depends on PPC_FTRACE_OUT_OF_LINE
582 default 32768
593 depends on SMP && (PPC_PSERIES || \
596 Say Y here to be able to disable and re-enable individual
597 CPUs at runtime on SMP machines.
602 bool "Clear gprs on interrupt arrival"
603 depends on PPC64 && ARCH_HAS_SYSCALL_WRAPPER
604 default PPC_BOOK3E_64 || PPC_PSERIES || PPC_POWERNV
606 Reduce the influence of user register state on interrupt handlers and
612 depends on SMP
613 default PPC_BOOK3S_64
616 fairness on large SMP and NUMA systems without harming single threaded
621 depends on HOTPLUG_CPU
625 depends on PPC_BOOK3S_64
626 default "y" if PPC_POWERNV
640 depends on KEXEC_FILE
647 prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
649 depends on PPC64 && CPU_BIG_ENDIAN
650 depends on CC_HAS_ELFV2
652 This builds the kernel image using the "Power Architecture 64-Bit ELF
657 The V2 ABI is standard for 64-bit little-endian, but for big-endian
663 depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
670 16k-aligned base address. The kernel is linked as a
671 position-independent executable (PIE) and contains dynamic relocations
674 One use is for the kexec on panic case where the recovery kernel
682 load address of the kernel (eg. u-boot/mkimage).
686 depends on PPC_85xx && FLATMEM
687 depends on RELOCATABLE
691 relying on knowledge of the location of kernel internals.
697 depends on (PPC64 && RELOCATABLE)
700 loaded at, which tends to be non-zero and therefore test the
708 default y if !PPC_BOOK3S_32
712 depends on CRASH_DUMP
717 depends on PPC64
723 bool "Firmware-assisted dump"
724 depends on CRASH_DUMP && PPC64 && (PPC_RTAS || PPC_POWERNV)
729 while preserving memory contents. Firmware-assisted dump
737 bool "Preserve Firmware-assisted dump"
738 depends on PPC64 && PPC_POWERNV && !FA_DUMP
740 On a kernel with FA_DUMP disabled, this option helps to preserve
747 depends on PPC64 && PPC_POWERNV
755 bool "Distribute interrupts on all CPUs by default"
756 depends on SMP
765 depends on PPC64 && SMP
766 default y if PPC_PSERIES || PPC_POWERNV
769 Enable NUMA (Non-Uniform Memory Access) support.
771 The kernel will try to allocate memory used by a CPU on the
777 default "8" if PPC64
778 default "4"
779 depends on NUMA
783 depends on NUMA
787 depends on PPC64
791 depends on (PPC64 && !NUMA) || PPC32
795 depends on PPC64
800 depends on PPC_BOOK3S_64
806 default 0x5deadbeef0000000 if PPC64
807 default 0
811 depends on MEMORY_HOTPLUG
815 default PPC_64K_PAGES if PPC_BOOK3S_64
816 default PPC_4K_PAGES
832 them with 4k pages, loading them on demand, but with the
846 depends on 44x || PPC_8xx
851 depends on 44x || PPC_BOOK3S_64
856 bool "256k page size (Requires non-standard binutils settings)"
857 depends on 44x && !PPC_47x
863 compiled with '-zmax-page-size' set to 256K (the default is 64K) using
872 default "15" if PPC_256K_PAGES
873 default "15" if PPC_PSERIES || PPC_POWERNV
874 default "14" if PPC64
875 default "13"
877 Used to define the stack size. The default is almost always what you
882 depends on ADVANCED_OPTIONS
883 depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
884 depends on (PPC_8xx && !PIN_TLB_DATA && (!STRICT_KERNEL_RWX || !PIN_TLB_TEXT)) || \
889 number of possible blocks. The default should be OK for most configs.
895 default 24 if STRICT_KERNEL_RWX && PPC64
899 default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
900 default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
901 default 23 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && \
903 default 19 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
904 default 24 if STRICT_KERNEL_RWX && PPC_85xx
905 default PAGE_SHIFT
907 On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
910 On 8xx, large pages (512kb or 8M) are used to map kernel linear
918 default "8" if PPC64 && PPC_64K_PAGES
920 default "12" if PPC64 && !PPC_64K_PAGES
922 default "8" if PPC32 && PPC_16K_PAGES
924 default "6" if PPC32 && PPC_64K_PAGES
926 default "4" if PPC32 && PPC_256K_PAGES
928 default "10"
934 overriding the default setting when ability to allocate very
937 The page size is not necessarily 4KB. For example, on 64-bit
945 default n
946 depends on PPC_64S_HASH_MMU && PPC_64K_PAGES
950 on the 4k subpages of each 64k page.
956 depends on PPC_BOOK3S_64
959 inside LPARs on supported CPUs.
971 depends on PPC64 && SMP
979 depends on PPC_BOOK3S_64
980 default "y" if PPC_POWERNV
987 default ""
989 On some platforms, there is currently no way for the boot loader to
991 some command-line options at build time by entering them here. In
996 depends on CMDLINE != ""
997 default CMDLINE_FROM_BOOTLOADER
1002 Uses the command-line options passed by the boot loader. If
1003 the boot loader doesn't provide any, the default kernel command
1009 The command-line arguments provided by the boot loader will be
1010 appended to the default kernel command string.
1013 bool "Always use the default kernel command string"
1015 Always use the default kernel command string, even if the boot
1018 command-line options your boot loader passes to the kernel.
1023 string "Additional default image types"
1029 Targets in this list will be build as part of the default build
1037 depends on ADB_PMU
1044 depends on PPC_BOOK3S_64
1045 depends on PPC_64S_HASH_MMU
1050 page-based protections, but without requiring modification of the
1053 For details, see Documentation/core-api/protection-keys.rst
1059 default 5
1064 depends on PPC_POWERNV || PPC_PSERIES
1065 depends on IMA_ARCH_POLICY
1071 to enable OS secure boot on systems that have firmware support for
1076 default y
1077 depends on PPC_SECURE_BOOT
1078 depends on SYSFS
1082 read/write operations on these variables. Say Y if you have
1089 default PCI
1094 bool "Support for ISA-bus hardware"
1095 depends on PPC_CHRP
1098 Find out whether you have ISA slots on your motherboard. ISA is the
1106 depends on ISA_DMA_API
1107 default y
1111 depends on PCI
1112 default y if 44x
1128 default y
1129 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1136 default y
1137 depends on SUSPEND && 44x
1140 It also enables support for two different idle states (idle-wait
1141 and idle-doze).
1152 depends on PPC_83xx || QUICC_ENGINE || CPM2
1154 Freescale General-purpose Timers support
1158 depends on RAPIDIO = y && HAVE_RAPIDIO
1159 default "n"
1161 Include support for RapidIO controller on Freescale embedded
1170 depends on PPC32
1182 comment "Default settings for advanced configuration options are used"
1183 depends on !ADVANCED_OPTIONS
1187 depends on ADVANCED_OPTIONS
1199 default "0x30000000"
1203 depends on ADVANCED_OPTIONS && PPC_85xx
1214 depends on PPC_85xx
1216 default 3 if !STRICT_KERNEL_RWX
1217 default 9 if DATA_SHIFT >= 24
1218 default 12 if DATA_SHIFT >= 22
1219 default 15
1223 depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
1229 the TLB page size of the mapping for kernel on the particular platform.
1232 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1241 depends on ADVANCED_OPTIONS
1251 default "0xc0000000"
1255 depends on ADVANCED_OPTIONS
1266 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1267 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1268 default "0xc0000000"
1272 depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
1280 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1281 default "0x00000000"
1285 default "0x04000000" if PPC_85xx
1287 This value puts the alignment restrictions on physical address
1293 depends on ADVANCED_OPTIONS
1303 default "0x80000000" if PPC_8xx
1304 default "0xb0000000" if PPC_BOOK3S_32 && EXECMEM
1305 default "0xc0000000"
1309 depends on EXECMEM && ADVANCED_OPTIONS
1321 default 64 if EXECMEM && PPC_BOOK3S_32
1322 default 32 if EXECMEM && PPC_8xx
1323 default 0
1329 depends on PPC64 && PROC_FS
1333 This interface only exists for backwards-compatibility.
1339 default "0xc000000000000000"
1342 default "0xc000000000000000"
1345 default "0x00000000"