Kconfig.cputype

CONFIG_PPC32

Unknown

CONFIG_PPC64 64-bit kernel

Unknown

This option selects whether a 32-bit or a 64-bit kernel will be built.

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.

CONFIG_PPC_85xx Freescale 85xx

Unknown
End of Processor Type

CONFIG_PPC_BOOK3S_603 Support for 603 SW loaded TLB

Unknown

Provide support for processors based on the 603 cores. Those processors don't have a HASH MMU and provide SW TLB loading.

Default
  • y

CONFIG_PPC_BOOK3S_604 Support for 604+ HASH MMU

Unknown

Provide support for processors not based on the 603 cores. Those processors have a HASH MMU.

Default
  • y

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

End of Processor Type

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_POWERPC_CPU Generic 32 bits powerpc

Unknown

CONFIG_E5500_CPU Freescale e5500

Unknown

CONFIG_440_CPU 440 (44x family)

Unknown

CONFIG_464_CPU 464 (44x family)

Unknown

CONFIG_TOOLCHAIN_DEFAULT_CPU Rely on the toolchain's implicit default CPU

Unknown
End of CPU selection

CONFIG_TARGET_CPU

Unknown

CONFIG_TUNE_CPU

Unknown
Defaults
  • "-mtune=power10" if $(cc-option,-mtune=power10)
  • "-mtune=power9" if $(cc-option,-mtune=power9)
  • "-mtune=power8" if $(cc-option,-mtune=power8)

CONFIG_PPC_E500MC e500mc Support

Unknown

This must be enabled for running on e500mc (and derivatives such as e5500/e6500), and must be disabled for running on e500v1 or e500v2.

CONFIG_PPC_FPU_REGS

Unknown

CONFIG_PPC_FPU Support for Floating Point Unit (FPU)

Unknown

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.

CONFIG_FSL_EMB_PERFMON Freescale Embedded Perfmon

Unknown

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_4xx

Unknown
Default
  • y

CONFIG_PHYS_64BIT

Unknown

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

Unknown

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.

CONFIG_VSX VSX Support

Unknown

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.

CONFIG_SPE SPE Support

Unknown

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.

Default
  • y

CONFIG_PPC_64S_HASH_MMU Hash MMU Support

Unknown

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.

Default
  • y

CONFIG_PPC_RADIX_MMU Radix MMU Support

Unknown

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.

Default
  • y

CONFIG_PPC_RADIX_MMU_DEFAULT Default to using the Radix MMU when possible

Unknown

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.

Default
  • y

CONFIG_PPC_RADIX_BROADCAST_TLBIE

Unknown

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.

CONFIG_PPC_KERNEL_PREFIXED Build Kernel with Prefixed Instructions

Unknown

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.

Default
  • n

CONFIG_PPC_KERNEL_PCREL Build Kernel with PC-Relative addressing model

Unknown

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.

Default
  • n

CONFIG_PPC_KUEP Kernel Userspace Execution Prevention

Unknown

Enable support for Kernel Userspace Execution Prevention (KUEP)

If you're unsure, say Y.

Default
  • y

CONFIG_PPC_KUAP Kernel Userspace Access Protection

Unknown

Enable support for Kernel Userspace Access Protection (KUAP)

If you're unsure, say Y.

Default
  • y

CONFIG_PPC_KUAP_DEBUG Extra debugging for Kernel Userspace Access Protection

Unknown

Add extra debugging for Kernel Userspace Access Protection (KUAP) If you're unsure, say N.

CONFIG_PPC_MMU_NOHASH

Unknown
Default
  • y

CONFIG_PPC_HAVE_PMU_SUPPORT

Unknown

CONFIG_PPC_HAVE_PREFIXED_SUPPORT

Unknown

CONFIG_PPC_HAVE_PCREL_SUPPORT

Unknown

CONFIG_PMU_SYSFS Create PMU SPRs sysfs file

Unknown

This option enables sysfs file creation for PMU SPRs like MMCR* and PMC*.

Default
  • n

CONFIG_FORCE_SMP

Unknown
  • Selects

CONFIG_SMP Symmetric multi-processing support

On

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.

CONFIG_NR_CPUS Maximum number of CPUs (2-8192)

  • Visible if
  • Range2 8192 if
Defaults
  • "1" if !
  • "32" if PPC64
  • "4"

CONFIG_CHECK_CACHE_COHERENCY

Unknown

CONFIG_PPC_DOORBELL

Unknown
End of Processor support

CONFIG_VDSO32

Unknown

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 onPPC32 ||
Default
  • y

Endianness selection

This option selects whether a big endian or little endian kernel will be built.

Default

CONFIG_CPU_BIG_ENDIAN Build big endian kernel

Unknown

Build a big endian kernel.

If unsure, select this option.

CONFIG_CPU_LITTLE_ENDIAN Build little endian kernel

Unknown

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.

End of Endianness selection

CONFIG_PPC64_BOOT_WRAPPER

Unknown
  • Depends on
Default
  • n