CONFIG_PPC32
CONFIG_PPC64 64-bit kernel
This option selects whether a 32-bit or a 64-bit kernel will be built.
- Selects
ZLIB_DEFLATE
Processor support
Processor Type
There are five families of 32 bit PowerPC chips supported. The most common ones are the desktop and server CPUs (603, 604, 740, 750, 74xx) CPUs from Freescale and IBM, with their embedded 512x/52xx/82xx/83xx/86xx counterparts. The other embedded parts, namely 4xx, 8xx and e500 (85xx) each form a family of their own that is not compatible with the others.
If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx.
- Depends on
PPC32
CONFIG_PPC_BOOK3S_32 512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx
- Implies
PPC_FPU - Selects
PPC_HAVE_PMU_SUPPORT - Selects
HAVE_ARCH_VMAP_STACK
CONFIG_PPC_85xx Freescale 85xx
- Selects
PPC_E500
CONFIG_PPC_8xx Freescale 8xx
- Selects
ARCH_SUPPORTS_HUGETLBFS - Selects
FSL_SOC - Selects
PPC_KUEP - Selects
HAVE_ARCH_VMAP_STACK - Selects
HUGETLBFS
CONFIG_44x AMCC 44x, 46x or 47x
- Selects
PPC_DCR_NATIVE - Selects
PPC_UDBG_16550 - Selects
HAVE_PCI - Selects
PHYS_64BIT - Selects
PPC_KUEP
CONFIG_PPC_BOOK3S_603 Support for 603 SW loaded TLB
Provide support for processors based on the 603 cores. Those processors don't have a HASH MMU and provide SW TLB loading.
- Depends on
PPC_BOOK3S_32
CONFIG_PPC_BOOK3S_604 Support for 604+ HASH MMU
Provide support for processors not based on the 603 cores. Those processors have a HASH MMU.
- Visible if
PPC_BOOK3S_603 - Depends on
PPC_BOOK3S_32
Processor Type
There are two families of 64 bit PowerPC chips supported. The most common ones are the desktop and server CPUs (POWER5, 970, POWER5+, POWER6, POWER7, POWER8, POWER9 ...)
The other are the "embedded" processors compliant with the "Book 3E" variant of the architecture
- Depends on
PPC64
CONFIG_PPC_BOOK3S_64 Server processors
- Selects
PPC_FPU - Selects
PPC_HAVE_PMU_SUPPORT - Selects
ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION - Selects
ARCH_ENABLE_SPLIT_PMD_PTLOCK - Selects
ARCH_SUPPORTS_HUGETLBFS - Selects
ARCH_HAS_PTE_PROTNONE - Selects
ARCH_SUPPORTS_NUMA_BALANCING - Selects
HAVE_MOVE_PMD - Selects
HAVE_MOVE_PUD - Selects
IRQ_WORK - Selects
PPC_64S_HASH_MMU if !PPC_RADIX_MMU - Selects
KASAN_VMALLOC if KASAN - Selects
ARCH_HAS_LAZY_MMU_MODE
CONFIG_PPC_BOOK3E_64 Embedded processors
- Selects
PPC_E500 - Selects
PPC_E500MC - Selects
PPC_FPU # Make it a choice ? - Selects
PPC_SMP_MUXED_IPI - Selects
PPC_DOORBELL - Selects
ZONE_DMA
CONFIG_PPC_THP
- Depends on
PPC_BOOK3S_64 - Depends on
PPC_RADIX_MMU || (PPC_64S_HASH_MMU && PAGE_SIZE_64KB) - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD - Selects
ARCH_HAS_PMD_SOFTLEAVES if TRANSPARENT_HUGEPAGE
CPU selection
This will create a kernel which is optimised for a particular CPU. The resulting kernel may not run on other CPUs, so use this with care.
If unsure, select Generic.
CONFIG_POWERPC64_CPU Generic 64 bits powerpc
- Depends on
PPC_BOOK3S_64 - Selects
ARCH_HAS_FAST_MULTIPLIER if - Selects
PPC_64S_HASH_MMU - Selects
PPC_HAS_LBARX_LHARX if
CONFIG_POWERPC_CPU Generic 32 bits powerpc
- Depends on
PPC_BOOK3S_32
CONFIG_CELL_CPU Cell Broadband Engine
- Depends on
PPC_BOOK3S_64 && ! - Depends on
!CC_IS_CLANG - Selects
PPC_64S_HASH_MMU
CONFIG_PPC_970_CPU PowerPC 970 (including PowerPC G5)
- Depends on
PPC_BOOK3S_64 && ! - Selects
PPC_64S_HASH_MMU
CONFIG_POWER6_CPU POWER6
- Depends on
PPC_BOOK3S_64 && ! - Selects
PPC_64S_HASH_MMU
CONFIG_POWER7_CPU POWER7
- Depends on
PPC_BOOK3S_64 - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
PPC_64S_HASH_MMU - Selects
PPC_HAS_LBARX_LHARX
CONFIG_POWER8_CPU POWER8
- Depends on
PPC_BOOK3S_64 - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
PPC_64S_HASH_MMU - Selects
PPC_HAS_LBARX_LHARX
CONFIG_POWER9_CPU POWER9
- Depends on
PPC_BOOK3S_64 - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
PPC_HAS_LBARX_LHARX
CONFIG_POWER10_CPU POWER10
- Depends on
PPC_BOOK3S_64 - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
PPC_HAVE_PREFIXED_SUPPORT - Selects
PPC_HAVE_PCREL_SUPPORT
CONFIG_E5500_CPU Freescale e5500
CONFIG_E6500_CPU Freescale e6500
- Depends on
PPC64 && PPC_E500 - Depends on
!CC_IS_CLANG - Selects
PPC_HAS_LBARX_LHARX
CONFIG_440_CPU 440 (44x family)
- Depends on
44x
CONFIG_464_CPU 464 (44x family)
- Depends on
44x - Depends on
!CC_IS_CLANG
CONFIG_476_CPU 476 (47x family)
- Depends on
PPC_47x - Depends on
!CC_IS_CLANG
CONFIG_860_CPU 8xx family
- Depends on
PPC_8xx - Depends on
!CC_IS_CLANG
CONFIG_E300C2_CPU e300c2 (832x)
- Depends on
PPC_BOOK3S_32 - Depends on
!CC_IS_CLANG
CONFIG_E300C3_CPU e300c3 (831x)
- Depends on
PPC_BOOK3S_32 - Depends on
!CC_IS_CLANG
CONFIG_G4_CPU G4 (74xx)
- Depends on
PPC_BOOK3S_32 - Selects
ALTIVEC
CONFIG_E500_CPU e500 (8540)
- Depends on
PPC_85xx && !PPC_E500MC
CONFIG_E500MC_CPU e500mc
- Depends on
PPC_85xx && PPC_E500MC
CONFIG_TOOLCHAIN_DEFAULT_CPU Rely on the toolchain's implicit default CPU
CONFIG_TARGET_CPU_BOOL
CONFIG_TARGET_CPU
- Depends on
TARGET_CPU_BOOL
CONFIG_TUNE_CPU
- Depends on
POWERPC64_CPU
CONFIG_PPC_BOOK3S
- Depends on
PPC_BOOK3S_32 || PPC_BOOK3S_64
CONFIG_PPC_E500
- Selects
FSL_EMB_PERFMON - Selects
ARCH_SUPPORTS_HUGETLBFS - Selects
PPC_SMP_MUXED_IPI - Selects
PPC_DOORBELL - Selects
PPC_KUEP
CONFIG_PPC_E500MC e500mc Support
This must be enabled for running on e500mc (and derivatives such as e5500/e6500), and must be disabled for running on e500v1 or e500v2.
- Selects
PPC_FPU - Selects
COMMON_CLK - Depends on
PPC_E500
CONFIG_PPC_FPU_REGS
CONFIG_PPC_FPU Support for Floating Point Unit (FPU)
This must be enabled to support the Floating Point Unit Most 6xx have an FPU but e300c2 core (mpc832x) don't have an FPU, so when building an embedded kernel for that target you can disable FPU support.
If unsure say Y.
- Visible if
PPC_MPC832x - Selects
PPC_FPU_REGS
CONFIG_FSL_EMB_PERFMON Freescale Embedded Perfmon
This is the Performance Monitor support found on the e500 core and some e300 cores (c3 and c4). Select this only if your core supports the Embedded Performance Monitor APU
CONFIG_FSL_EMB_PERF_EVENT
- Depends on
FSL_EMB_PERFMON && PERF_EVENTS && !PPC_PERF_CTRS
CONFIG_FSL_EMB_PERF_EVENT_E500
- Depends on
FSL_EMB_PERF_EVENT && PPC_E500
CONFIG_4xx
- Depends on
44x
CONFIG_BOOKE
CONFIG_PTE_64BIT
CONFIG_PHYS_64BIT
This option enables kernel support for larger than 32-bit physical addresses. This feature may not be available on all cores.
If you have more than 3.5GB of RAM or so, you also need to enable SWIOTLB under Kernel Options for this to work. The actual number is platform-dependent.
If in doubt, say N here.
CONFIG_ALTIVEC AltiVec Support
This option enables kernel support for the Altivec extensions to the PowerPC processor. The kernel currently supports saving and restoring altivec registers, and turning on the 'altivec enable' bit so user processes can execute altivec instructions.
This option is only usefully if you have a processor that supports altivec (G4, otherwise known as 74xx series), but does not have any affect on a non-altivec cpu (it does, however add code to the kernel).
If in doubt, say Y here.
- Depends on
PPC_BOOK3S || (PPC_E500MC && PPC64 && !E5500_CPU) - Selects
PPC_FPU
CONFIG_VSX VSX Support
This option enables kernel support for the Vector Scaler extensions to the PowerPC processor. The kernel currently supports saving and restoring VSX registers, and turning on the 'VSX enable' bit so user processes can execute VSX instructions.
This option is only useful if you have a processor that supports VSX (P7 and above), but does not have any affect on a non-VSX CPUs (it does, however add code to the kernel).
If in doubt, say Y here.
- Depends on
PPC_BOOK3S_64 && ALTIVEC && PPC_FPU
CONFIG_SPE_POSSIBLE
- Depends on
PPC_E500 && !PPC_E500MC
CONFIG_SPE SPE Support
This option enables kernel support for the Signal Processing Extensions (SPE) to the PowerPC processor. The kernel currently supports saving and restoring SPE registers, and turning on the 'spe enable' bit so user processes can execute SPE instructions.
This option is only useful if you have a processor that supports SPE (e500, otherwise known as 85xx series), but does not have any effect on a non-spe cpu (it does, however add code to the kernel).
If in doubt, say Y here.
- Depends on
SPE_POSSIBLE
CONFIG_PPC_64S_HASH_MMU Hash MMU Support
Enable support for the Power ISA Hash style MMU. This is implemented by all IBM Power and other 64-bit Book3S CPUs before ISA v3.0. The OpenPOWER ISA does not mandate the hash MMU and some CPUs do not implement it (e.g., Microwatt).
Note that POWER9 PowerVM platforms only support the hash MMU. From POWER10 radix is also supported by PowerVM.
If you're unsure, say Y.
- Depends on
PPC_BOOK3S_64
CONFIG_PPC_RADIX_MMU Radix MMU Support
Enable support for the Power ISA 3.0 Radix style MMU. Currently this is only implemented by IBM Power9 CPUs, if you don't have one of them you can probably disable this.
- Depends on
PPC_BOOK3S_64
CONFIG_PPC_RADIX_MMU_DEFAULT Default to using the Radix MMU when possible
When the hardware supports the Radix MMU, default to using it unless "disable_radix[=yes]" is specified on the kernel command line.
If this option is disabled, the Hash MMU will be used by default, unless "disable_radix=no" is specified on the kernel command line.
If you're unsure, say Y.
- Visible if
PPC_64S_HASH_MMU - Depends on
PPC_BOOK3S_64 - Depends on
PPC_RADIX_MMU
CONFIG_PPC_RADIX_BROADCAST_TLBIE
Power ISA v3.0 and later implementations in the Linux Compliancy Subset and lower are not required to implement broadcast TLBIE instructions. Platforms with CPUs that do implement TLBIE broadcast, that is, where a TLB invalidation instruction performed on one CPU operates on the TLBs of all CPUs in the system, should select this option. If this option is selected, the disable_tlbie kernel command line option can be used to cause global TLB invalidations to be done via IPIs; without it, IPIs will be used unconditionally.
- Depends on
PPC_RADIX_MMU
CONFIG_PPC_KERNEL_PREFIXED Build Kernel with Prefixed Instructions
POWER10 and later CPUs support prefixed instructions, 8 byte instructions that include large immediate, pc relative addressing, and various floating point, vector, MMA.
This option builds the kernel with prefixed instructions, and allows a pc relative addressing option to be selected.
Kernel support for prefixed instructions in applications and guests is not affected by this option.
- Depends on
PPC_HAVE_PREFIXED_SUPPORT - Depends on
CC_HAS_PREFIXED
CONFIG_PPC_KERNEL_PCREL Build Kernel with PC-Relative addressing model
POWER10 and later CPUs support pc relative addressing. Recent compilers have support for an ELF ABI extension for a pc relative ABI.
This option builds the kernel with the pc relative ABI model.
- Depends on
PPC_HAVE_PCREL_SUPPORT - Depends on
PPC_HAVE_PREFIXED_SUPPORT - Depends on
CC_HAS_PCREL - Selects
PPC_KERNEL_PREFIXED
CONFIG_PPC_KUEP Kernel Userspace Execution Prevention
Enable support for Kernel Userspace Execution Prevention (KUEP)
If you're unsure, say Y.
CONFIG_PPC_KUAP Kernel Userspace Access Protection
Enable support for Kernel Userspace Access Protection (KUAP)
If you're unsure, say Y.
CONFIG_PPC_KUAP_DEBUG Extra debugging for Kernel Userspace Access Protection
Add extra debugging for Kernel Userspace Access Protection (KUAP) If you're unsure, say N.
- Depends on
PPC_KUAP
CONFIG_PPC_PKEY
- Depends on
PPC_BOOK3S_64 - Depends on
PPC_MEM_KEYS || PPC_KUAP || PPC_KUEP
CONFIG_PPC_MMU_NOHASH
- Depends on
!PPC_BOOK3S
CONFIG_PPC_HAVE_PMU_SUPPORT
CONFIG_PPC_HAVE_PREFIXED_SUPPORT
CONFIG_PPC_HAVE_PCREL_SUPPORT
CONFIG_PMU_SYSFS Create PMU SPRs sysfs file
This option enables sysfs file creation for PMU SPRs like MMCR* and PMC*.
CONFIG_PPC_PERF_CTRS
This enables the powerpc-specific perf_event back-end.
- Depends on
PERF_EVENTS && PPC_HAVE_PMU_SUPPORT
CONFIG_FORCE_SMP
- Selects
CONFIG_SMP Symmetric multi-processing support
This enables support for systems with more than one CPU. If you have a system with only one CPU, say N. If you have a system with more than one CPU, say Y. Note that the kernel does not currently support SMP machines with 603/603e/603ev or PPC750 ("G3") processors since they have inadequate hardware support for multiprocessor operation.
If you say N here, the kernel will run on single and multiprocessor machines, but will use only one CPU of a multiprocessor machine. If you say Y here, the kernel will run on single-processor machines. On a single-processor machine, the kernel will run faster if you say N here.
If you don't know what to do here, say N.
- Depends on
PPC_BOOK3S || PPC_E500 || PPC_47x - Selects
GENERIC_IRQ_MIGRATION - Visible if
!FORCE_SMP
CONFIG_NR_CPUS Maximum number of CPUs (2-8192)
- Visible if
- Range
2 8192 if
CONFIG_NOT_COHERENT_CACHE
- Depends on
44x || PPC_8xx || PPC_MPC512x || GAMECUBE_COMMON || AMIGAONE - Selects
ARCH_HAS_DMA_PREP_COHERENT - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
DMA_DIRECT_REMAP
CONFIG_CHECK_CACHE_COHERENCY
CONFIG_PPC_DOORBELL
CONFIG_VDSO32
This symbol controls whether we build the 32-bit VDSO. We obviously want to do that if we're building a 32-bit kernel. If we're building a 64-bit kernel then we only want a 32-bit VDSO if we're also enabling COMPAT.
- Depends on
PPC32 ||
Endianness selection
This option selects whether a big endian or little endian kernel will be built.
CONFIG_CPU_BIG_ENDIAN Build big endian kernel
Build a big endian kernel.
If unsure, select this option.
CONFIG_CPU_LITTLE_ENDIAN Build little endian kernel
Build a little endian kernel.
Note that if cross compiling a little endian kernel, CROSS_COMPILE must point to a toolchain capable of targeting little endian powerpc.
- Depends on
PPC_BOOK3S_64 - Selects
PPC64_BOOT_WRAPPER
CONFIG_PPC64_ELF_ABI_V1
CONFIG_PPC64_ELF_ABI_V2
CONFIG_PPC64_BOOT_WRAPPER
- Depends on
- arch/alpha/Kconfig:465
- arch/arc/Kconfig:167
- arch/arm/Kconfig:910
- arch/arm64/Kconfig:358
- arch/csky/Kconfig:313
- arch/hexagon/Kconfig:104
- arch/loongarch/Kconfig:513
- arch/mips/Kconfig:2700
- arch/openrisc/Kconfig:191
- arch/parisc/Kconfig:314
- arch/powerpc/platforms/Kconfig.cputype:550
- arch/riscv/Kconfig:437
- arch/s390/Kconfig:530
- arch/sh/Kconfig:560
- arch/sparc/Kconfig:158
- arch/um/Kconfig:97
- arch/x86/Kconfig:437
- arch/xtensa/Kconfig:245