Kconfig

CONFIG_MMU

On
Default
  • y

CONFIG_CPU_BIG_ENDIAN

Unknown
Default
  • y

CONFIG_LOCKDEP_SUPPORT

On
Default
  • y

CONFIG_STACKTRACE_SUPPORT

On
Default
  • y

CONFIG_ARCH_HAS_ILOG2_U32

Unknown
Default
  • n

CONFIG_ARCH_HAS_ILOG2_U64

Unknown
Default
  • n

CONFIG_ARCH_PROC_KCORE_TEXT

On
Default
  • y

CONFIG_ARCH_HAS_CPU_RELAX

On
Default
  • y

CONFIG_GENERIC_BUG

On
Default

CONFIG_GENERIC_BUG_RELATIVE_POINTERS

On
Default
  • y

CONFIG_AUDIT_ARCH

On
Default
  • y

CONFIG_NO_IOPORT_MAP

Unknown
Default
  • y

CONFIG_ARCH_SUPPORTS_UPROBES

On
Default
  • y

CONFIG_KASAN_SHADOW_OFFSET

Default
  • 0x1C000000000000

CONFIG_CC_HAS_BUILTIN_FFS

Unknown

GCC versions before 16.0.0 generate library calls to ffs() for __builtin_ffs() even when __has_builtin(__builtin_ffs) is true.

CONFIG_CC_ASM_FLAG_OUTPUT_BROKEN

Unknown

GCC versions before 14.2.0 may die with an internal compiler error in some configurations if flag output operands are used within inline assemblies.

CONFIG_CC_HAS_ASM_AOR_FORMAT_FLAGS

Unknown

Clang versions before 19.1.0 do not support A, O, and R inline assembly format flags.

CONFIG_CC_HAS_ASM_IMMEDIATE_STRINGS

Unknown

GCC versions before 9.0.0 cannot handle strings as immediate input operands in inline assemblies.

CONFIG_CC_HAS_STACKPROTECTOR_GLOBAL

Unknown
Default
  • $(cc-option, -mstack-protector-guard=global -mstack-protector-guard-record)

CONFIG_S390

Unknown
Default
  • y

CONFIG_SCHED_OMIT_FRAME_POINTER

On
Default
  • y

CONFIG_PGTABLE_LEVELS

Default
  • 5
Includekernel/livepatch/Kconfig Open file

CONFIG_ARCH_USERFLAGS

Unknown
Default
  • "-m64"

CONFIG_ARCH_SUPPORTS_KEXEC

On
Default
  • y

CONFIG_ARCH_SUPPORTS_KEXEC_FILE

On
Default
  • y

CONFIG_ARCH_SUPPORTS_KEXEC_SIG

On
Default
  • y

CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY

On
Default
  • y

CONFIG_ARCH_DEFAULT_CRASH_DUMP

On
Default
  • y

Processor type and features

CONFIG_HAVE_MARCH_Z10_FEATURES

Unknown
Default
  • n

Processor type

CONFIG_MARCH_Z10 IBM System z10

Unknown

Select this to enable optimizations for IBM System z10 (2097 and 2098 series). This is the oldest machine generation currently supported.

CONFIG_MARCH_Z196 IBM zEnterprise 114 and 196

Unknown

Select this to enable optimizations for IBM zEnterprise 114 and 196 (2818 and 2817 series). The kernel will be slightly faster but will not work on older machines.

CONFIG_MARCH_ZEC12 IBM zBC12 and zEC12

Unknown

Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and 2827 series). The kernel will be slightly faster but will not work on older machines.

CONFIG_MARCH_Z13 IBM z13s and z13

Unknown

Select this to enable optimizations for IBM z13s and z13 (2965 and 2964 series). The kernel will be slightly faster but will not work on older machines.

CONFIG_MARCH_Z14 IBM z14 ZR1 and z14

Unknown

Select this to enable optimizations for IBM z14 ZR1 and z14 (3907 and 3906 series). The kernel will be slightly faster but will not work on older machines.

CONFIG_MARCH_Z15 IBM z15

Unknown

Select this to enable optimizations for IBM z15 (8562 and 8561 series). The kernel will be slightly faster but will not work on older machines.

CONFIG_MARCH_Z16 IBM z16

Unknown

Select this to enable optimizations for IBM z16 (3931 and 3932 series).

CONFIG_MARCH_Z17 IBM z17

Unknown

Select this to enable optimizations for IBM z17 (9175 and 9176 series).

End of Processor type

Tune code generation

Cause the compiler to tune (-mtune) the generated code for a machine. This will make the code run faster on the selected machine but somewhat slower on other machines. This option only changes how the compiler emits instructions, not the selection of instructions itself, so the resulting kernel will run on all other machines.

CONFIG_TUNE_DEFAULT Default

Unknown

Tune the generated code for the target processor for which the kernel will be compiled.

