Lines Matching +full:default +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0
6 default y if PPC32
10 default y if PPC64
14 default y
17 # On Book3S 64, the default virtual address space for 64-bit processes
20 # between bottom-up and top-down allocations for applications that
23 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K)
24 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K)
26 # On all other 64-bit platforms (currently only Book3E), the virtual
29 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K)
31 # For 32-bit, use the compat values, as they're the same.
32 default ARCH_MMAP_RND_COMPAT_BITS_MAX
36 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K)
37 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K)
39 # For 32-bit, use the compat values, as they're the same.
40 default ARCH_MMAP_RND_COMPAT_BITS_MIN
43 # Total virtual address space for 32-bit processes is 2^31 (2GB).
45 default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K)
46 default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K)
47 default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
48 default 17 # 17 = 29 (512MB) - 12 (4K)
51 # Total virtual address space for 32-bit processes is 2^31 (2GB).
53 default 5 if PPC_256K_PAGES # 5 = 23 (8MB) - 18 (256K)
54 default 7 if PPC_64K_PAGES # 7 = 23 (8MB) - 16 (64K)
55 default 9 if PPC_16K_PAGES # 9 = 23 (8MB) - 14 (16K)
56 default 11 # 11 = 23 (8MB) - 12 (4K)
70 default "512"
75 drivers will fail to load or worse - handle with care.
79 depends on SMP && (DEBUGGER || KEXEC_CORE || HARDLOCKUP_DETECTOR)
80 default y
84 depends on HARDLOCKUP_DETECTOR
85 depends on HAVE_HARDLOCKUP_DETECTOR_ARCH
86 default y
95 default y
99 default y
103 default y
104 depends on SMP && PREEMPTION
108 default y
112 default y
214 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC
242 …select HAVE_STACKPROTECTOR if PPC32 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-…
243 …select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-…
277 default y
278 depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
282 default y
286 default 180
290 depends on PPC64
291 depends on !CC_IS_CLANG || CLANG_VERSION >= 120000
292 default y if !CPU_LITTLE_ENDIAN
298 depends on COMPAT && SYSVIPC
299 default y
303 default y
307 default PCI
314 default y if PPC32 && SMP
318 default y
322 default y
323 depends on BUG
327 depends on GENERIC_BUG
330 default y if PMAC_APM_EMU
341 Used to allow a board to specify it wants a uImage built by default
345 default y
349 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
355 depends on PPC_POWERNV || PPC_PSERIES
365 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
366 default y
370 depends on PCI
371 depends on PPC64 # not supported on 32 bits yet
378 depends on 40x || BOOKE
379 default y
383 depends on PPC_ADV_DEBUG_REGS
384 default 4 if 44x
385 default 2
389 depends on PPC_ADV_DEBUG_REGS
390 default 2
394 depends on PPC_ADV_DEBUG_REGS
395 default 2 if 44x
396 default 0
400 depends on PPC_ADV_DEBUG_REGS && 44x
401 default y
408 default 2 if !PPC64
409 default 4
418 depends on PPC32
425 depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
429 a floating-point unit and therefore do not implement the
430 floating-point instructions in the PowerPC instruction set. If you
431 say Y here, the kernel will include code to emulate a floating-point
432 unit, which will allow programs that use floating-point
436 such as fsqrt on cores that do have an FPU but do not implement
441 default MATH_EMULATION_FULL
442 depends on MATH_EMULATION
454 Select this if you know there does have a hardware FPU on your
461 depends on PPC_BOOK3S_64
462 depends on SMP
466 Support user-mode Transactional Memory on POWERPC.
470 depends on KVM_BOOK3S_HV_POSSIBLE
471 depends on DEVICE_PRIVATE
472 default n
475 supports the Protected Execution Facility (PEF). On such platforms,
483 depends on PPC64
492 depends on PPC64 && CPU_LITTLE_ENDIAN && FUNCTION_TRACER
493 …_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -I$(srctree)/incl…
497 depends on SMP && (PPC_PSERIES || \
500 Say Y here to be able to disable and re-enable individual
501 CPUs at runtime on SMP machines.
507 depends on SMP
508 default PPC_BOOK3S_64
511 fairness on large SMP and NUMA systems without harming single threaded
516 depends on HOTPLUG_CPU
520 depends on PPC_BOOK3S_64
521 default "y" if PPC_POWERNV
526 depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP)) || PPC_BOOK3E
548 depends on PPC64
549 depends on CRYPTO=y
550 depends on CRYPTO_SHA256=y
562 depends on PPC64 || (FLATMEM && (44x || FSL_BOOKE))
570 16k-aligned base address. The kernel is linked as a
571 position-independent executable (PIE) and contains dynamic relocations
574 One use is for the kexec on panic case where the recovery kernel
582 load address of the kernel (eg. u-boot/mkimage).
586 depends on (FSL_BOOKE && FLATMEM && PPC32)
587 depends on RELOCATABLE
591 relying on knowledge of the location of kernel internals.
597 depends on (PPC64 && RELOCATABLE)
600 loaded at, which tends to be non-zero and therefore test the
605 depends on PPC64 || PPC_BOOK3S_32 || FSL_BOOKE || (44x && !SMP)
613 bool "Firmware-assisted dump"
614 depends on PPC64 && (PPC_RTAS || PPC_POWERNV)
621 while preserving memory contents. Firmware-assisted dump
629 bool "Preserve Firmware-assisted dump"
630 depends on PPC64 && PPC_POWERNV && !FA_DUMP
632 On a kernel with FA_DUMP disabled, this option helps to preserve
639 depends on PPC64 && PPC_POWERNV
647 bool "Distribute interrupts on all CPUs by default"
648 depends on SMP
657 depends on PPC64 && SMP
658 default y if PPC_PSERIES || PPC_POWERNV
660 Enable NUMA (Non-Uniform Memory Access) support.
662 The kernel will try to allocate memory used by a CPU on the
668 default "8" if PPC64
669 default "4"
670 depends on NUMA
674 depends on NUMA
678 depends on NUMA
682 depends on PPC64
686 depends on (PPC64 && !NUMA) || PPC32
690 depends on PPC64
695 depends on PPC_BOOK3S_64
701 default 0x5deadbeef0000000 if PPC64
702 default 0
706 depends on MEMORY_HOTPLUG
710 default PPC_4K_PAGES
726 them with 4k pages, loading them on demand, but with the
739 depends on 44x || PPC_8xx
743 depends on 44x || PPC_BOOK3S_64
747 bool "256k page size (Requires non-standard binutils settings)"
748 depends on 44x && !PPC_47x
753 compiled with '-zmax-page-size' set to 256K (the default is 64K) using
761 default 18 if PPC_256K_PAGES
762 default 16 if PPC_64K_PAGES
763 default 14 if PPC_16K_PAGES
764 default 12
769 default "15" if PPC_256K_PAGES
770 default "14" if PPC64
771 default "14" if KASAN
772 default "13"
774 Used to define the stack size. The default is almost always what you
779 depends on ADVANCED_OPTIONS
780 depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
781 depends on PPC_BOOK3S_32 || (PPC_8xx && !PIN_TLB_DATA && !STRICT_KERNEL_RWX)
785 number of possible blocks. The default should be OK for most configs.
791 default 24 if STRICT_KERNEL_RWX && PPC64
794 default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
795 default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
796 default 23 if STRICT_KERNEL_RWX && PPC_8xx
797 default 23 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && PIN_TLB_DATA
798 default 19 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
799 default PPC_PAGE_SHIFT
801 On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
804 On 8xx, large pages (512kb or 8M) are used to map kernel linear
812 default "9" if PPC64 && PPC_64K_PAGES
814 default "13" if PPC64 && !PPC_64K_PAGES
816 default "9" if PPC32 && PPC_16K_PAGES
818 default "7" if PPC32 && PPC_64K_PAGES
820 default "5" if PPC32 && PPC_256K_PAGES
822 default "11"
834 The page size is not necessarily 4KB. For example, on 64-bit
840 default n
841 depends on PPC_BOOK3S_64 && PPC_64K_PAGES
845 on the 4k subpages of each 64k page.
851 depends on PPC_BOOK3S_64
854 inside LPARs on supported CPUs.
866 depends on PPC64 && SMP
874 depends on PPC_BOOK3S_64
875 default "y" if PPC_POWERNV
882 default ""
884 On some platforms, there is currently no way for the boot loader to
886 some command-line options at build time by entering them here. In
891 default CMDLINE_FROM_BOOTLOADER
896 Uses the command-line options passed by the boot loader. If
897 the boot loader doesn't provide any, the default kernel command
903 The command-line arguments provided by the boot loader will be
904 appended to the default kernel command string.
907 bool "Always use the default kernel command string"
909 Always use the default kernel command string, even if the boot
912 command-line options your boot loader passes to the kernel.
917 string "Additional default image types"
923 Targets in this list will be build as part of the default build
931 depends on ADB_PMU
938 depends on PPC_BOOK3S_64
943 page-based protections, but without requiring modification of the
946 For details, see Documentation/core-api/protection-keys.rst
953 depends on PPC_POWERNV || PPC_PSERIES
954 depends on IMA_ARCH_POLICY
959 to enable OS secure boot on systems that have firmware support for
964 default y
965 depends on PPC_SECURE_BOOT
966 depends on SYSFS
970 read/write operations on these variables. Say Y if you have
975 default y
976 depends on PPC_RTAS
979 compromise system integrity. This option enforces restrictions on the
990 default PCI
995 bool "Support for ISA-bus hardware"
996 depends on PPC_CHRP
999 Find out whether you have ISA slots on your motherboard. ISA is the
1007 depends on ISA_DMA_API
1008 default y
1012 depends on PCI
1013 default y if 40x || 44x
1029 default y
1030 depends on SUSPEND && (PPC_85xx || PPC_86xx)
1037 default y
1038 depends on SUSPEND && (44x || 40x)
1041 It also enables support for two different idle states (idle-wait
1042 and idle-doze).
1056 depends on PPC_83xx || QUICC_ENGINE || CPM2
1058 Freescale General-purpose Timers support
1062 depends on PCI && 8260
1064 default y
1068 depends on RAPIDIO = y && HAVE_RAPIDIO
1069 default "n"
1071 Include support for RapidIO controller on Freescale embedded
1080 depends on PPC32
1092 comment "Default settings for advanced configuration options are used"
1093 depends on !ADVANCED_OPTIONS
1097 depends on ADVANCED_OPTIONS
1109 default "0x30000000"
1113 depends on ADVANCED_OPTIONS && FSL_BOOKE
1124 depends on FSL_BOOKE
1126 default 3
1130 depends on ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || 44x)
1136 the TLB page size of the mapping for kernel on the particular platform.
1139 DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
1148 depends on ADVANCED_OPTIONS
1158 default "0xc0000000"
1162 depends on ADVANCED_OPTIONS
1173 default PAGE_OFFSET if PAGE_OFFSET_BOOL
1174 default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL
1175 default "0xc0000000"
1179 depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
1187 default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL
1188 default "0x00000000"
1192 default "0x04000000" if FSL_BOOKE
1194 This value puts the alignment restrictions on physical address
1200 depends on ADVANCED_OPTIONS
1210 default "0x80000000" if PPC_8xx
1211 default "0xb0000000" if PPC_BOOK3S_32
1212 default "0xc0000000"
1219 default "0xc000000000000000"
1222 default "0xc000000000000000"
1225 default "0x00000000"