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
289 …OTECTOR if PPC32 && $(cc-option,$(m32-flag) -mstack-protector-guard=tls -mstack-protector-guard-r…
290 …TECTOR if PPC64 && $(cc-option,$(m64-flag) -mstack-protector-guard=tls -mstack-protector-guard-re…
334 default y
335 depends on PPC_BOOK3S_64 || PPC_E500
342 default y
346 default 180
350 depends on PPC64
351 default y if !CPU_LITTLE_ENDIAN
357 default y
361 default PCI
368 default y if PPC32 && SMP
372 default y
376 default y
377 depends on BUG
381 depends on GENERIC_BUG
384 default y if PMAC_APM_EMU
395 Used to allow a board to specify it wants a uImage built by default
399 default y
403 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
409 depends on PPC_POWERNV || PPC_PSERIES
413 depends on ARCH_ENABLE_MEMORY_HOTPLUG
420 depends on PPC_DCR_NATIVE
421 default y
425 depends on PPC32
426 depends on PPC_PMAC || PPC_CHRP
429 restricts the system to only having 256 PCI buses. On CHRP it also causes
430 the "pci-OF-bus-map" property to be created in the device tree.
435 depends on PPC32
436 depends on !PPC_PCI_OF_BUS_MAP
438 default y
440 By default on PPC32 were PCI bus numbers unique across all PCI domains.
443 PCI domain dependent and each PCI controller on own domain can have
444 256 PCI buses, like it is on other Linux architectures.
451 depends on BOOKE
452 default y
456 depends on PPC_ADV_DEBUG_REGS
457 default 4 if 44x
458 default 2
462 depends on PPC_ADV_DEBUG_REGS
463 default 2
467 depends on PPC_ADV_DEBUG_REGS
468 default 2 if 44x
469 default 0
473 depends on PPC_ADV_DEBUG_REGS && 44x
474 default y
481 default 2 if !PPC64
482 default 4
491 depends on PPC32
498 depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
502 a floating-point unit and therefore do not implement the
503 floating-point instructions in the PowerPC instruction set. If you
504 say Y here, the kernel will include code to emulate a floating-point
505 unit, which will allow programs that use floating-point
509 such as fsqrt on cores that do have an FPU but do not implement
514 default MATH_EMULATION_FULL
515 depends on MATH_EMULATION
527 Select this if you know there does have a hardware FPU on your
534 depends on PPC_BOOK3S_64
535 depends on SMP
539 Support user-mode Transactional Memory on POWERPC.
543 depends on KVM_BOOK3S_HV_POSSIBLE
544 depends on DEVICE_PRIVATE
545 default n
548 supports the Protected Execution Facility (PEF). On such platforms,
556 depends on PPC64
565 depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
566 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endia…
567 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) …
570 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
571 depends on $(cc-option,-fpatchable-function-entry=2)
573 …ef_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlit…
574 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbi…
581 int "Number of ftrace out-of-line stubs to reserve within .text"
582 depends on PPC_FTRACE_OUT_OF_LINE
583 default 32768
594 depends on SMP && (PPC_PSERIES || \
597 Say Y here to be able to disable and re-enable individual
598 CPUs at runtime on SMP machines.
603 bool "Clear gprs on interrupt arrival"
604 depends on PPC64 && ARCH_HAS_SYSCALL_WRAPPER
605 default PPC_BOOK3E_64 || PPC_PSERIES || PPC_POWERNV
607 Reduce the influence of user register state on interrupt handlers and
613 depends on SMP
614 default PPC_BOOK3S_64
617 fairness on large SMP and NUMA systems without harming single threaded
622 depends on HOTPLUG_CPU
626 depends on PPC_BOOK3S_64
627 default "y" if PPC_POWERNV
641 depends on KEXEC_FILE
648 prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
650 depends on PPC64 && CPU_BIG_ENDIAN
651 depends on CC_HAS_ELFV2
653 This builds the kernel image using the "Power Architecture 64-Bit ELF
658 The V2 ABI is standard for 64-bit little-endian, but for big-endian
664 depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
671 16k-aligned base address. The kernel is linked as a
672 position-independent executable (PIE) and contains dynamic relocations
675 One use is for the kexec on panic case where the recovery kernel
683 load address of the kernel (eg. u-boot/mkimage).
687 depends on PPC_85xx && FLATMEM
688 depends on RELOCATABLE
692 relying on knowledge of the location of kernel internals.
698 depends on (PPC64 && RELOCATABLE)
701 loaded at, which tends to be non-zero and therefore test the
709 default y if !PPC_BOOK3S_32
713 depends on CRASH_DUMP
718 depends on PPC64
724 bool "Firmware-assisted dump"
725 depends on CRASH_DUMP && PPC64 && (PPC_RTAS || PPC_POWERNV)
730 while preserving memory contents. Firmware-assisted dump
738 bool "Preserve Firmware-assisted dump"
739 depends on PPC64 && PPC_POWERNV && !FA_DUMP
741 On a kernel with FA_DUMP disabled, this option helps to preserve
748 depends on PPC64 && PPC_POWERNV
756 bool "Distribute interrupts on all CPUs by default"
757 depends on SMP
766 depends on PPC64 && SMP
767 default y if PPC_PSERIES || PPC_POWERNV
770 Enable NUMA (Non-Uniform Memory Access) support.
772 The kernel will try to allocate memory used by a CPU on the
778 default "8" if PPC64
779 default "4"
780 depends on NUMA
784 depends on NUMA
788 depends on PPC64
792 depends on (PPC64 && !NUMA) || PPC32
796 depends on PPC64
801 depends on PPC_BOOK3S_64
807 default 0x5deadbeef0000000 if PPC64
808 default 0
812 depends on MEMORY_HOTPLUG
816 default PPC_64K_PAGES if PPC_BOOK3S_64
817 default PPC_4K_PAGES
833 them with 4k pages, loading them on demand, but with the
847 depends on 44x || PPC_8xx
852 depends on 44x || PPC_BOOK3S_64
857 bool "256k page size (Requires non-standard binutils settings)"
858 depends on 44x && !PPC_47x
864 compiled with '-zmax-page-size' set to 256K (the default is 64K) using
873 default "15" if PPC_256K_PAGES
874 default "15" if PPC_PSERIES || PPC_POWERNV
875 default "14" if PPC64
876 default "13"
878 Used to define the stack size. The default is almost always what you
883 depends on ADVANCED_OPTIONS
884 depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
885 depends on (PPC_8xx && !PIN_TLB_DATA && (!STRICT_KERNEL_RWX || !PIN_TLB_TEXT)) || \
890 number of possible blocks. The default should be OK for most configs.
896 default 24 if STRICT_KERNEL_RWX && PPC64
900 default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
901 default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
902 default 23 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && \
904 default 19 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
905 default 24 if STRICT_KERNEL_RWX && PPC_85xx
906 default PAGE_SHIFT
908 On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
911 On 8xx, large pages (16kb or 512kb or 8M) are used to map kernel
919 default "8" if PPC64 && PPC_64K_PAGES
921 default "12" if PPC64 && !PPC_64K_PAGES
923 default "8" if PPC32 && PPC_16K_PAGES
925 default "6" if PPC32 && PPC_64K_PAGES
927 default "4" if PPC32 && PPC_256K_PAGES
929 default "10"
935 overriding the default setting when ability to allocate very
938 The page size is not necessarily 4KB. For example, on 64-bit
946 default n
947 depends on PPC_64S_HASH_MMU && PPC_64K_PAGES
951 on the 4k subpages of each 64k page.
957 depends on PPC_BOOK3S_64
960 inside LPARs on supported CPUs.
972 depends on PPC_BOOK3S_64
973 default "y" if PPC_POWERNV
980 default ""
982 On some platforms, there is currently no way for the boot loader to
984 some command-line options at build time by entering them here. In
989 depends on CMDLINE != ""
990 default CMDLINE_FROM_BOOTLOADER
995 Uses the command-line options passed by the boot loader. If
996 the boot loader doesn't provide any, the default kernel command
1002 The command-line arguments provided by the boot loader will be
1003 appended to the default kernel command string.
1006 bool "Always use the default kernel command string"
1008 Always use the default kernel command string, even if the boot
1011 command-line options your boot loader passes to the kernel.
1016 string "Additional default image types"
1022 Targets in this list will be build as part of the default build
1030 depends on ADB_PMU
1037 depends on PPC_BOOK3S_64
1038 depends on PPC_64S_HASH_MMU
1043 page-based protections, but without requiring modification of the
1046 For details, see Documentation/core-api/protection-keys.rst
1052 default 5
1057 depends on PPC_POWERNV || PPC_PSERIES
1058 depends on IMA_ARCH_POLICY
1064 to enable OS secure boot on systems that have firmware support for
1069 default y
1070 depends on PPC_SECURE_BOOT
1071 depends on SYSFS
1075 read/write operations on these variables. Say Y if you have
1082 default PCI
1087 bool "Support for ISA-bus hardware"
1088 depends on PPC_CHRP
1091 Find out whether you have ISA slots on your motherboard. ISA is the
1099 depends on ISA_DMA_API
1100 default y
1104 depends on PCI
1105 default y if 44x
1121 default y
1122 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1129 default y
1130 depends on SUSPEND && 44x
1133 It also enables support for two different idle states (idle-wait
1134 and idle-doze).
1145 depends on PPC_83xx || QUICC_ENGINE || CPM2
1147 Freescale General-purpose Timers support
1151 depends on RAPIDIO = y && HAVE_RAPIDIO
1152 default "n"
1154 Include support for RapidIO controller on Freescale embedded
1163 depends on PPC32
1175 comment "Default settings for advanced configuration options are used"
1176 depends on !ADVANCED_OPTIONS
1180 depends on ADVANCED_OPTIONS
1192 default "0x30000000"
1196 depends on ADVANCED_OPTIONS && PPC_85xx
1207 depends on PPC_85xx
1209 default 3 if !STRICT_KERNEL_RWX
1210 default 9 if DATA_SHIFT >= 24
1211 default 12 if DATA_SHIFT >= 22
1212 default 15
1216 depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
1222 the TLB page size of the mapping for kernel on the particular platform.
1225 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1234 depends on ADVANCED_OPTIONS
1244 default "0xc0000000"
1248 depends on ADVANCED_OPTIONS
1259 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1260 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1261 default "0xc0000000"
1265 depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
1273 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1274 default "0x00000000"
1278 default "0x04000000" if PPC_85xx
1280 This value puts the alignment restrictions on physical address
1286 depends on ADVANCED_OPTIONS
1296 default "0x80000000" if PPC_8xx
1297 default "0xb0000000" if PPC_BOOK3S_32 && EXECMEM
1298 default "0xc0000000"
1302 depends on EXECMEM && ADVANCED_OPTIONS
1314 default 64 if EXECMEM && PPC_BOOK3S_32
1315 default 32 if EXECMEM && PPC_8xx
1316 default 0
1322 depends on PPC64 && PROC_FS
1326 This interface only exists for backwards-compatibility.
1332 default "0xc000000000000000"
1335 default "0xc000000000000000"
1338 default "0x00000000"