CONFIG_TUNE_Z10 IBM System z10

Unknown

CONFIG_TUNE_Z196 IBM zEnterprise 114 and 196

Unknown
  • Depends on$(cc-option,-mtune=z196)

CONFIG_TUNE_ZEC12 IBM zBC12 and zEC12

Unknown
  • Depends on$(cc-option,-mtune=zEC12)

CONFIG_TUNE_Z13 IBM z13s and z13

Unknown
  • Depends on$(cc-option,-mtune=z13)

CONFIG_TUNE_Z14 IBM z14 ZR1 and z14

Unknown
  • Depends on$(cc-option,-mtune=z14)

CONFIG_TUNE_Z15 IBM z15

Unknown
  • Depends on$(cc-option,-mtune=z15)

CONFIG_TUNE_Z16 IBM z16

Unknown
  • Depends on$(cc-option,-mtune=z16)

CONFIG_TUNE_Z17 IBM z17

Unknown
  • Depends on$(cc-option,-mtune=z17)
End of Tune code generation

CONFIG_64BIT

On
Default
  • y

CONFIG_COMMAND_LINE_SIZE Maximum size of kernel command line

Unknown

This allows you to specify the maximum length of the kernel command line.

  • Range896 1048576
Default
  • 4096

CONFIG_SMP

On
Default
  • y

CONFIG_NR_CPUS Maximum number of CPUs (2-512)

This allows you to specify the maximum number of CPUs which this kernel will support. The maximum supported value is 512 and the minimum value which makes sense is 2.

This is purely to save memory - each supported CPU adds approximately sixteen kilobytes to the kernel image.

  • Range2 512
Default
  • "64"

CONFIG_HOTPLUG_CPU

On
Default
  • y

CONFIG_NUMA NUMA support

On

Enable NUMA support

This option adds NUMA support to the kernel.

Default
  • n

CONFIG_NODES_SHIFT

  • Depends on
Default
  • "1"

CONFIG_SCHED_TOPOLOGY Topology scheduler support

Unknown

Topology scheduler support improves the CPU scheduler's decision making when dealing with machines that have multi-threading, multiple cores or multiple books.

Default
  • y

CONFIG_SCHED_TOPOLOGY_VERTICAL Use vertical CPU polarization by default

Unknown

Use vertical CPU polarization by default if available. The default CPU polarization is horizontal.

Default
  • y

CONFIG_HIPERDISPATCH_ON Use hiperdispatch on vertical polarization by default

Unknown

Hiperdispatch aims to improve the CPU scheduler's decision making when using vertical polarization by adjusting CPU capacities dynamically. Set this option to use hiperdispatch on vertical polarization by default. This can be overwritten by sysctl's s390.hiperdispatch attribute later on.

Default
  • y
Includekernel/Kconfig.hz Open file

CONFIG_CERT_STORE Get user certificates via DIAG320

Unknown

Enable this option if you want to access user-provided secure boot certificates via DIAG 0x320.

These certificates will be made available via the keyring named 'cert_store'.

CONFIG_KERNEL_NOBP Enable modified branch prediction for the kernel by default

Unknown

If this option is selected the kernel will switch to a modified branch prediction mode if the firmware interface is available. The modified branch prediction mode improves the behaviour in regard to speculative execution.

With the option enabled the kernel parameter "nobp=0" or "nospec" can be used to run the kernel in the normal branch prediction mode.

With the option disabled the modified branch prediction mode is enabled with the "nobp=1" kernel parameter.

If unsure, say N.

Default
  • n

CONFIG_EXPOLINE Avoid speculative indirect branches in the kernel

Unknown

Compile the kernel with the expoline compiler options to guard against kernel-to-user data leaks by avoiding speculative indirect branches. Requires a compiler with -mindirect-branch=thunk support for full protection. The kernel may run slower.

If unsure, say N.

  • Depends on$(cc-option,-mindirect-branch=thunk)
Default
  • n

CONFIG_EXPOLINE_EXTERN

Unknown

Generate expolines as external functions if the compiler supports it. This option is required for some tooling like kpatch, if expolines are enabled. The kernel is compiled with -mindirect-branch=thunk-extern, which requires a newer compiler.

Default
  • EXPOLINE && CC_IS_GCC && GCC_VERSION >= 110200 && $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))

Expoline default

CONFIG_EXPOLINE_OFF spectre_v2=off

Unknown

CONFIG_EXPOLINE_AUTO spectre_v2=auto

Unknown

CONFIG_EXPOLINE_FULL spectre_v2=on

Unknown
End of Expoline default

CONFIG_RELOCATABLE

On

This builds a kernel image that retains relocation information so it can be loaded at an arbitrary address. The relocations make the kernel image about 15% larger (compressed 10%), but are discarded at runtime. Note: this option exists only for documentation purposes, please do not remove it.

