config [31mCONFIG_PPC64[0m
bool "64-bit kernel"
default n
select [31mCONFIG_ZLIB_DEFLATE[0m
help
This option selects whether a 32-bit or a 64-bit kernel
will be built.
menu "Processor support"
choice
prompt "Processor Type"
depends on [31mCONFIG_PPC32[0m
help
There are five families of 32 bit PowerPC chips supported.
The most common ones are the desktop and server CPUs (601, 603,
604, 740, 750, 74xx) CPUs from Freescale and IBM, with their
embedded 512x/52xx/82xx/83xx/86xx counterparts.
The other embedded parts, namely [31mCONFIG_4xx[0m, [31mCONFIG_8xx[0m, e200 (55xx) and e500
(85xx) each form a family of their own that is not compatible
with the others.
If unsure, select 52xx/[31mCONFIG_6xx[0m/7xx/74xx/82xx/83xx/86xx.
config [31mCONFIG_PPC_BOOK3S_32[0m
bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
select [31mCONFIG_PPC_FPU[0m
config [31mCONFIG_PPC_85xx[0m
bool "Freescale 85xx"
select [31mCONFIG_E500[0m
config [31mCONFIG_PPC_8xx[0m
bool "Freescale 8xx"
select [31mCONFIG_FSL_SOC[0m
select [31mCONFIG_8xx[0m
select [31mCONFIG_PPC_LIB_RHEAP[0m
select [31mCONFIG_SYS_SUPPORTS_HUGETLBFS[0m
config [31mCONFIG_40x[0m
bool "AMCC 40x"
select [31mCONFIG_PPC_DCR_NATIVE[0m
select [31mCONFIG_PPC_UDBG_16550[0m
select [31mCONFIG_4xx_SOC[0m
select [31mCONFIG_PPC_PCI_CHOICE[0m
config [31mCONFIG_44x[0m
bool "AMCC 44x, 46x or 47x"
select [31mCONFIG_PPC_DCR_NATIVE[0m
select [31mCONFIG_PPC_UDBG_16550[0m
select [31mCONFIG_4xx_SOC[0m
select [31mCONFIG_PPC_PCI_CHOICE[0m
select [31mCONFIG_PHYS_64BIT[0m
config [31mCONFIG_E200[0m
bool "Freescale e200"
endchoice
choice
prompt "Processor Type"
depends on [31mCONFIG_PPC64[0m
help
There are two families of 64 bit PowerPC chips supported.
The most common ones are the desktop and server CPUs
(POWER4, POWER5, 970, POWER5+, POWER6, POWER7, POWER8 ...)
The other are the "embedded" processors compliant with the
"Book 3E" variant of the architecture
config [31mCONFIG_PPC_BOOK3S_64[0m
bool "Server processors"
select [31mCONFIG_PPC_FPU[0m
select [31mCONFIG_PPC_HAVE_PMU_SUPPORT[0m
select [31mCONFIG_SYS_SUPPORTS_HUGETLBFS[0m
select [31mCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE[0m
select [31mCONFIG_ARCH_SUPPORTS_NUMA_BALANCING[0m
select [31mCONFIG_IRQ_WORK[0m
select [31mCONFIG_HAVE_KERNEL_XZ[0m
config [31mCONFIG_PPC_BOOK3E_64[0m
bool "Embedded processors"
select [31mCONFIG_PPC_FPU[0m # Make it a choice ?
select [31mCONFIG_PPC_SMP_MUXED_IPI[0m
select [31mCONFIG_PPC_DOORBELL[0m
endchoice
choice
prompt "CPU selection"
depends on [31mCONFIG_PPC64[0m
default [31mCONFIG_POWER8_CPU[0m if [31mCONFIG_CPU_LITTLE_ENDIAN[0m
default [31mCONFIG_GENERIC_CPU[0m
help
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 [31mCONFIG_GENERIC_CPU[0m
bool "Generic"
depends on ![31mCONFIG_CPU_LITTLE_ENDIAN[0m
config [31mCONFIG_CELL_CPU[0m
bool "Cell Broadband Engine"
depends on [31mCONFIG_PPC_BOOK3S_64[0m && ![31mCONFIG_CPU_LITTLE_ENDIAN[0m
config [31mCONFIG_POWER4_CPU[0m
bool "POWER4"
depends on [31mCONFIG_PPC_BOOK3S_64[0m && ![31mCONFIG_CPU_LITTLE_ENDIAN[0m
config [31mCONFIG_POWER5_CPU[0m
bool "POWER5"
depends on [31mCONFIG_PPC_BOOK3S_64[0m && ![31mCONFIG_CPU_LITTLE_ENDIAN[0m
config [31mCONFIG_POWER6_CPU[0m
bool "POWER6"
depends on [31mCONFIG_PPC_BOOK3S_64[0m && ![31mCONFIG_CPU_LITTLE_ENDIAN[0m
config [31mCONFIG_POWER7_CPU[0m
bool "POWER7"
depends on [31mCONFIG_PPC_BOOK3S_64[0m
select [31mCONFIG_ARCH_HAS_FAST_MULTIPLIER[0m
config [31mCONFIG_POWER8_CPU[0m
bool "POWER8"
depends on [31mCONFIG_PPC_BOOK3S_64[0m
select [31mCONFIG_ARCH_HAS_FAST_MULTIPLIER[0m
config [31mCONFIG_E5500_CPU[0m
bool "Freescale e5500"
depends on [31mCONFIG_E500[0m
config [31mCONFIG_E6500_CPU[0m
bool "Freescale e6500"
depends on [31mCONFIG_E500[0m
endchoice
config [31mCONFIG_PPC_BOOK3S[0m
def_bool y
depends on [31mCONFIG_PPC_BOOK3S_32[0m || [31mCONFIG_PPC_BOOK3S_64[0m
config [31mCONFIG_PPC_BOOK3E[0m
def_bool y
depends on [31mCONFIG_PPC_BOOK3E_64[0m
config [31mCONFIG_6xx[0m
def_bool y
depends on [31mCONFIG_PPC32[0m && [31mCONFIG_PPC_BOOK3S[0m
select [31mCONFIG_PPC_HAVE_PMU_SUPPORT[0m
# this is temp to handle compat with arch=ppc
config [31mCONFIG_8xx[0m
bool
config [31mCONFIG_E500[0m
select [31mCONFIG_FSL_EMB_PERFMON[0m
select [31mCONFIG_PPC_FSL_BOOK3E[0m
bool
config [31mCONFIG_PPC_E500MC[0m
bool "e500mc Support"
select [31mCONFIG_PPC_FPU[0m
select [31mCONFIG_COMMON_CLK[0m
depends on [31mCONFIG_E500[0m
help
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 [31mCONFIG_PPC_FPU[0m
bool
default y if [31mCONFIG_PPC64[0m
config [31mCONFIG_FSL_EMB_PERFMON[0m
bool "Freescale Embedded Perfmon"
depends on [31mCONFIG_E500[0m || [31mCONFIG_PPC_83xx[0m
help
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 [31mCONFIG_FSL_EMB_PERF_EVENT[0m
bool
depends on [31mCONFIG_FSL_EMB_PERFMON[0m && [31mCONFIG_PERF_EVENTS[0m && ![31mCONFIG_PPC_PERF_CTRS[0m
default y
config [31mCONFIG_FSL_EMB_PERF_EVENT_E500[0m
bool
depends on [31mCONFIG_FSL_EMB_PERF_EVENT[0m && [31mCONFIG_E500[0m
default y
config [31mCONFIG_4xx[0m
bool
depends on [31mCONFIG_40x[0m || [31mCONFIG_44x[0m
default y
config [31mCONFIG_BOOKE[0m
bool
depends on [31mCONFIG_E200[0m || [31mCONFIG_E500[0m || [31mCONFIG_44x[0m || [31mCONFIG_PPC_BOOK3E[0m
default y
config [31mCONFIG_FSL_BOOKE[0m
bool
depends on ([31mCONFIG_E200[0m || [31mCONFIG_E500[0m) && [31mCONFIG_PPC32[0m
default y
# this is for common code between [31mCONFIG_PPC32[0m & [31mCONFIG_PPC64[0m FSL [31mCONFIG_BOOKE[0m
config [31mCONFIG_PPC_FSL_BOOK3E[0m
bool
select [31mCONFIG_FSL_EMB_PERFMON[0m
select [31mCONFIG_PPC_SMP_MUXED_IPI[0m
select [31mCONFIG_SYS_SUPPORTS_HUGETLBFS[0m if [31mCONFIG_PHYS_64BIT[0m || [31mCONFIG_PPC64[0m
select [31mCONFIG_PPC_DOORBELL[0m
default y if [31mCONFIG_FSL_BOOKE[0m
config [31mCONFIG_PTE_64BIT[0m
bool
depends on [31mCONFIG_44x[0m || [31mCONFIG_E500[0m || [31mCONFIG_PPC_86xx[0m
default y if [31mCONFIG_PHYS_64BIT[0m
config [31mCONFIG_PHYS_64BIT[0m
bool 'Large physical address support' if [31mCONFIG_E500[0m || [31mCONFIG_PPC_86xx[0m
depends on ([31mCONFIG_44x[0m || [31mCONFIG_E500[0m || [31mCONFIG_PPC_86xx[0m) && ![31mCONFIG_PPC_83xx[0m && ![31mCONFIG_PPC_82xx[0m
---help---
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
[31mCONFIG_SWIOTLB[0m under Kernel Options for this to work. The actual number
is platform-dependent.
If in doubt, say N here.
config [31mCONFIG_ALTIVEC[0m
bool "AltiVec Support"
depends on [31mCONFIG_6xx[0m || [31mCONFIG_PPC_BOOK3S_64[0m || ([31mCONFIG_PPC_E500MC[0m && [31mCONFIG_PPC64[0m)
---help---
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 [31mCONFIG_VSX[0m
bool "VSX Support"
depends on [31mCONFIG_PPC_BOOK3S_64[0m && [31mCONFIG_ALTIVEC[0m && [31mCONFIG_PPC_FPU[0m
---help---
This option enables kernel support for the Vector Scaler extensions
to the PowerPC processor. The kernel currently supports saving and
restoring [31mCONFIG_VSX[0m registers, and turning on the '[31mCONFIG_VSX[0m enable' bit so user
processes can execute [31mCONFIG_VSX[0m instructions.
This option is only useful if you have a processor that supports
[31mCONFIG_VSX[0m (P7 and above), but does not have any affect on a non-[31mCONFIG_VSX[0m
CPUs (it does, however add code to the kernel).
If in doubt, say Y here.
config [31mCONFIG_PPC_ICSWX[0m
bool "Support for PowerPC icswx coprocessor instruction"
depends on [31mCONFIG_PPC_BOOK3S_64[0m
default n
---help---
This option enables kernel support for the PowerPC Initiate
Coprocessor Store Word (icswx) coprocessor instruction on POWER7
or newer processors.
This option is only useful if you have a processor that supports
the icswx coprocessor instruction. It does not have any effect
on processors without the icswx coprocessor instruction.
This option slightly increases kernel memory usage.
If in doubt, say N here.
config [31mCONFIG_PPC_ICSWX_PID[0m
bool "icswx requires direct PID management"
depends on [31mCONFIG_PPC_ICSWX[0m
default y
---help---
The PID register in server is used explicitly for ICSWX. In
embedded systems PID management is done by the system.
config [31mCONFIG_PPC_ICSWX_USE_SIGILL[0m
bool "Should a bad CT cause a SIGILL?"
depends on [31mCONFIG_PPC_ICSWX[0m
default n
---help---
Should a bad CT used for "non-record form ICSWX" cause an
illegal instruction signal or should it be silent as
architected.
If in doubt, say N here.
config [31mCONFIG_SPE_POSSIBLE[0m
def_bool y
depends on [31mCONFIG_E200[0m || ([31mCONFIG_E500[0m && ![31mCONFIG_PPC_E500MC[0m)
config [31mCONFIG_SPE[0m
bool "SPE Support"
depends on [31mCONFIG_SPE_POSSIBLE[0m
default y
---help---
This option enables kernel support for the Signal Processing
Extensions ([31mCONFIG_SPE[0m) to the PowerPC processor. The kernel currently
supports saving and restoring [31mCONFIG_SPE[0m registers, and turning on the
'spe enable' bit so user processes can execute [31mCONFIG_SPE[0m instructions.
This option is only useful if you have a processor that supports
[31mCONFIG_SPE[0m (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.
config [31mCONFIG_PPC_STD_MMU[0m
def_bool y
depends on [31mCONFIG_PPC_BOOK3S[0m
config [31mCONFIG_PPC_STD_MMU_32[0m
def_bool y
depends on [31mCONFIG_PPC_STD_MMU[0m && [31mCONFIG_PPC32[0m
config [31mCONFIG_PPC_STD_MMU_64[0m
def_bool y
depends on [31mCONFIG_PPC_STD_MMU[0m && [31mCONFIG_PPC64[0m
config [31mCONFIG_PPC_RADIX_MMU[0m
bool "Radix MMU Support"
depends on [31mCONFIG_PPC_BOOK3S_64[0m
default y
help
Enable support for the Power [31mCONFIG_ISA[0m 3.0 Radix style [31mCONFIG_MMU[0m. Currently this
is only implemented by IBM Power9 CPUs, if you don't have one of them
you can probably disable this.
config [31mCONFIG_PPC_MMU_NOHASH[0m
def_bool y
depends on ![31mCONFIG_PPC_STD_MMU[0m
config [31mCONFIG_PPC_BOOK3E_MMU[0m
def_bool y
depends on [31mCONFIG_FSL_BOOKE[0m || [31mCONFIG_PPC_BOOK3E[0m
config [31mCONFIG_PPC_MM_SLICES[0m
bool
default y if (![31mCONFIG_PPC_FSL_BOOK3E[0m && [31mCONFIG_PPC64[0m && [31mCONFIG_HUGETLB_PAGE[0m) || ([31mCONFIG_PPC_STD_MMU_64[0m && [31mCONFIG_PPC_64K_PAGES[0m)
default n
config [31mCONFIG_PPC_HAVE_PMU_SUPPORT[0m
bool
config [31mCONFIG_PPC_PERF_CTRS[0m
def_bool y
depends on [31mCONFIG_PERF_EVENTS[0m && [31mCONFIG_PPC_HAVE_PMU_SUPPORT[0m
help
This enables the powerpc-specific perf_event back-end.
config [31mCONFIG_SMP[0m
depends on [31mCONFIG_PPC_BOOK3S[0m || [31mCONFIG_PPC_BOOK3E[0m || [31mCONFIG_FSL_BOOKE[0m || [31mCONFIG_PPC_47x[0m
bool "Symmetric multi-processing support"
---help---
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 [31mCONFIG_SMP[0m 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 [31mCONFIG_NR_CPUS[0m
int "Maximum number of CPUs (2-8192)"
range 2 8192
depends on [31mCONFIG_SMP[0m
default "32" if [31mCONFIG_PPC64[0m
default "4"
config [31mCONFIG_NOT_COHERENT_CACHE[0m
bool
depends on [31mCONFIG_4xx[0m || [31mCONFIG_8xx[0m || [31mCONFIG_E200[0m || [31mCONFIG_PPC_MPC512x[0m || [31mCONFIG_GAMECUBE_COMMON[0m
default n if [31mCONFIG_PPC_47x[0m
default y
config [31mCONFIG_CHECK_CACHE_COHERENCY[0m
bool
config [31mCONFIG_PPC_DOORBELL[0m
bool
default n
endmenu
config [31mCONFIG_VDSO32[0m
def_bool y
depends on [31mCONFIG_PPC32[0m || [31mCONFIG_CPU_BIG_ENDIAN[0m
help
This symbol controls whether we build the 32-bit [31mCONFIG_VDSO[0m. 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 [31mCONFIG_VDSO[0m if we're building for
big endian. That is because the only little endian configuration we
support is ppc64le which is 64-bit only.
choice
prompt "Endianness selection"
default [31mCONFIG_CPU_BIG_ENDIAN[0m
help
This option selects whether a big endian or little endian kernel will
be built.
config [31mCONFIG_CPU_BIG_ENDIAN[0m
bool "Build big endian kernel"
help
Build a big endian kernel.
If unsure, select this option.
config [31mCONFIG_CPU_LITTLE_ENDIAN[0m
bool "Build little endian kernel"
depends on [31mCONFIG_PPC_BOOK3S_64[0m
select [31mCONFIG_PPC64_BOOT_WRAPPER[0m
help
Build a little endian kernel.
Note that if cross compiling a little endian kernel,
[31mCONFIG_CROSS_COMPILE[0m must point to a toolchain capable of targeting
little endian powerpc.
endchoice
config [31mCONFIG_PPC64_BOOT_WRAPPER[0m
def_bool n
depends on [31mCONFIG_CPU_LITTLE_ENDIAN[0m