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
246 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC
276 …select HAVE_STACKPROTECTOR if PPC32 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-…
277 …select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-…
319 default y
320 depends on PPC_BOOK3S_64 || PPC_E500
327 default y
331 default 180
335 depends on PPC64
336 depends on !CC_IS_CLANG || CLANG_VERSION >= 120000
337 default y if !CPU_LITTLE_ENDIAN
343 default y
347 default PCI
354 default y if PPC32 && SMP
358 default y
362 default y
363 depends on BUG
367 depends on GENERIC_BUG
370 default y if PMAC_APM_EMU
381 Used to allow a board to specify it wants a uImage built by default
385 default y
389 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
395 depends on PPC_POWERNV || PPC_PSERIES
399 depends on ARCH_ENABLE_MEMORY_HOTPLUG
409 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
410 default y
414 depends on PPC32
415 depends on PPC_PMAC || PPC_CHRP
418 restricts the system to only having 256 PCI buses. On CHRP it also causes
419 the "pci-OF-bus-map" property to be created in the device tree.
424 depends on PPC32
425 depends on !PPC_PCI_OF_BUS_MAP
427 default y
429 By default on PPC32 were PCI bus numbers unique across all PCI domains.
432 PCI domain dependent and each PCI controller on own domain can have
433 256 PCI buses, like it is on other Linux architectures.
437 depends on PCI
438 depends on PPC64 # not supported on 32 bits yet
445 depends on 40x || BOOKE
446 default y
450 depends on PPC_ADV_DEBUG_REGS
451 default 4 if 44x
452 default 2
456 depends on PPC_ADV_DEBUG_REGS
457 default 2
461 depends on PPC_ADV_DEBUG_REGS
462 default 2 if 44x
463 default 0
467 depends on PPC_ADV_DEBUG_REGS && 44x
468 default y
475 default 2 if !PPC64
476 default 4
485 depends on PPC32
492 depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
496 a floating-point unit and therefore do not implement the
497 floating-point instructions in the PowerPC instruction set. If you
498 say Y here, the kernel will include code to emulate a floating-point
499 unit, which will allow programs that use floating-point
503 such as fsqrt on cores that do have an FPU but do not implement
508 default MATH_EMULATION_FULL
509 depends on MATH_EMULATION
521 Select this if you know there does have a hardware FPU on your
528 depends on PPC_BOOK3S_64
529 depends on SMP
533 Support user-mode Transactional Memory on POWERPC.
537 depends on KVM_BOOK3S_HV_POSSIBLE
538 depends on DEVICE_PRIVATE
539 default n
542 supports the Protected Execution Facility (PEF). On such platforms,
550 depends on PPC64
559 depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
560 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endia…
561 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) …
564 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
565 depends on $(cc-option,-fpatchable-function-entry=2)
567 …ef_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlit…
568 …def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbi…
572 depends on SMP && (PPC_PSERIES || \
575 Say Y here to be able to disable and re-enable individual
576 CPUs at runtime on SMP machines.
581 bool "Clear gprs on interrupt arrival"
582 depends on PPC64 && ARCH_HAS_SYSCALL_WRAPPER
583 default PPC_BOOK3E_64 || PPC_PSERIES || PPC_POWERNV
585 Reduce the influence of user register state on interrupt handlers and
591 depends on SMP
592 default PPC_BOOK3S_64
595 fairness on large SMP and NUMA systems without harming single threaded
600 depends on HOTPLUG_CPU
604 depends on PPC_BOOK3S_64
605 default "y" if PPC_POWERNV
619 depends on KEXEC_FILE
626 prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
628 depends on PPC64 && CPU_BIG_ENDIAN
629 depends on CC_HAS_ELFV2
631 This builds the kernel image using the "Power Architecture 64-Bit ELF
636 The V2 ABI is standard for 64-bit little-endian, but for big-endian
642 depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
649 16k-aligned base address. The kernel is linked as a
650 position-independent executable (PIE) and contains dynamic relocations
653 One use is for the kexec on panic case where the recovery kernel
661 load address of the kernel (eg. u-boot/mkimage).
665 depends on PPC_85xx && FLATMEM
666 depends on RELOCATABLE
670 relying on knowledge of the location of kernel internals.
676 depends on (PPC64 && RELOCATABLE)
679 loaded at, which tends to be non-zero and therefore test the
687 depends on CRASH_DUMP
691 bool "Firmware-assisted dump"
692 depends on PPC64 && (PPC_RTAS || PPC_POWERNV)
699 while preserving memory contents. Firmware-assisted dump
707 bool "Preserve Firmware-assisted dump"
708 depends on PPC64 && PPC_POWERNV && !FA_DUMP
710 On a kernel with FA_DUMP disabled, this option helps to preserve
717 depends on PPC64 && PPC_POWERNV
725 bool "Distribute interrupts on all CPUs by default"
726 depends on SMP
735 depends on PPC64 && SMP
736 default y if PPC_PSERIES || PPC_POWERNV
739 Enable NUMA (Non-Uniform Memory Access) support.
741 The kernel will try to allocate memory used by a CPU on the
747 default "8" if PPC64
748 default "4"
749 depends on NUMA
753 depends on NUMA
757 depends on PPC64
761 depends on (PPC64 && !NUMA) || PPC32
765 depends on PPC64
770 depends on PPC_BOOK3S_64
776 default 0x5deadbeef0000000 if PPC64
777 default 0
781 depends on MEMORY_HOTPLUG
785 default PPC_64K_PAGES if PPC_BOOK3S_64
786 default PPC_4K_PAGES
802 them with 4k pages, loading them on demand, but with the
815 depends on 44x || PPC_8xx
819 depends on 44x || PPC_BOOK3S_64
823 bool "256k page size (Requires non-standard binutils settings)"
824 depends on 44x && !PPC_47x
829 compiled with '-zmax-page-size' set to 256K (the default is 64K) using
837 depends on PPC_4K_PAGES
841 depends on PPC_16K_PAGES
845 depends on PPC_64K_PAGES
849 depends on PPC_256K_PAGES
853 default 18 if PPC_256K_PAGES
854 default 16 if PPC_64K_PAGES
855 default 14 if PPC_16K_PAGES
856 default 12
861 default "15" if PPC_256K_PAGES
862 default "15" if PPC_PSERIES || PPC_POWERNV
863 default "14" if PPC64
864 default "13"
866 Used to define the stack size. The default is almost always what you
871 depends on ADVANCED_OPTIONS
872 depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
873 depends on PPC_BOOK3S_32 || (PPC_8xx && !PIN_TLB_DATA && !STRICT_KERNEL_RWX) || \
878 number of possible blocks. The default should be OK for most configs.
884 default 24 if STRICT_KERNEL_RWX && PPC64
888 default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
889 default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
890 default 23 if STRICT_KERNEL_RWX && PPC_8xx
891 default 23 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && PIN_TLB_DATA
892 default 19 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
893 default 24 if STRICT_KERNEL_RWX && PPC_85xx
894 default PPC_PAGE_SHIFT
896 On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
899 On 8xx, large pages (512kb or 8M) are used to map kernel linear
907 default "8" if PPC64 && PPC_64K_PAGES
909 default "12" if PPC64 && !PPC_64K_PAGES
911 default "8" if PPC32 && PPC_16K_PAGES
913 default "6" if PPC32 && PPC_64K_PAGES
915 default "4" if PPC32 && PPC_256K_PAGES
917 default "10"
923 overriding the default setting when ability to allocate very
926 The page size is not necessarily 4KB. For example, on 64-bit
934 default n
935 depends on PPC_64S_HASH_MMU && PPC_64K_PAGES
939 on the 4k subpages of each 64k page.
945 depends on PPC_BOOK3S_64
948 inside LPARs on supported CPUs.
960 depends on PPC64 && SMP
968 depends on PPC_BOOK3S_64
969 default "y" if PPC_POWERNV
976 default ""
978 On some platforms, there is currently no way for the boot loader to
980 some command-line options at build time by entering them here. In
985 default CMDLINE_FROM_BOOTLOADER
990 Uses the command-line options passed by the boot loader. If
991 the boot loader doesn't provide any, the default kernel command
997 The command-line arguments provided by the boot loader will be
998 appended to the default kernel command string.
1001 bool "Always use the default kernel command string"
1003 Always use the default kernel command string, even if the boot
1006 command-line options your boot loader passes to the kernel.
1011 string "Additional default image types"
1017 Targets in this list will be build as part of the default build
1025 depends on ADB_PMU
1032 depends on PPC_BOOK3S_64
1033 depends on PPC_64S_HASH_MMU
1038 page-based protections, but without requiring modification of the
1041 For details, see Documentation/core-api/protection-keys.rst
1048 depends on PPC_POWERNV || PPC_PSERIES
1049 depends on IMA_ARCH_POLICY
1055 to enable OS secure boot on systems that have firmware support for
1060 default y
1061 depends on PPC_SECURE_BOOT
1062 depends on SYSFS
1066 read/write operations on these variables. Say Y if you have
1073 default PCI
1078 bool "Support for ISA-bus hardware"
1079 depends on PPC_CHRP
1082 Find out whether you have ISA slots on your motherboard. ISA is the
1090 depends on ISA_DMA_API
1091 default y
1095 depends on PCI
1096 default y if 40x || 44x
1112 default y
1113 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1120 default y
1121 depends on SUSPEND && (44x || 40x)
1124 It also enables support for two different idle states (idle-wait
1125 and idle-doze).
1139 depends on PPC_83xx || QUICC_ENGINE || CPM2
1141 Freescale General-purpose Timers support
1145 depends on RAPIDIO = y && HAVE_RAPIDIO
1146 default "n"
1148 Include support for RapidIO controller on Freescale embedded
1157 depends on PPC32
1169 comment "Default settings for advanced configuration options are used"
1170 depends on !ADVANCED_OPTIONS
1174 depends on ADVANCED_OPTIONS
1186 default "0x30000000"
1190 depends on ADVANCED_OPTIONS && PPC_85xx
1201 depends on PPC_85xx
1203 default 3 if !STRICT_KERNEL_RWX
1204 default 9 if DATA_SHIFT >= 24
1205 default 12 if DATA_SHIFT >= 22
1206 default 15
1210 depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
1216 the TLB page size of the mapping for kernel on the particular platform.
1219 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1228 depends on ADVANCED_OPTIONS
1238 default "0xc0000000"
1242 depends on ADVANCED_OPTIONS
1253 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1254 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1255 default "0xc0000000"
1259 depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
1267 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1268 default "0x00000000"
1272 default "0x04000000" if PPC_85xx
1274 This value puts the alignment restrictions on physical address
1280 depends on ADVANCED_OPTIONS
1290 default "0x80000000" if PPC_8xx
1291 default "0xb0000000" if PPC_BOOK3S_32
1292 default "0xc0000000"
1299 default "0xc000000000000000"
1302 default "0xc000000000000000"
1305 default "0x00000000"