Default
  • y

CONFIG_RANDOMIZE_BASE Randomize the address of the kernel image (KASLR)

On

In support of Kernel Address Space Layout Randomization (KASLR), this randomizes the address at which the kernel image is loaded, as a security feature that deters exploit attempts relying on knowledge of the location of kernel internals.

Default
  • y

CONFIG_RANDOMIZE_IDENTITY_BASE Randomize the address of the identity mapping base

Unknown

The identity mapping base address is pinned to zero by default. Allow randomization of that base to expose otherwise missed notion of physical and virtual addresses of data structures. That does not have any impact on the base address at which the kernel image is loaded.

If unsure, say N

  • Depends on

CONFIG_KERNEL_IMAGE_BASE Kernel image base address

Unknown

This is the address at which the kernel image is loaded in case Kernel Address Space Layout Randomization (KASLR) is disabled.

In case the Protected virtualization guest support is enabled the Ultravisor imposes a virtual address limit. If the value of this option leads to the kernel image exceeding the Ultravisor limit, this option is ignored and the image is loaded below the limit.

If the value of this option leads to the kernel image overlapping the virtual memory where other data structures are located, this option is ignored and the image is loaded above the structures.

  • Range0x100000 0x1FFFFFE0000000 if !KASAN
  • Range0x100000 0x1BFFFFE0000000 if KASAN
Defaults
End of Processor type and features
Includedrivers/cpuidle/Kconfig Open file

Memory setup

CONFIG_ARCH_SPARSEMEM_DEFAULT

On
Default
  • y

CONFIG_ILLEGAL_POINTER_VALUE

Default
  • 0xdead000000000000

CONFIG_MAX_PHYSMEM_BITS Maximum size of supported physical memory in bits (42-53)

Unknown

This option specifies the maximum supported size of physical memory in bits. Supported is any size between 2^42 (4TB) and 2^53 (8PB). Increasing the number of bits also increases the kernel image size. By default 46 bits (64TB) are supported.

  • Range42 53
Default
  • "46"
End of Memory setup

I/O subsystem

CONFIG_QDIO QDIO support

  • Off
  • Module
  • Built in
Unknown

This driver provides the Queued Direct I/O base support for IBM System z.

To compile this driver as a module, choose M here: the module will be called qdio.

If unsure, say Y.

Default
  • y

If PCI

CONFIG_PCI_NR_FUNCTIONS Maximum number of PCI functions (1-4096)

Unknown

This allows you to specify the maximum number of PCI functions which this kernel will support.

  • Range1 4096
Default
  • "512"

CONFIG_CHSC_SCH Support for CHSC subchannels

  • Off
  • Module
  • Built in
Unknown

This driver allows usage of CHSC subchannels. A CHSC subchannel is usually present on LPAR only. The driver creates a device /dev/chsc, which may be used to obtain I/O configuration information about the machine and to issue asynchronous chsc commands (DANGEROUS). You will usually only want to use this interface on a special LPAR designated for system management.

To compile this driver as a module, choose M here: the module will be called chsc_sch.

If unsure, say N.

Default
  • m

CONFIG_SCM_BUS SCM bus driver

Unknown

Bus driver for Storage Class Memory.

Default
  • y

CONFIG_EADM_SCH Support for EADM subchannels

  • Off
  • Module
  • Built in
Unknown

This driver allows usage of EADM subchannels. EADM subchannels act as a communication vehicle for SCM increments.

To compile this driver as a module, choose M here: the module will be called eadm_sch.

Default
  • m

CONFIG_AP Support for Adjunct Processors (ap)

  • Off
  • Module
  • Built in
Unknown

This driver allows usage to Adjunct Processor (AP) devices via the ap bus, cards and queues. Supported Adjunct Processors are the CryptoExpress Cards (CEX).

To compile this driver as a module, choose M here: the module will be called ap.

If unsure, say Y (default).

Default
  • y

CONFIG_AP_DEBUG Enable debug features for Adjunct Processor (ap) devices

Unknown

Say 'Y' here to enable some additional debug features for Adjunct Processor (ap) devices.

There will be some more sysfs attributes displayed for ap queues.

Do not enable on production level kernel build.

If unsure, say N.

  • Depends onAP
Default
  • n

CONFIG_VFIO_CCW Support for VFIO-CCW subchannels

  • Off
  • Module
  • Built in
Unknown

This driver allows usage of I/O subchannels via VFIO-CCW.

To compile this driver as a module, choose M here: the module will be called vfio_ccw.

Default
  • n

CONFIG_VFIO_AP VFIO support for AP devices

  • Off
  • Module
  • Built in
Unknown

This driver grants access to Adjunct Processor (AP) devices via the VFIO mediated device interface.

To compile this driver as a module, choose M here: the module will be called vfio_ap.

Default
  • n
End of I/O subsystem

CONFIG_CCW

Unknown
Default
  • y

CONFIG_HAVE_PNETID

  • Off
  • Module
  • Built in
Unknown

Virtualization

CONFIG_PFAULT Pseudo page fault support

Unknown

Select this option, if you want to use PFAULT pseudo page fault handling under VM. If running native or in LPAR, this option has no effect. If your VM does not support PFAULT, PAGEEX pseudo page fault handling will be used. Note that VM 4.2 supports PFAULT but has a bug in its implementation that causes some problems. Everybody who wants to run Linux under VM != VM4.2 should select this option.

Default
  • y

CONFIG_CMM Cooperative memory management

  • Off
  • Module
  • Built in
Unknown

Select this option, if you want to enable the kernel interface to reduce the memory size of the system. This is accomplished by allocating pages of memory and put them "on hold". This only makes sense for a system running under VM where the unused pages will be reused by VM for other guest systems. The interface allows an external monitor to balance memory of many systems. Everybody who wants to run Linux under VM should select this option.

Default
  • n

CONFIG_CMM_IUCV IUCV special message interface to cooperative memory management

Unknown

Select this option to enable the special message interface to the cooperative memory management.

Default
  • y

CONFIG_APPLDATA_BASE Linux - VM Monitor Stream, base infrastructure

Unknown

This provides a kernel interface for creating and updating z/VM APPLDATA monitor records. The monitor records are updated at certain time intervals, once the timer is started. Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer, i.e. enables or disables monitoring on the Linux side. A custom interval value (in seconds) can be written to /proc/appldata/interval.

Defaults are 60 seconds interval and timer off. The /proc entries can also be read from, showing the current settings.

Default
  • n

CONFIG_APPLDATA_MEM Monitor memory management statistics

  • Off
  • Module
  • Built in
Unknown

This provides memory management related data to the Linux - VM Monitor Stream, like paging/swapping rate, memory utilisation, etc. Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM APPLDATA monitor record, i.e. enables or disables monitoring this record on the z/VM side.

Default is disabled. The /proc entry can also be read from, showing the current settings.

This can also be compiled as a module, which will be called appldata_mem.o.

Default
  • m

CONFIG_APPLDATA_OS Monitor OS statistics

  • Off
  • Module
  • Built in
Unknown

This provides OS related data to the Linux - VM Monitor Stream, like CPU utilisation, etc. Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM APPLDATA monitor record, i.e. enables or disables monitoring this record on the z/VM side.

Default is disabled. This can also be compiled as a module, which will be called appldata_os.o.

Default
  • m

CONFIG_APPLDATA_NET_SUM Monitor overall network statistics

  • Off
  • Module
  • Built in
Unknown

This provides network related data to the Linux - VM Monitor Stream, currently there is only a total sum of network I/O statistics, no per-interface data. Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM APPLDATA monitor record, i.e. enables or disables monitoring this record on the z/VM side.

Default is disabled. This can also be compiled as a module, which will be called appldata_net_sum.o.

Default
  • m

CONFIG_S390_HYPFS s390 hypervisor information

Unknown

This provides several binary files at (debugfs)/s390_hypfs/ to provide accounting information in an s390 hypervisor environment.

Default
  • y

CONFIG_S390_HYPFS_FS s390 hypervisor file system support

Unknown

This is a virtual file system intended to provide accounting information in an s390 hypervisor environment. This file system is deprecated and should not be used.

Say N if you are unsure.

Default
  • n
Includearch/s390/kvm/Kconfig Open file

CONFIG_S390_GUEST s390 support for virtio devices

Unknown

Enabling this option adds support for virtio based paravirtual device drivers on s390.

Select this option if you want to run the kernel as a guest under the KVM hypervisor.

Default
  • y
End of Virtualization

CONFIG_S390_MODULES_SANITY_TEST_HELPERS

Unknown
Default
  • n

Selftests

CONFIG_S390_UNWIND_SELFTEST Test unwind functions

  • Off
  • Module
  • Built in
Unknown

This option enables s390 specific stack unwinder testing kernel module. This option is not useful for distributions or general kernels, but only for kernel developers working on architecture code.

Say N if you are unsure.

CONFIG_S390_KPROBES_SANITY_TEST Enable s390 specific kprobes tests

  • Off
  • Module
  • Built in
Unknown

This option enables an s390 specific kprobes test module. This option is not useful for distributions or general kernels, but only for kernel developers working on architecture code.

Say N if you are unsure.

CONFIG_S390_MODULES_SANITY_TEST Enable s390 specific modules tests

  • Off
  • Module
  • Built in
Unknown

This option enables an s390 specific modules test. This option is not useful for distributions or general kernels, but only for kernel developers working on architecture code.

Say N if you are unsure.

End of Selftests
CONFIG_SCHED_MC declarations