CONFIG_64BIT 64-bit kernel
Say yes to build a 64-bit kernel - formerly known as x86_64 Say no to build a 32-bit kernel - formerly known as i386
CONFIG_X86_32
- Depends on
! - Selects
ARCH_WANT_IPC_PARSE_VERSION if ! - Selects
CLKSRC_I8253 if ! - Selects
CLONE_BACKWARDS if ! - Selects
HAVE_DEBUG_STACKOVERFLOW if ! - Selects
KMAP_LOCAL if ! - Selects
MODULES_USE_ELF_REL if ! - Selects
OLD_SIGACTION if ! - Selects
ARCH_SPLIT_ARG64 if !
CONFIG_X86_64
- Depends on
- Selects
ARCH_HAS_GIGANTIC_PAGE if - Selects
ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if - Selects
ARCH_SUPPORTS_INT128 if && CC_HAS_INT128 - Selects
ARCH_SUPPORTS_HUGE_PFNMAP if && TRANSPARENT_HUGEPAGE - Selects
HAVE_ARCH_SOFT_DIRTY if - Selects
MODULES_USE_ELF_RELA if - Selects
NEED_DMA_MAP_STATE if - Selects
SWIOTLB if - Selects
ARCH_HAS_ELFCORE_COMPAT if - Selects
ZONE_DMA32 if - Selects
EXECMEM if && DYNAMIC_FTRACE - Selects
ACPI_MRRM if && ACPI
CONFIG_FORCE_DYNAMIC_FTRACE
We keep the static function tracing (!DYNAMIC_FTRACE) around in order to test the non static function tracing in the generic code, as other architectures still use it. But we only need to keep it around for x86_64. No need to keep it for x86_32. For x86_32, force DYNAMIC_FTRACE.
- Depends on
&& FUNCTION_TRACER - Selects
DYNAMIC_FTRACE if && FUNCTION_TRACER
CONFIG_X86
- Selects
ACPI_LEGACY_TABLES_LOOKUP if ACPI - Selects
ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI - Selects
ACPI_HOTPLUG_CPU if ACPI_PROCESSOR && - Selects
ARCH_32BIT_OFF_T if - Selects
ARCH_CLOCKSOURCE_INIT - Selects
ARCH_CONFIGURES_CPU_MITIGATIONS - Selects
ARCH_CORRECT_STACKTRACE_ON_KRETPROBE - Selects
ARCH_ENABLE_HUGEPAGE_MIGRATION if && HUGETLB_PAGE && MIGRATION - Selects
ARCH_ENABLE_MEMORY_HOTPLUG if - Selects
ARCH_ENABLE_SPLIT_PMD_PTLOCK if >2 && ( || X86_PAE) - Selects
ARCH_HAS_PMD_SOFTLEAVES if && TRANSPARENT_HUGEPAGE - Selects
ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI - Selects
ARCH_HAS_CPU_ATTACK_VECTORS if - Selects
ARCH_HAS_CACHE_LINE_SIZE - Selects
ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION - Selects
ARCH_HAS_CPU_FINALIZE_INIT - Selects
ARCH_HAS_CPU_PASID if IOMMU_SVA - Selects
ARCH_HAS_CURRENT_STACK_POINTER - Selects
ARCH_HAS_DEBUG_VIRTUAL - Selects
ARCH_HAS_DEBUG_VM_PGTABLE if !X86_PAE - Selects
ARCH_HAS_DELAY_TIMER - Selects
ARCH_HAS_DEVMEM_IS_ALLOWED - Selects
ARCH_HAS_DMA_OPS if GART_IOMMU || - Selects
ARCH_HAS_EARLY_DEBUG if KGDB - Selects
ARCH_HAS_ELF_RANDOMIZE - Selects
ARCH_HAS_EXECMEM_ROX if && (STRICT_MODULE_RWX || STRICT_KERNEL_RWX) - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
ARCH_HAS_FORTIFY_SOURCE - Selects
ARCH_HAS_GCOV_PROFILE_ALL - Selects
ARCH_HAS_KCOV if - Selects
ARCH_HAS_KERNEL_FPU_SUPPORT - Selects
ARCH_HAS_MEM_ENCRYPT - Selects
ARCH_HAS_MEMBARRIER_SYNC_CORE - Selects
ARCH_HAS_NMI_SAFE_THIS_CPU_OPS - Selects
ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE - Selects
ARCH_HAS_PMEM_API if - Selects
ARCH_HAS_PREEMPT_LAZY - Selects
ARCH_HAS_PTDUMP - Selects
ARCH_HAS_PTE_SPECIAL - Selects
ARCH_HAS_HW_PTE_YOUNG - Selects
ARCH_HAS_NONLEAF_PMD_YOUNG if >2 - Selects
ARCH_HAS_UACCESS_FLUSHCACHE if - Selects
ARCH_HAS_COPY_MC if - Selects
ARCH_HAS_SET_MEMORY - Selects
ARCH_HAS_SET_DIRECT_MAP - Selects
ARCH_HAS_STRICT_KERNEL_RWX - Selects
ARCH_HAS_STRICT_MODULE_RWX - Selects
ARCH_HAS_SYNC_CORE_BEFORE_USERMODE - Selects
ARCH_HAS_SYSCALL_WRAPPER - Selects
ARCH_HAS_UBSAN - Selects
ARCH_HAS_CHECK_WX - Selects
ARCH_HAS_ZONE_DMA_SET if EXPERT - Selects
ARCH_HAVE_NMI_SAFE_CMPXCHG - Selects
ARCH_HAVE_EXTRA_ELF_NOTES - Selects
ARCH_MEMORY_ORDER_TSO - Selects
ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE - Selects
ARCH_MIGHT_HAVE_ACPI_PDC if ACPI - Selects
ARCH_MIGHT_HAVE_PC_PARPORT - Selects
ARCH_MIGHT_HAVE_PC_SERIO - Selects
ARCH_STACKWALK - Selects
ARCH_SUPPORTS_ACPI - Selects
ARCH_SUPPORTS_ATOMIC_RMW - Selects
ARCH_SUPPORTS_DEBUG_PAGEALLOC - Selects
ARCH_SUPPORTS_HUGETLBFS - Selects
ARCH_SUPPORTS_PAGE_TABLE_CHECK if - Selects
ARCH_HAS_PTE_PROTNONE if - Selects
ARCH_SUPPORTS_NUMA_BALANCING if - Selects
ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP if <=4096 - Selects
ARCH_SUPPORTS_CFI if - Selects
ARCH_SUPPORTS_CMDLINE_FROM_BOOTCONFIG - Selects
ARCH_USES_CFI_TRAPS if && CFI - Selects
ARCH_SUPPORTS_LTO_CLANG - Selects
ARCH_SUPPORTS_LTO_CLANG_THIN - Selects
ARCH_SUPPORTS_RT - Selects
ARCH_USE_BUILTIN_BSWAP - Selects
ARCH_USE_CMPXCHG_LOCKREF - Selects
ARCH_USE_MEMTEST - Selects
ARCH_USE_QUEUED_RWLOCKS - Selects
ARCH_USE_QUEUED_SPINLOCKS - Selects
ARCH_USE_SYM_ANNOTATIONS - Selects
ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH - Selects
ARCH_WANT_DEFAULT_BPF_JIT if - Selects
ARCH_WANTS_CLOCKSOURCE_READ_INLINE if - Selects
ARCH_WANTS_DYNAMIC_TASK_STRUCT - Selects
ARCH_WANTS_NO_INSTR - Selects
ARCH_WANT_GENERAL_HUGETLB - Selects
ARCH_WANT_HUGE_PMD_SHARE if - Selects
ARCH_WANT_LD_ORPHAN_WARN - Selects
ARCH_WANT_OPTIMIZE_DAX_VMEMMAP if - Selects
ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP if - Selects
ARCH_WANTS_THP_SWAP if - Selects
ARCH_HAS_PARANOID_L1D_FLUSH - Selects
ARCH_WANT_IRQS_OFF_ACTIVATE_MM - Selects
BUILDTIME_TABLE_SORT - Selects
CLKEVT_I8253 - Selects
CLOCKSOURCE_WATCHDOG - Selects
DCACHE_WORD_ACCESS if !KMSAN - Selects
DYNAMIC_SIGFRAME - Selects
EDAC_ATOMIC_SCRUB - Selects
EDAC_SUPPORT - Selects
GENERIC_CLOCKEVENTS_BROADCAST if || && X86_LOCAL_APIC - Selects
GENERIC_CLOCKEVENTS_BROADCAST_IDLE if GENERIC_CLOCKEVENTS_BROADCAST - Selects
GENERIC_CLOCKEVENTS_COUPLED_INLINE if - Selects
GENERIC_CLOCKEVENTS_MIN_ADJUST - Selects
GENERIC_CMOS_UPDATE - Selects
GENERIC_CPU_AUTOPROBE - Selects
GENERIC_CPU_DEVICES - Selects
GENERIC_CPU_VULNERABILITIES - Selects
GENERIC_EARLY_IOREMAP - Selects
GENERIC_ENTRY - Selects
GENERIC_IOMAP - Selects
GENERIC_IRQ_EFFECTIVE_AFF_MASK if - Selects
GENERIC_IRQ_MATRIX_ALLOCATOR if X86_LOCAL_APIC - Selects
GENERIC_IRQ_MIGRATION if - Selects
GENERIC_IRQ_PROBE - Selects
GENERIC_IRQ_RESERVATION_MODE - Selects
GENERIC_IRQ_SHOW - Selects
GENERIC_PENDING_IRQ if - Selects
GENERIC_SMP_IDLE_THREAD - Selects
GENERIC_GETTIMEOFDAY - Selects
GENERIC_VDSO_OVERFLOW_PROTECT - Selects
GUP_GET_PXX_LOW_HIGH if X86_PAE - Selects
HARDIRQS_SW_RESEND - Selects
HARDLOCKUP_CHECK_TIMESTAMP if - Selects
HAS_IOPORT - Selects
HAVE_ACPI_APEI if ACPI - Selects
HAVE_ACPI_APEI_NMI if ACPI - Selects
HAVE_ALIGNED_STRUCT_PAGE - Selects
HAVE_ARCH_AUDITSYSCALL - Selects
HAVE_ARCH_HUGE_VMAP if || X86_PAE - Selects
HAVE_ARCH_HUGE_VMALLOC if - Selects
HAVE_ARCH_JUMP_LABEL - Selects
HAVE_ARCH_JUMP_LABEL_RELATIVE - Selects
HAVE_ARCH_KASAN if - Selects
HAVE_ARCH_KASAN_VMALLOC if - Selects
HAVE_ARCH_KFENCE - Selects
HAVE_ARCH_KMSAN if - Selects
HAVE_ARCH_KGDB - Selects
HAVE_ARCH_KSTACK_ERASE - Selects
HAVE_ARCH_MMAP_RND_BITS if - Selects
HAVE_ARCH_MMAP_RND_COMPAT_BITS if && - Selects
HAVE_ARCH_COMPAT_MMAP_BASES if && - Selects
HAVE_ARCH_PREL32_RELOCATIONS - Selects
HAVE_ARCH_SECCOMP_FILTER - Selects
HAVE_ARCH_THREAD_STRUCT_WHITELIST - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD if - Selects
HAVE_ARCH_USERFAULTFD_WP if && USERFAULTFD - Selects
HAVE_ARCH_USERFAULTFD_MINOR if && USERFAULTFD - Selects
HAVE_ARCH_VMAP_STACK if - Selects
HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET - Selects
HAVE_ARCH_WITHIN_STACK_FRAMES - Selects
HAVE_ASM_MODVERSIONS - Selects
HAVE_CMPXCHG_DOUBLE - Selects
HAVE_CMPXCHG_LOCAL - Selects
HAVE_CONTEXT_TRACKING_USER if - Selects
HAVE_CONTEXT_TRACKING_USER_OFFSTACK if HAVE_CONTEXT_TRACKING_USER - Selects
HAVE_C_RECORDMCOUNT - Selects
HAVE_OBJTOOL_MCOUNT if HAVE_OBJTOOL - Selects
HAVE_OBJTOOL_NOP_MCOUNT if HAVE_OBJTOOL_MCOUNT - Selects
HAVE_BUILDTIME_MCOUNT_SORT - Selects
HAVE_DEBUG_KMEMLEAK - Selects
HAVE_DMA_CONTIGUOUS - Selects
HAVE_DYNAMIC_FTRACE - Selects
HAVE_DYNAMIC_FTRACE_WITH_REGS - Selects
HAVE_DYNAMIC_FTRACE_WITH_ARGS if - Selects
HAVE_FTRACE_REGS_HAVING_PT_REGS if - Selects
HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS - Selects
HAVE_DYNAMIC_FTRACE_WITH_JMP if - Selects
HAVE_SAMPLE_FTRACE_DIRECT if - Selects
HAVE_SAMPLE_FTRACE_DIRECT_MULTI if - Selects
HAVE_EBPF_JIT - Selects
HAVE_EBPF_JIT_KASAN if - Selects
HAVE_EFFICIENT_UNALIGNED_ACCESS - Selects
HAVE_EISA if - Selects
HAVE_EXIT_THREAD - Selects
HAVE_FUTEX_ROBUST_UNLOCK - Selects
HAVE_GENERIC_TIF_BITS - Selects
HAVE_GUP_FAST - Selects
HAVE_FENTRY if || DYNAMIC_FTRACE - Selects
HAVE_FTRACE_GRAPH_FUNC if HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_FUNCTION_GRAPH_FREGS if HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_FUNCTION_GRAPH_TRACER if || && DYNAMIC_FTRACE - Selects
HAVE_FUNCTION_TRACER - Selects
HAVE_GCC_PLUGINS - Selects
HAVE_HW_BREAKPOINT - Selects
HAVE_IOREMAP_PROT - Selects
HAVE_IRQ_EXIT_ON_IRQ_STACK if - Selects
HAVE_IRQ_TIME_ACCOUNTING - Selects
HAVE_JUMP_LABEL_HACK if HAVE_OBJTOOL - Selects
HAVE_KERNEL_BZIP2 - Selects
HAVE_KERNEL_GZIP - Selects
HAVE_KERNEL_LZ4 - Selects
HAVE_KERNEL_LZMA - Selects
HAVE_KERNEL_LZO - Selects
HAVE_KERNEL_XZ - Selects
HAVE_KERNEL_ZSTD - Selects
HAVE_KPROBES - Selects
HAVE_KPROBES_ON_FTRACE - Selects
HAVE_FUNCTION_ERROR_INJECTION - Selects
HAVE_KRETPROBES - Selects
HAVE_RETHOOK - Selects
HAVE_KLP_BUILD if - Selects
HAVE_LIVEPATCH if - Selects
HAVE_MIXED_BREAKPOINTS_REGS - Selects
HAVE_MOD_ARCH_SPECIFIC - Selects
HAVE_MOVE_PMD - Selects
HAVE_MOVE_PUD - Selects
HAVE_NOINSTR_HACK if HAVE_OBJTOOL - Selects
HAVE_NMI - Selects
HAVE_NOINSTR_VALIDATION if HAVE_OBJTOOL - Selects
HAVE_OBJTOOL if - Selects
HAVE_OPTPROBES - Selects
HAVE_PAGE_SIZE_4KB - Selects
HAVE_PCSPKR_PLATFORM - Selects
HAVE_PERF_EVENTS - Selects
HAVE_PERF_EVENTS_NMI - Selects
HAVE_HARDLOCKUP_DETECTOR_PERF if PERF_EVENTS && HAVE_PERF_EVENTS_NMI - Selects
HAVE_PCI - Selects
HAVE_PERF_REGS - Selects
HAVE_PERF_USER_STACK_DUMP - Selects
ASYNC_KERNEL_PGTABLE_FREE if IOMMU_SVA - Selects
MMU_GATHER_MERGE_VMAS - Selects
HAVE_POSIX_CPU_TIMERS_TASK_WORK - Selects
HAVE_REGS_AND_STACK_ACCESS_API - Selects
HAVE_RELIABLE_STACKTRACE if || STACK_VALIDATION - Selects
HAVE_FUNCTION_ARG_ACCESS_API - Selects
HAVE_SETUP_PER_CPU_AREA - Selects
HAVE_SOFTIRQ_ON_OWN_STACK - Selects
HAVE_STACKPROTECTOR - Selects
HAVE_STACK_VALIDATION if HAVE_OBJTOOL - Selects
HAVE_STATIC_CALL - Selects
HAVE_STATIC_CALL_INLINE if HAVE_OBJTOOL - Selects
HAVE_RSEQ - Selects
HAVE_RUST if - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
HAVE_UACCESS_VALIDATION if HAVE_OBJTOOL - Selects
HAVE_UNSTABLE_SCHED_CLOCK - Selects
HAVE_UNWIND_USER_FP if - Selects
HAVE_USER_RETURN_NOTIFIER - Selects
VDSO_GETRANDOM if - Selects
HOTPLUG_PARALLEL if && - Selects
HOTPLUG_SMT if - Selects
HOTPLUG_SPLIT_STARTUP if && - Selects
IRQ_FORCED_THREADING - Selects
LOCK_MM_AND_FIND_VMA - Selects
NEED_PER_CPU_EMBED_FIRST_CHUNK - Selects
NEED_PER_CPU_PAGE_FIRST_CHUNK - Selects
NEED_SG_DMA_LENGTH - Selects
NUMA_MEMBLKS if - Selects
PCI_DOMAINS if PCI - Selects
PCI_LOCKLESS_CONFIG if PCI - Selects
PERF_EVENTS - Selects
RTC_LIB - Selects
RTC_MC146818_LIB - Selects
SPARSE_IRQ - Selects
SYSCTL_EXCEPTION_TRACE - Selects
THREAD_INFO_IN_TASK - Selects
TRACE_IRQFLAGS_SUPPORT - Selects
TRACE_IRQFLAGS_NMI_SUPPORT - Selects
USER_STACKTRACE_SUPPORT - Selects
HAVE_ARCH_KCSAN if - Selects
PROC_PID_ARCH_STATUS if PROC_FS - Selects
HAS_SEPARATE_PREEMPT_RESCHED_BITS if && PREEMPT_COUNT - Selects
HAVE_ARCH_NODE_DEV_GROUP if X86_SGX - Selects
FUNCTION_ALIGNMENT_16B if || X86_ALIGNMENT_16 - Selects
FUNCTION_ALIGNMENT_4B - Implies
IMA_SECURE_AND_OR_TRUSTED_BOOT if - Selects
HAVE_DYNAMIC_FTRACE_NO_PATCHABLE - Selects
ARCH_SUPPORTS_SCHED_SMT if - Selects
SCHED_SMT if - Selects
ARCH_SUPPORTS_SCHED_CLUSTER if - Selects
ARCH_SUPPORTS_SCHED_MC if - Selects
ARCH_SUPPORTS_SYSCALL_USER_DISPATCH - Selects
HAVE_SINGLE_FTRACE_DIRECT_OPS if && DYNAMIC_FTRACE_WITH_DIRECT_CALLS
CONFIG_INSTRUCTION_DECODER
- Depends on
KPROBES || PERF_EVENTS || UPROBES
CONFIG_OUTPUT_FORMAT
CONFIG_LOCKDEP_SUPPORT
CONFIG_STACKTRACE_SUPPORT
CONFIG_MMU
CONFIG_ARCH_MMAP_RND_BITS_MIN
CONFIG_ARCH_MMAP_RND_BITS_MAX
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX
CONFIG_SBUS
CONFIG_GENERIC_ISA_DMA
- Depends on
CONFIG_GENERIC_CSUM
CONFIG_GENERIC_BUG
CONFIG_GENERIC_BUG_RELATIVE_POINTERS
CONFIG_ARCH_MAY_HAVE_PC_FDC
- Depends on
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_ARCH_HAS_CPU_RELAX
CONFIG_ARCH_HIBERNATION_POSSIBLE
CONFIG_ARCH_SUSPEND_POSSIBLE
CONFIG_AUDIT_ARCH
CONFIG_KASAN_SHADOW_OFFSET
- Depends on
KASAN
CONFIG_HAVE_INTEL_TXT
- Depends on
INTEL_IOMMU && ACPI
CONFIG_ARCH_SUPPORTS_UPROBES
CONFIG_FIX_EARLYCON_MEM
CONFIG_DYNAMIC_PHYSICAL_MASK
CONFIG_PGTABLE_LEVELS
Processor type and features
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.
If you say N here, the kernel will run on uni- and multiprocessor machines, but will use only one CPU of a multiprocessor machine. If you say Y here, the kernel will run on many, but not all, uniprocessor machines. On a uniprocessor machine, the kernel will run faster if you say N here.
People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here.
See also <file:Documentation/arch/x86/i386/IO-APIC.rst>, <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>.
If you don't know what to do here, say N.
CONFIG_X86_X2APIC x2APIC interrupt controller architecture support
x2APIC is an interrupt controller architecture, a component of which (the local APIC) is present in the CPU. It allows faster access to the local APIC and supports a larger number of CPUs in the system than the predecessors.
x2APIC was introduced in Intel CPUs around 2008 and in AMD EPYC CPUs
in 2019, but it can be disabled by the BIOS. It is also frequently
emulated in virtual machines, even when the host CPU does not support
it. Support in the CPU can be checked by executing
grep x2apic /proc/cpuinfo
If this configuration option is disabled, the kernel will boot with very reduced functionality and performance on some platforms that have x2APIC enabled. On the other hand, on hardware that does not support x2APIC, a kernel with this option enabled will just fallback to older APIC implementations.
If in doubt, say Y.
- Depends on
X86_LOCAL_APIC && && (IRQ_REMAP || HYPERVISOR_GUEST)
If X86_X2APIC
CONFIG_AMD_SECURE_AVIC AMD Secure AVIC
Enable this to get AMD Secure AVIC support on guests that have this feature.
AMD Secure AVIC provides hardware acceleration for performance sensitive APIC accesses and support for managing guest owned APIC state for SEV-SNP guests. Secure AVIC does not support xAPIC mode. It has functional dependency on x2apic being enabled in the guest.
If you don't know what to do here, say N.
- Depends on
AMD_MEM_ENCRYPT && X86_X2APIC
CONFIG_X86_POSTED_MSI Enable MSI and MSI-x delivery by posted interrupts
This enables MSIs that are under interrupt remapping to be delivered as posted interrupts to the host kernel. Interrupt throughput can potentially be improved by coalescing CPU notifications during high frequency bursts.
If you don't know what to do here, say N.
- Depends on
&& IRQ_REMAP
CONFIG_X86_MPPARSE Enable MPS table
For old smp systems that do not have proper acpi support. Newer systems (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
- Depends on
X86_LOCAL_APIC
CONFIG_X86_CPU_RESCTRL x86 CPU resource control support
Enable x86 CPU resource control support.
Provide support for the allocation and monitoring of system resources usage by the CPU.
Intel calls this Intel Resource Director Technology (Intel(R) RDT). More information about RDT can be found in the Intel x86 Architecture Software Developer Manual.
AMD calls this AMD Platform Quality of Service (AMD QoS). More information about AMD QoS can be found in the AMD64 Technology Platform Quality of Service Extensions manual.
Say N if unsure.
- Depends on
X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) && MISC_FILESYSTEMS - Selects
ARCH_HAS_CPU_RESCTRL if X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) && MISC_FILESYSTEMS - Selects
RESCTRL_FS if X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) && MISC_FILESYSTEMS - Selects
RESCTRL_FS_PSEUDO_LOCK if X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) && MISC_FILESYSTEMS
If X86_CPU_RESCTRL
CONFIG_X86_CPU_RESCTRL_INTEL_AET Intel Application Energy Telemetry
Enable per-RMID telemetry events in resctrl.
Intel feature that collects per-RMID execution data about energy consumption, measure of frequency independent activity and other performance metrics. Data is aggregated per package.
Say N if unsure.
- Depends on
&& X86_CPU_RESCTRL && CPU_SUP_INTEL && INTEL_PMT_TELEMETRY=y && INTEL_TPMI=y
CONFIG_X86_FRED Flexible Return and Event Delivery
When enabled, use Flexible Return and Event Delivery instead of the legacy SYSCALL/SYSENTER/IDT architecture for ring transitions and exception/interrupt handling if the system supports it.
- Depends on
CONFIG_X86_EXTENDED_PLATFORM Support for extended (non-PC) x86 platforms
If you disable this option then the kernel will only support standard PC platforms. (which covers the vast majority of systems out there.)
If you enable this option then you'll be able to select support for the following non-PC x86 platforms, depending on the value of CONFIG_64BIT.
32-bit platforms (CONFIG_64BIT=n):
Goldfish (mostly Android emulator)
Intel CE media processor (CE4100) SoC
Intel Quark
RDC R-321x SoC
64-bit platforms (CONFIG_64BIT=y):
Numascale NumaChip
ScaleMP vSMP
SGI Ultraviolet
Merrifield/Moorefield MID devices
Goldfish (mostly Android emulator)
If you have one of these systems, or if you want to build a generic distribution kernel, say Y here - otherwise say N.
If X86_EXTENDED_PLATFORM
CONFIG_X86_NUMACHIP Numascale NumaChip
Adds support for Numascale NumaChip large-SMP systems. Needed to enable more than ~168 cores. If you don't have one of these, you should say N here.
- Depends on
&& X86_EXTENDED_PLATFORM && && && X86_X2APIC && PCI_MMCONFIG
CONFIG_X86_VSMP ScaleMP vSMP
Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is supposed to run on these EM64T-based machines. Only choose this option if you have one of these machines.
- Depends on
&& PCI && X86_EXTENDED_PLATFORM && - Selects
HYPERVISOR_GUEST if && PCI && X86_EXTENDED_PLATFORM && - Selects
if && PCI && X86_EXTENDED_PLATFORM &&
CONFIG_X86_UV SGI Ultraviolet
This option is needed in order to support SGI Ultraviolet systems. If you don't have one of these, you should say N here.
- Depends on
&& X86_EXTENDED_PLATFORM && && && KEXEC_CORE && X86_X2APIC && PCI
CONFIG_X86_INTEL_MID Intel Z34xx/Z35xx MID platform support
Select to build a kernel capable of supporting 64-bit Intel MID (Mobile Internet Device) platform systems which do not have the PCI legacy interfaces.
The only supported devices are the 22nm Merrified (Z34xx) and Moorefield (Z35xx) SoC used in the Intel Edison board and a small number of Android devices such as the Asus Zenfone 2, Asus FonePad 8 and Dell Venue 7.
If you are building for a PC class system or non-MID tablet SoCs like Bay Trail (Z36xx/Z37xx), say N here.
Intel MID platforms are based on an Intel processor and chipset which consume less power than most of the x86 derivatives.
- Depends on
X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && ( || EXPERT && PCI_GOANY) && X86_IO_APIC - Selects
I2C if X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && ( || EXPERT && PCI_GOANY) && X86_IO_APIC - Selects
DW_APB_TIMER if X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && ( || EXPERT && PCI_GOANY) && X86_IO_APIC - Selects
INTEL_SCU_PCI if X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && ( || EXPERT && PCI_GOANY) && X86_IO_APIC
If X86_EXTENDED_PLATFORM
CONFIG_X86_GOLDFISH Goldfish (Virtual Platform)
Enable support for the Goldfish virtual platform used primarily for Android development. Unless you are building for the Android Goldfish emulator say N here.
CONFIG_X86_INTEL_CE CE4100 TV platform
Select for the Intel CE media processor (CE4100) SOC. This option compiles in support for the CE4100 SOC for settop boxes and media devices.
- Depends on
PCI && PCI_GODIRECT && X86_IO_APIC && && X86_EXTENDED_PLATFORM - Selects
X86_REBOOTFIXUPS if PCI && PCI_GODIRECT && X86_IO_APIC && && X86_EXTENDED_PLATFORM - Selects
OF if PCI && PCI_GODIRECT && X86_IO_APIC && && X86_EXTENDED_PLATFORM - Selects
OF_EARLY_FLATTREE if PCI && PCI_GODIRECT && X86_IO_APIC && && X86_EXTENDED_PLATFORM
CONFIG_X86_INTEL_QUARK Intel Quark platform support
Select to include support for Quark X1000 SoC. Say Y here if you have a Quark based system such as the Arduino compatible Intel Galileo.
- Depends on
&& X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && PCI_GOANY && X86_IO_APIC - Selects
IOSF_MBI if && X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && PCI_GOANY && X86_IO_APIC - Selects
INTEL_IMR if && X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && PCI_GOANY && X86_IO_APIC - Selects
COMMON_CLK if && X86_EXTENDED_PLATFORM && X86_PLATFORM_DEVICES && PCI && PCI_GOANY && X86_IO_APIC
CONFIG_X86_INTEL_LPSS Intel Low Power Subsystem Support
Select to build support for Intel Low Power Subsystem such as found on Intel Lynxpoint PCH. Selecting this option enables things like clock tree (common clock framework) and pincontrol which are needed by the LPSS peripheral drivers.
CONFIG_X86_AMD_PLATFORM_DEVICE AMD ACPI2Platform devices support
Select to interpret AMD specific ACPI device to platform device such as I2C, UART, GPIO found on AMD Carrizo and later chipsets. I2C and UART depend on COMMON_CLK to set clock. GPIO driver is implemented under PINCTRL subsystem.
- Depends on
ACPI - Selects
COMMON_CLK if ACPI - Selects
PINCTRL if ACPI
CONFIG_IOSF_MBI Intel SoC IOSF Sideband support for SoC platforms
- Off
- Module
- Built in
This option enables sideband register access support for Intel SoC platforms. On these platforms the IOSF sideband is used in lieu of MSR's for some register accesses, mostly but not limited to thermal and power. Drivers may query the availability of this device to determine if they need the sideband in order to work on these platforms. The sideband is available on the following SoC products. This list is not meant to be exclusive. - BayTrail - Braswell - Quark
You should say Y if you are running a kernel on one of these SoC's.
- Depends on
PCI
If IOSF_MBI
CONFIG_IOSF_MBI_DEBUG Enable IOSF sideband access through debugfs
Select this option to expose the IOSF sideband access registers (MCR, MDR, MCRX) through debugfs to write and read register information from different units on the SoC. This is most useful for obtaining device state information for debug and analysis. As this is a general access mechanism, users of this option would have specific knowledge of the device they want to access.
If you don't require the option or are in doubt, say N.
CONFIG_X86_SUPPORTS_MEMORY_FAILURE
- Depends on
X86_MCE && ( || !SPARSEMEM) - Selects
ARCH_SUPPORTS_MEMORY_FAILURE if X86_MCE && ( || !SPARSEMEM)
CONFIG_X86_32_IRIS Eurobraille/Iris poweroff module
- Off
- Module
- Built in
The Iris machines from EuroBraille do not have APM or ACPI support to shut themselves down properly. A special I/O sequence is needed to do so, which is what this module does at kernel shutdown.
This is only for Iris machines from EuroBraille.
If unused, say N.
- Depends on
CONFIG_SCHED_OMIT_FRAME_POINTER Single-depth WCHAN output
Calculate simpler /proc/<PID>/wchan values. If this option is disabled then wchan values will recurse back to the caller function. This provides more accurate wchan values, at the expense of slightly more scheduling overhead.
If in doubt, say "Y".
- Depends on
X86
CONFIG_HYPERVISOR_GUEST Linux guest support
Say Y here to enable options for running Linux under various hyper- visors. This option enables basic hypervisor detection and platform setup.
If you say N, all options in this submenu will be skipped and disabled, and Linux guest support won't be built in.
If HYPERVISOR_GUEST
CONFIG_PARAVIRT Enable paravirtualization code
This changes the kernel so it can modify itself when it is run under a hypervisor, potentially improving performance significantly over full virtualization. However, when run without a hypervisor the kernel is theoretically slower and slightly larger.
- Depends on
HYPERVISOR_GUEST && HAVE_STATIC_CALL - Selects
HAVE_PV_STEAL_CLOCK_GEN if HYPERVISOR_GUEST && HAVE_STATIC_CALL
CONFIG_PARAVIRT_XXL
- Depends on
HYPERVISOR_GUEST && - Selects
ARCH_HAS_LAZY_MMU_MODE if HYPERVISOR_GUEST &&
CONFIG_PARAVIRT_SPINLOCKS Paravirtualization layer for spinlocks
Paravirtualized spinlocks allow a pvops backend to replace the spinlock implementation with something virtualization-friendly (for example, block the virtual CPU rather than spinning).
It has a minimal impact on native kernels and gives a nice performance benefit on paravirtualized KVM / Xen kernels.
If you are unsure how to answer this question, answer Y.
- Depends on
HYPERVISOR_GUEST && &&
CONFIG_X86_HV_CALLBACK_VECTOR
CONFIG_KVM_GUEST KVM Guest support (including kvmclock)
This option enables various optimizations for running under the KVM hypervisor. It includes a paravirtualized clock, so that instead of relying on a PIT (or probably other) emulation by the underlying device model, the host provides the guest with timing infrastructure such as time of day, and system time
- Depends on
HYPERVISOR_GUEST && - Selects
PARAVIRT_CLOCK if HYPERVISOR_GUEST && - Selects
ARCH_CPUIDLE_HALTPOLL if HYPERVISOR_GUEST && - Selects
X86_HV_CALLBACK_VECTOR if HYPERVISOR_GUEST &&
CONFIG_ARCH_CPUIDLE_HALTPOLL Disable host haltpoll when loading haltpoll driver
If virtualized under KVM, disable host haltpoll.
CONFIG_PVH Support for running PVH guests
This option enables the PVH entry point for guest virtual machines as specified in the x86/HVM direct boot ABI.
CONFIG_PARAVIRT_TIME_ACCOUNTING Paravirtual steal time accounting
Select this option to enable fine granularity task steal time accounting. Time spent executing other tasks in parallel with the current vCPU is discounted from the vCPU power. To account for that, there can be a small performance impact.
If in doubt, say N here.
- Depends on
HYPERVISOR_GUEST &&
CONFIG_PARAVIRT_CLOCK
CONFIG_JAILHOUSE_GUEST Jailhouse non-root cell support
This option allows to run Linux as guest in a Jailhouse non-root cell. You can leave this option disabled if you only want to start Jailhouse and run Linux afterwards in the root cell.
- Depends on
HYPERVISOR_GUEST && && PCI - Selects
X86_PM_TIMER if HYPERVISOR_GUEST && && PCI
CONFIG_ACRN_GUEST ACRN Guest support
This option allows to run Linux as guest in the ACRN hypervisor. ACRN is a flexible, lightweight reference open-source hypervisor, built with real-time and safety-criticality in mind. It is built for embedded IOT with small footprint and real-time features. More details can be found in https://projectacrn.org/.
- Depends on
HYPERVISOR_GUEST && - Selects
X86_HV_CALLBACK_VECTOR if HYPERVISOR_GUEST &&
CONFIG_BHYVE_GUEST Bhyve (BSD Hypervisor) Guest support
This option allows to run Linux to recognise when it is running as a guest in the Bhyve hypervisor, and to support more than 255 vCPUs when when doing so. More details about Bhyve can be found at https://bhyve.org and https://wiki.freebsd.org/bhyve/.
- Depends on
HYPERVISOR_GUEST &&
CONFIG_INTEL_TDX_GUEST Intel TDX (Trust Domain Extensions) - Guest Support
Support running as a guest under Intel TDX. Without this support, the guest kernel can not boot or run under TDX. TDX includes memory encryption and integrity capabilities which protect the confidentiality and integrity of guest memory contents and CPU state. TDX guests are protected from some attacks from the VMM.
- Depends on
HYPERVISOR_GUEST && && CPU_SUP_INTEL && X86_X2APIC && && - Selects
ARCH_HAS_CC_PLATFORM if HYPERVISOR_GUEST && && CPU_SUP_INTEL && X86_X2APIC && && - Selects
X86_MEM_ENCRYPT if HYPERVISOR_GUEST && && CPU_SUP_INTEL && X86_X2APIC && && - Selects
X86_MCE if HYPERVISOR_GUEST && && CPU_SUP_INTEL && X86_X2APIC && && - Selects
UNACCEPTED_MEMORY if HYPERVISOR_GUEST && && CPU_SUP_INTEL && X86_X2APIC && &&
CONFIG_HPET_TIMER HPET Timer Support
Use the IA-PC HPET (High Precision Event Timer) to manage time in preference to the PIT and RTC, if a HPET is present. HPET is the next generation timer replacing legacy 8254s. The HPET provides a stable time base on SMP systems, unlike the TSC, but it is more expensive to access, as it is off-chip. The interface used is documented in the HPET spec, revision 1.
You can safely choose Y here. However, HPET will only be activated if the platform and the BIOS support this feature. Otherwise the 8254 will be used for timing services.
Choose N to continue using the legacy 8254 timer.
If HPET_TIMER
CONFIG_HPET_EMULATE_RTC
- Depends on
HPET_TIMER && RTC_DRV_CMOS!=n
CONFIG_DMI Enable DMI scanning
Enabled scanning of DMI to identify machine quirks. Say Y here unless you have verified that your setup is not affected by entries in the DMI blacklist. Required by PNP BIOS code.
CONFIG_GART_IOMMU Old AMD GART IOMMU support
Provides a driver for older AMD Athlon64/Opteron/Turion/Sempron GART based hardware IOMMUs.
The GART supports full DMA access for devices with 32-bit access limitations, on systems with more than 3 GB. This is usually needed for USB, sound, many IDE/SATA chipsets and some other devices.
Newer systems typically have a modern AMD IOMMU, supported via the CONFIG_AMD_IOMMU=y config option.
In normal configurations this driver is only active when needed: there's more than 3 GB of memory and the system contains a 32-bit limited device.
If unsure, say Y.
CONFIG_BOOT_VESA_SUPPORT
If true, at least one selected framebuffer driver can take advantage of VESA video modes set at an early boot stage via the vga= parameter.
CONFIG_MAXSMP Enable Maximum number of SMP Processors and NUMA Nodes
Enable maximum number of CPUS and NUMA Nodes for this architecture. If unsure, say N.
- Depends on
&& && DEBUG_KERNEL - Selects
CPUMASK_OFFSTACK if && && DEBUG_KERNEL
CONFIG_NR_CPUS_RANGE_BEGIN
CONFIG_NR_CPUS_RANGE_END
- Depends on
CONFIG_NR_CPUS_RANGE_END
- Depends on
CONFIG_NR_CPUS_DEFAULT
- Depends on
CONFIG_NR_CPUS_DEFAULT
- Depends on
CONFIG_NR_CPUS Maximum number of CPUs
This allows you to specify the maximum number of CPUs which this kernel will support. If CPUMASK_OFFSTACK is enabled, the maximum supported value is 8192, otherwise the maximum value is 512. The minimum value which makes sense is 2.
This is purely to save memory: each supported CPU adds about 8KB to the kernel image.
- Range
[ ]
CONFIG_SCHED_MC_PRIO CPU core priorities scheduler support
Intel Turbo Boost Max Technology 3.0 enabled CPUs have a core ordering determined at manufacturing time, which allows certain cores to reach higher turbo frequencies (when running single threaded workloads) than others.
Enabling this kernel feature teaches the scheduler about the TBM3 (aka ITMT) priority order of the CPU cores and adjusts the scheduler's CPU selection logic accordingly, so that higher overall system performance can be achieved.
This feature will have no effect on CPUs without this feature.
If unsure say Y here.
- Depends on
- Selects
X86_INTEL_PSTATE if && CPU_SUP_INTEL - Selects
X86_AMD_PSTATE if && CPU_SUP_AMD && ACPI - Selects
CPU_FREQ if
CONFIG_UP_LATE_INIT
- Depends on
! && X86_LOCAL_APIC
CONFIG_X86_UP_APIC Local APIC support on uniprocessors
A local APIC (Advanced Programmable Interrupt Controller) is an integrated interrupt controller in the CPU. If you have a single-CPU system which has a processor with a local APIC, you can say Y here to enable and use it. If you say Y here even though your machine doesn't have a local APIC, then the kernel will still run with no slowdown at all. The local APIC supports CPU-generated self-interrupts (timer, performance counters), and the NMI watchdog which detects hard lockups.
- Depends on
&& !
If X86_UP_APIC
CONFIG_X86_UP_IOAPIC IO-APIC support on uniprocessors
An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an SMP-capable replacement for PC-style interrupt controllers. Most SMP systems and many recent uniprocessor systems have one.
If you have a single-CPU system with an IO-APIC, you can say Y here to use it. If you say Y here even though your machine doesn't have an IO-APIC, then the kernel will still run with no slowdown at all.
CONFIG_X86_LOCAL_APIC
- Depends on
|| || X86_UP_APIC || PCI_MSI - Selects
IRQ_DOMAIN_HIERARCHY if || || X86_UP_APIC || PCI_MSI
CONFIG_ACPI_MADT_WAKEUP
- Depends on
&& ACPI && && X86_LOCAL_APIC
CONFIG_X86_IO_APIC
- Depends on
X86_LOCAL_APIC || X86_UP_IOAPIC
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS Reroute for broken boot IRQs
This option enables a workaround that fixes a source of spurious interrupts. This is recommended when threaded interrupt handling is used on systems where the generation of superfluous "boot interrupts" cannot be disabled.
Some chipsets generate a legacy INTx "boot IRQ" when the IRQ entry in the chipset's IO-APIC is masked (as, e.g. the RT kernel does during interrupt handling). On chipsets where this boot IRQ generation cannot be disabled, this workaround keeps the original IRQ line masked so that only the equivalent "boot IRQ" is delivered to the CPUs. The workaround also tells the kernel to set up the IRQ handler on the boot IRQ line. In this way only one interrupt is delivered to the kernel. Otherwise the spurious second interrupt may cause the kernel to bring down (vital) interrupt lines.
Only affects "broken" chipsets. Interrupt sharing may be increased on these systems.
- Depends on
X86_IO_APIC
CONFIG_X86_MCE Machine Check / overheating reporting
Machine Check support allows the processor to notify the kernel if it detects a problem (e.g. overheating, data corruption). The action the kernel takes depends on the severity of the problem, ranging from warning messages to halting the machine.
- Selects
GENERIC_ALLOCATOR
If X86_MCE
CONFIG_X86_MCELOG_LEGACY Support for deprecated /dev/mcelog character device
Enable support for /dev/mcelog which is needed by the old mcelog userspace logging daemon. Consider switching to the new generation rasdaemon solution.
CONFIG_X86_MCE_INTEL Intel MCE features
Additional support for intel specific MCE features such as the thermal monitor.
- Depends on
X86_MCE && X86_LOCAL_APIC
CONFIG_X86_MCE_AMD AMD MCE features
Additional support for AMD specific MCE features such as the DRAM Error Threshold.
- Depends on
X86_MCE && X86_LOCAL_APIC
CONFIG_X86_ANCIENT_MCE Support for old Pentium 5 / WinChip machine checks
Include support for machine check handling on old Pentium 5 or WinChip systems. These typically need to be enabled explicitly on the command line.
- Depends on
&& X86_MCE
CONFIG_X86_MCE_THRESHOLD
- Depends on
X86_MCE_AMD || X86_MCE_INTEL
CONFIG_X86_MCE_INJECT Machine check injector support
- Off
- Module
- Built in
Provide support for injecting machine checks for testing purposes. If you don't know what a machine check is and you don't do kernel QA it is safe to say n.
- Depends on
X86_MCE && X86_LOCAL_APIC && DEBUG_FS
CONFIG_X86_LEGACY_VM86 Legacy VM86 support
This option allows user programs to put the CPU into V8086 mode, which is an 80286-era approximation of 16-bit real mode.
Some very old versions of X and/or vbetool require this option for user mode setting. Similarly, DOSEMU will use it if available to accelerate real mode DOS programs. However, any recent version of DOSEMU, X, or vbetool should be fully functional even without kernel VM86 support, as they will all fall back to software emulation. Nevertheless, if you are using a 16-bit DOS program where 16-bit performance matters, vm86 mode might be faster than emulation and you might want to enable this option.
Note that any app that works on a 64-bit kernel is unlikely to need this option, as 64-bit kernels don't, and can't, support V8086 mode. This option is also unrelated to 16-bit protected mode and is not needed to run most 16-bit programs under Wine.
Enabling this option increases the complexity of the kernel and slows down exception handling a tiny bit.
If unsure, say N here.
- Depends on
CONFIG_VM86
CONFIG_X86_16BIT Enable support for 16-bit segments
This option is required by programs like Wine to run 16-bit protected mode legacy code on x86 processors. Disabling this option saves about 300 bytes on i386, or around 6K text plus 16K runtime memory on x86-64,
- Depends on
MODIFY_LDT_SYSCALL
If X86_16BIT
CONFIG_X86_VSYSCALL_EMULATION Enable vsyscall emulation
This enables emulation of the legacy vsyscall page. Disabling it is roughly equivalent to booting with vsyscall=none, except that it will also disable the helpful warning if a program tries to use a vsyscall. With this option set to N, offending programs will just segfault, citing addresses of the form 0xffffffffff600?00.
This option is required by many programs built before 2013, and care should be used even with newer programs if set to N.
Disabling this option saves about 7K of kernel size and possibly 4K of additional runtime pagetable memory.
- Depends on
CONFIG_X86_IOPL_IOPERM IOPERM and IOPL Emulation
This enables the ioperm() and iopl() syscalls which are necessary for legacy applications.
Legacy IOPL support is an overbroad mechanism which allows user space aside of accessing all 65536 I/O ports also to disable interrupts. To gain this access the caller needs CAP_SYS_RAWIO capabilities and permission from potentially active security modules.
The emulation restricts the functionality of the syscall to only allowing the full range I/O port access, but prevents the ability to disable interrupts from user space which would be granted if the hardware IOPL mechanism would be used.
CONFIG_TOSHIBA Toshiba Laptop support
- Off
- Module
- Built in
This adds a driver to safely access the System Management Mode of the CPU on Toshiba portables with a genuine Toshiba BIOS. It does not work on models with a Phoenix BIOS. The System Management Mode is used to set the BIOS and power saving options on Toshiba portables.
For information on utilities to make use of this driver see the Toshiba Linux utilities web site at: <http://www.buzzard.org.uk/toshiba/>.
Say Y if you intend to run this kernel on a Toshiba portable. Say N otherwise.
- Depends on
CONFIG_X86_REBOOTFIXUPS Enable X86 board specific fixups for reboot
This enables chipset and/or board specific fixups to be done in order to get reboot to work correctly. This is only needed on some combinations of hardware and BIOS. The symptom, for which this config is intended, is when reboot ends with a stalled/hung system.
Currently, the only fixup is for the Geode machines using CS5530A and CS5536 chipsets and the RDC R-321x SoC.
Say Y if you want to enable the fixup. Currently, it's safe to enable this option even if you don't need it. Say N otherwise.
- Depends on
CONFIG_MICROCODE
- Depends on
CPU_SUP_AMD || CPU_SUP_INTEL - Selects
CRYPTO_LIB_SHA256 if (CPU_SUP_AMD || CPU_SUP_INTEL) && CPU_SUP_AMD
CONFIG_MICROCODE_INITRD32
- Depends on
MICROCODE && && BLK_DEV_INITRD
CONFIG_MICROCODE_LATE_LOADING Late microcode loading (DANGEROUS)
Loading microcode late, when the system is up and executing instructions is a tricky business and should be avoided if possible. Just the sequence of synchronizing all cores and SMT threads is one fragile dance which does not guarantee that cores might not softlock after the loading. Therefore, use this at your own risk. Late loading taints the kernel unless the microcode header indicates that it is safe for late loading via the minimal revision check. This minimal revision check can be enforced on the kernel command line with "microcode=force_minrev".
- Depends on
MICROCODE &&
If MICROCODE_LATE_LOADING
CONFIG_MICROCODE_LATE_FORCE_MINREV Enforce late microcode loading minimal revision check
To prevent that users load microcode late which modifies already in use features, newer microcode patches have a minimum revision field in the microcode header, which tells the kernel which minimum revision must be active in the CPU to safely load that new microcode late into the running system. If disabled the check will not be enforced but the kernel will be tainted when the minimal revision check fails.
This minimal revision check can also be controlled via the "microcode=force_minrev" parameter on the kernel command line.
If unsure say Y.
CONFIG_MICROCODE_DBG Enable microcode loader debugging
Enable code which allows to debug the microcode loader. When running in a guest the patch loading is simulated but everything else related to patch parsing and handling is done as on baremetal with the purpose of debugging solely the software side of things. On baremetal, it simply dumps additional debugging information during normal operation.
You almost certainly want to say n here.
- Depends on
MICROCODE
CONFIG_X86_MSR /dev/cpu/*/msr - Model-specific register support
- Off
- Module
- Built in
This device gives privileged processes access to the x86 Model-Specific Registers (MSRs). It is a character device with major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr. MSR accesses are directed to a specific CPU on multi-processor systems.
CONFIG_X86_CPUID /dev/cpu/*/cpuid - CPU information support
- Off
- Module
- Built in
This device gives processes access to the x86 CPUID instruction to be executed on a specific processor. It is a character device with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to /dev/cpu/31/cpuid.
CONFIG_HIGHMEM4G High Memory Support
Linux can use up to 4 Gigabytes of physical memory on x86 systems. However, the address space of 32-bit x86 processors is only 4 Gigabytes large. That means that, if you have a large amount of physical memory, not all of it can be "permanently mapped" by the kernel. The physical memory that's not permanently mapped is called "high memory".
If you are compiling a kernel which will never run on a machine with more than 1 Gigabyte total physical RAM, answer "off" here (default choice and suitable for most users). This will result in a "3GB/1GB" split: 3GB are mapped so that each process sees a 3GB virtual memory space and the remaining part of the 4GB virtual memory space is used by the kernel to permanently map as much physical memory as possible.
If the machine has between 1 and 4 Gigabytes physical RAM, then answer "Y" here.
If unsure, say N.
- Depends on
Memory split
Select the desired split between kernel and user memory.
If the address range available to the kernel is less than the physical memory installed, the remaining memory will be available as "high memory". Accessing high memory is a little more costly than low memory, as it needs to be mapped into the kernel first. Note that increasing the kernel address space limits the range available to user programs, making the address space there tighter. Selecting anything other than the default 3G/1G split will also likely make your kernel incompatible with binary-only kernel modules.
If you are not absolutely sure what you are doing, leave this option alone!
- Depends on
CONFIG_VMSPLIT_3G 3G/1G user/kernel split
- Depends on
CONFIG_VMSPLIT_3G_OPT 3G/1G user/kernel split (for full 1G low memory)
- Depends on
&& !X86_PAE
CONFIG_VMSPLIT_2G 2G/2G user/kernel split
- Depends on
CONFIG_VMSPLIT_2G_OPT 2G/2G user/kernel split (for full 2G low memory)
- Depends on
&& !X86_PAE
CONFIG_VMSPLIT_1G 1G/3G user/kernel split
- Depends on
CONFIG_PAGE_OFFSET
- Depends on
CONFIG_HIGHMEM
CONFIG_X86_PAE PAE (Physical Address Extension) Support
PAE is required for NX support, and furthermore enables larger swapspace support for non-overcommit purposes. It has the cost of more pagetable lookup overhead, and also consumes more pagetable space per process.
- Depends on
&& X86_HAVE_PAE - Selects
PHYS_ADDR_T_64BIT if && X86_HAVE_PAE
CONFIG_X86_DIRECT_GBPAGES
Certain kernel features effectively disable kernel linear 1 GB mappings (even if the CPU otherwise supports them), so don't confuse the user by printing that we have them enabled.
- Depends on
CONFIG_X86_CPA_STATISTICS Enable statistic for Change Page Attribute
Expose statistics about the Change Page Attribute mechanism, which helps to determine the effectiveness of preserving large and huge page mappings when mapping protections are changed.
- Depends on
DEBUG_FS
CONFIG_X86_MEM_ENCRYPT
- Selects
ARCH_HAS_FORCE_DMA_UNENCRYPTED - Selects
DYNAMIC_PHYSICAL_MASK
CONFIG_AMD_MEM_ENCRYPT AMD Secure Memory Encryption (SME) support
Say yes to enable support for the encryption of system memory. This requires an AMD processor that supports Secure Memory Encryption (SME).
- Depends on
&& CPU_SUP_AMD && - Selects
DMA_COHERENT_POOL if && CPU_SUP_AMD && - Selects
ARCH_USE_MEMREMAP_PROT if && CPU_SUP_AMD && - Selects
INSTRUCTION_DECODER if && CPU_SUP_AMD && - Selects
ARCH_HAS_CC_PLATFORM if && CPU_SUP_AMD && - Selects
X86_MEM_ENCRYPT if && CPU_SUP_AMD && - Selects
UNACCEPTED_MEMORY if && CPU_SUP_AMD && - Selects
CRYPTO_LIB_AES_GCM if && CPU_SUP_AMD &&
CONFIG_NUMA NUMA Memory Allocation and Scheduler Support
Enable NUMA (Non-Uniform Memory Access) support.
The kernel will try to allocate memory used by a CPU on the local memory controller of the CPU and add some more NUMA awareness to the kernel.
For 64-bit this is recommended if the system is Intel Core i7 (or later), AMD Opteron, or EM64T NUMA.
Otherwise, you should say N.
- Depends on
&& - Selects
USE_PERCPU_NUMA_NODE_ID if && - Selects
OF_NUMA if && && OF
If
CONFIG_AMD_NUMA Old style AMD Opteron NUMA detection
Enable AMD NUMA node topology detection. You should say Y here if you have a multi processor AMD system. This uses an old method to read the NUMA configuration directly from the builtin Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA instead, which also takes priority if both are compiled in.
- Depends on
&& && PCI
CONFIG_X86_64_ACPI_NUMA ACPI NUMA detection
Enable ACPI SRAT based node topology detection.
CONFIG_NODES_SHIFT Maximum NUMA Nodes (as a power of 2)
Specify the maximum number of NUMA Nodes available on the target system. Increases memory reserved to accommodate various tables.
- Range
[1 10] if
CONFIG_ARCH_FLATMEM_ENABLE
- Depends on
&& !
CONFIG_ARCH_SPARSEMEM_ENABLE
- Selects
SPARSEMEM_STATIC if - Selects
SPARSEMEM_VMEMMAP_ENABLE if
CONFIG_ARCH_SPARSEMEM_DEFAULT
CONFIG_ARCH_SELECT_MEMORY_MODEL
- Depends on
&&
CONFIG_ARCH_MEMORY_PROBE Enable sysfs memory/probe interface
This option enables a sysfs memory/probe interface for testing. See Documentation/admin-guide/mm/memory-hotplug.rst for more information. If you are unsure how to answer this question, answer N.
- Depends on
MEMORY_HOTPLUG
CONFIG_ARCH_PROC_KCORE_TEXT
- Depends on
&& PROC_KCORE
CONFIG_ILLEGAL_POINTER_VALUE
CONFIG_X86_PMEM_LEGACY_DEVICE
CONFIG_X86_PMEM_LEGACY Support non-standard NVDIMMs and ADR protected memory
- Off
- Module
- Built in
Treat memory marked using the non-standard e820 type of 12 as used by the Intel Sandy Bridge-EP reference BIOS as protected memory. The kernel will offer these regions to the 'pmem' driver so they can be used for persistent storage.
Say Y if unsure.
- Depends on
PHYS_ADDR_T_64BIT && BLK_DEV - Selects
X86_PMEM_LEGACY_DEVICE if PHYS_ADDR_T_64BIT && BLK_DEV - Selects
NUMA_KEEP_MEMINFO if PHYS_ADDR_T_64BIT && BLK_DEV && - Selects
LIBNVDIMM if PHYS_ADDR_T_64BIT && BLK_DEV
CONFIG_X86_CHECK_BIOS_CORRUPTION Check for low memory corruption
Periodically check for memory corruption in low memory, which is suspected to be caused by BIOS. Even when enabled in the configuration, it is disabled at runtime. Enable it by setting "memory_corruption_check=1" on the kernel command line. By default it scans the low 64k of memory every 60 seconds; see the memory_corruption_check_size and memory_corruption_check_period parameters in Documentation/admin-guide/kernel-parameters.rst to adjust this.
When enabled with the default parameters, this option has almost no overhead, as it reserves a relatively small amount of memory and scans it infrequently. It both detects corruption and prevents it from affecting the running system.
It is, however, intended as a diagnostic tool; if repeatable BIOS-originated corruption always affects the same memory, you can use memmap= to prevent the kernel from using that memory.
If X86_CHECK_BIOS_CORRUPTION
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK Set the default setting of memory_corruption_check
Set whether the default state of memory_corruption_check is on or off.
CONFIG_MTRR MTRR (Memory Type Range Register) support
On Intel P6 family processors (Pentium Pro, Pentium II and later) the Memory Type Range Registers (MTRRs) may be used to control processor access to memory ranges. This is most useful if you have a video (VGA) card on a PCI or AGP bus. Enabling write-combining allows bus write transfers to be combined into a larger transfer before bursting over the PCI/AGP bus. This can increase performance of image write operations 2.5 times or more. Saying Y here creates a /proc/mtrr file which may be used to manipulate your processor's MTRRs. Typically the X server should use this.
This code has a reasonably generic interface so that similar control registers on other processors can be easily supported as well:
The Cyrix 6x86, 6x86MX and M II processors have Address Range Registers (ARRs) which provide a similar functionality to MTRRs. For these, the ARRs are used to emulate the MTRRs. The AMD K6-2 (stepping 8 and above) and K6-3 processors have two MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. All of these processors are supported by this code and it makes sense to say Y here if you have one of them.
Saying Y here also fixes a problem with buggy SMP BIOSes which only set the MTRRs for the boot CPU and not for the secondary CPUs. This can lead to all sorts of problems, so it's good to say Y here.
You can safely say Y even if your machine doesn't have MTRRs, you'll just add about 9 KB to your kernel.
See <file:Documentation/arch/x86/mtrr.rst> for more information.
If MTRR
CONFIG_MTRR_SANITIZER MTRR cleanup support
Convert MTRR layout from continuous to discrete, so X drivers can add writeback entries.
Can be disabled with disable_mtrr_cleanup on the kernel command line. The largest mtrr entry size for a continuous block can be set with mtrr_chunk_size.
If unsure, say Y.
If MTRR_SANITIZER
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT MTRR cleanup enable value (0-1)
Enable mtrr cleanup default value
- Range
[0 1] if MTRR_SANITIZER
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT MTRR cleanup spare reg num (0-7)
mtrr cleanup spare entries default, it can be changed via mtrr_spare_reg_nr=N on the kernel command line.
- Range
[0 7] if MTRR_SANITIZER
CONFIG_X86_PAT x86 PAT support
Use PAT attributes to setup page level cache control.
PATs are the modern equivalents of MTRRs and are much more flexible than MTRRs.
Say N here if you see bootup problems (boot crash, boot hang, spontaneous reboots) or a non-working video driver.
If unsure, say Y.
- Selects
ARCH_USES_PG_ARCH_2 if MTRR
CONFIG_X86_UMIP User Mode Instruction Prevention
User Mode Instruction Prevention (UMIP) is a security feature in some x86 processors. If enabled, a general protection fault is issued if the SGDT, SLDT, SIDT, SMSW or STR instructions are executed in user mode. These instructions unnecessarily expose information about the hardware state.
The vast majority of applications do not use these instructions. For the very few that do, software emulation is provided in specific cases in protected and virtual-8086 modes. Emulated results are dummy.
CONFIG_CC_HAS_IBT
CONFIG_X86_CET
CET features configured (Shadow stack or IBT)
CONFIG_X86_KERNEL_IBT Indirect Branch Tracking
Build the kernel with support for Indirect Branch Tracking, a hardware support course-grain forward-edge Control Flow Integrity protection. It enforces that all indirect calls must land on an ENDBR instruction, as such, the compiler will instrument the code with them to make this happen.
In addition to building the kernel with IBT, seal all functions that are not indirect call targets, avoiding them ever becoming one.
This requires LTO like objtool runs and will slow down the build. It does significantly reduce the number of ENDBR instructions in the kernel image.
- Depends on
&& CC_HAS_IBT && HAVE_OBJTOOL - Selects
OBJTOOL if && CC_HAS_IBT && HAVE_OBJTOOL - Selects
X86_CET if && CC_HAS_IBT && HAVE_OBJTOOL
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS Memory Protection Keys
Memory Protection Keys provides a mechanism for enforcing page-based protections, but without requiring modification of the page tables when an application changes protection domains.
For details, see Documentation/core-api/protection-keys.rst
If unsure, say y.
- Depends on
&& (CPU_SUP_INTEL || CPU_SUP_AMD) - Selects
ARCH_USES_HIGH_VMA_FLAGS if && (CPU_SUP_INTEL || CPU_SUP_AMD) - Selects
ARCH_HAS_PKEYS if && (CPU_SUP_INTEL || CPU_SUP_AMD)
CONFIG_ARCH_PKEY_BITS
TSX enable mode
Intel's TSX (Transactional Synchronization Extensions) feature allows to optimize locking protocols through lock elision which can lead to a noticeable performance boost.
On the other hand it has been shown that TSX can be exploited to form side channel attacks (e.g. TAA) and chances are there will be more of those attacks discovered in the future.
Therefore TSX is not enabled by default (aka tsx=off). An admin might override this decision by tsx=on the command line parameter. Even with TSX enabled, the kernel will attempt to enable the best possible TAA mitigation setting depending on the microcode available for the particular machine.
This option allows to set the default tsx mode between tsx=on, =off and =auto. See Documentation/admin-guide/kernel-parameters.txt for more details.
Say off if not sure, auto if TSX is in use but it should be used on safe platforms or on if TSX is in use and the security aspect of tsx is not relevant.
- Depends on
CPU_SUP_INTEL
CONFIG_X86_INTEL_TSX_MODE_OFF off
TSX is disabled if possible - equals to tsx=off command line parameter.
- Depends on
CPU_SUP_INTEL
CONFIG_X86_INTEL_TSX_MODE_ON on
TSX is always enabled on TSX capable HW - equals the tsx=on command line parameter.
- Depends on
CPU_SUP_INTEL
CONFIG_X86_INTEL_TSX_MODE_AUTO auto
TSX is enabled on TSX capable HW that is believed to be safe against side channel attacks- equals the tsx=auto command line parameter.
- Depends on
CPU_SUP_INTEL
CONFIG_X86_SGX Software Guard eXtensions (SGX)
Intel(R) Software Guard eXtensions (SGX) is a set of CPU instructions that can be used by applications to set aside private regions of code and data, referred to as enclaves. An enclave's private memory can only be accessed by code running within the enclave. Accesses from outside the enclave, including other enclaves, are disallowed by hardware.
If unsure, say N.
- Depends on
&& CPU_SUP_INTEL && X86_X2APIC - Selects
CRYPTO_LIB_SHA256 if && CPU_SUP_INTEL && X86_X2APIC - Selects
MMU_NOTIFIER if && CPU_SUP_INTEL && X86_X2APIC - Selects
NUMA_KEEP_MEMINFO if && CPU_SUP_INTEL && X86_X2APIC && - Selects
XARRAY_MULTI if && CPU_SUP_INTEL && X86_X2APIC
CONFIG_X86_USER_SHADOW_STACK X86 userspace shadow stack
Shadow stack protection is a hardware feature that detects function return address corruption. This helps mitigate ROP attacks. Applications must be enabled to use it, and old userspace does not get protection "for free".
CPUs supporting shadow stacks were first released in 2020.
See Documentation/arch/x86/shstk.rst for more information.
If unsure, say N.
- Depends on
AS_WRUSS && - Selects
ARCH_USES_HIGH_VMA_FLAGS if AS_WRUSS && - Selects
ARCH_HAS_USER_SHADOW_STACK if AS_WRUSS && - Selects
X86_CET if AS_WRUSS &&
CONFIG_INTEL_TDX_HOST Intel Trust Domain Extensions (TDX) host support
Intel Trust Domain Extensions (TDX) protects guest VMs from malicious host and certain physical attacks. This option enables necessary TDX support in the host kernel to run confidential VMs.
If unsure, say N.
- Depends on
CPU_SUP_INTEL && && KVM_INTEL && X86_X2APIC && CONTIG_ALLOC && X86_MCE - Selects
ARCH_KEEP_MEMBLOCK if CPU_SUP_INTEL && && KVM_INTEL && X86_X2APIC && CONTIG_ALLOC && X86_MCE
CONFIG_EFI EFI runtime service support
This enables the kernel to use EFI runtime services that are available (such as the EFI variable services).
This option is only useful on systems that have EFI firmware. In addition, you should use the latest ELILO loader available at <http://elilo.sourceforge.net> in order to take advantage of EFI runtime services. However, even with this option, the resultant kernel should continue to boot on existing non-EFI platforms.
- Depends on
ACPI - Selects
UCS2_STRING if ACPI - Selects
EFI_RUNTIME_WRAPPERS if ACPI - Selects
ARCH_USE_MEMREMAP_PROT if ACPI - Selects
EFI_RUNTIME_MAP if ACPI && KEXEC_CORE
If
CONFIG_EFI_STUB EFI stub support
This kernel feature allows a bzImage to be loaded directly by EFI firmware without the use of a bootloader.
See Documentation/admin-guide/efi-stub.rst for more information.
- Selects
if
If
CONFIG_EFI_HANDOVER_PROTOCOL EFI handover protocol (DEPRECATED)
Select this in order to include support for the deprecated EFI handover protocol, which defines alternative entry points into the EFI stub. This is a practice that has no basis in the UEFI specification, and requires a priori knowledge on the part of the bootloader about Linux/x86 specific ways of passing the command line and initrd, and where in memory those assets may be loaded.
If in doubt, say Y. Even though the corresponding support is not present in upstream GRUB or other bootloaders, most distros build GRUB with numerous downstream patches applied, and may rely on the handover protocol as as result.
CONFIG_EFI_MIXED EFI mixed-mode support
Enabling this feature allows a 64-bit kernel to be booted on a 32-bit firmware, provided that your CPU supports 64-bit mode.
Note that it is not possible to boot a mixed-mode enabled kernel via the EFI boot stub - a bootloader that supports the EFI handover protocol must be used.
If unsure, say N.
- Depends on
&&
CONFIG_EFI_RUNTIME_MAP Export EFI runtime maps to sysfs
Export EFI runtime memory regions to /sys/firmware/efi/runtime-map. That memory map is required by the 2nd kernel to set up EFI virtual mappings after kexec, but can also be used for debugging purposes.
See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
CONFIG_ARCH_SUPPORTS_KEXEC
CONFIG_ARCH_SUPPORTS_KEXEC_FILE
CONFIG_ARCH_SELECTS_KEXEC_FILE
- Depends on
KEXEC_FILE - Selects
HAVE_IMA_KEXEC if KEXEC_FILE && IMA
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY
CONFIG_ARCH_SUPPORTS_KEXEC_SIG
CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE
CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER
CONFIG_ARCH_SUPPORTS_CRASH_DUMP
CONFIG_ARCH_DEFAULT_CRASH_DUMP
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
CONFIG_PHYSICAL_START Physical address where the kernel is loaded
This gives the physical address where the kernel is loaded.
If the kernel is not relocatable (CONFIG_RELOCATABLE=n) then bzImage will decompress itself to above physical address and run from there. Otherwise, bzImage will run from the address where it has been loaded by the boot loader. The only exception is if it is loaded below the above physical address, in which case it will relocate itself there.
In normal kdump cases one does not have to set/change this option as now bzImage can be compiled as a completely relocatable image (CONFIG_RELOCATABLE=y) and be used to load and run from a different address. This option is mainly useful for the folks who don't want to use a bzImage for capturing the crash dump and want to use a vmlinux instead. vmlinux is not relocatable hence a kernel needs to be specifically compiled to run from a specific memory area (normally a reserved region) and this option comes handy.
So if you are using bzImage for capturing the crash dump, leave the value here unchanged to 0x1000000 and set CONFIG_RELOCATABLE=y. Otherwise if you plan to use vmlinux for capturing the crash dump change this value to start of the reserved region. In other words, it can be set based on the "X" value as specified in the "crashkernel=YM@XM" command line boot parameter passed to the panic-ed kernel. Please take a look at Documentation/admin-guide/kdump/kdump.rst for more details about crash dumps.
Usage of bzImage for capturing the crash dump is recommended as one does not have to build two kernels. Same kernel can be used as production kernel and capture kernel. Above option should have gone away after relocatable bzImage support is introduced. But it is present because there are users out there who continue to use vmlinux for dump capture. This option should go away down the line.
Don't change this unless you know what you are doing.
CONFIG_RELOCATABLE Build a relocatable kernel
This builds a kernel image that retains relocation information so it can be loaded someplace besides the default 1MB. The relocations tend to make the kernel binary about 10% larger, but are discarded at runtime.
One use is for the kexec on panic case where the recovery kernel must live at a different physical address than the primary kernel.
Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address it has been loaded at and the compile time physical address (CONFIG_PHYSICAL_START) is used as the minimum location.
If
CONFIG_RANDOMIZE_BASE Randomize the address of the kernel image (KASLR)
In support of Kernel Address Space Layout Randomization (KASLR), this randomizes the physical address at which the kernel image is decompressed and the virtual address where the kernel image is mapped, as a security feature that deters exploit attempts relying on knowledge of the location of kernel code internals.
On 64-bit, the kernel physical and virtual addresses are randomized separately. The physical address will be anywhere between 16MB and the top of physical memory (up to 64TB). The virtual address will be randomized from 16MB up to 1GB (9 bits of entropy). Note that this also reduces the memory space available to kernel modules from 1.5GB to 1GB.
On 32-bit, the kernel physical and virtual addresses are randomized together. They will be randomized from 16MB up to 512MB (8 bits of entropy).
Entropy is generated using the RDRAND instruction if it is supported. If RDTSC is supported, its value is mixed into the entropy pool as well. If neither RDRAND nor RDTSC are supported, then entropy is read from the i8254 timer. The usable entropy is limited by the kernel being built using 2GB addressing, and that PHYSICAL_ALIGN must be at a minimum of 2MB. As a result, only 10 bits of entropy are theoretically possible, but the implementations are further limited due to memory layouts.
If unsure, say Y.
CONFIG_X86_NEED_RELOCS
- Depends on
|| && - Selects
ARCH_VMLINUX_NEEDS_RELOCS if || &&
CONFIG_PHYSICAL_ALIGN Alignment value to which kernel should be aligned
This value puts the alignment restrictions on physical address where kernel is loaded and run from. Kernel is compiled for an address which meets above alignment restriction.
If bootloader loads the kernel at a non-aligned address and CONFIG_RELOCATABLE is set, kernel will move itself to nearest address aligned to above value and run from there.
If bootloader loads the kernel at a non-aligned address and CONFIG_RELOCATABLE is not set, kernel will ignore the run time load address and decompress itself to the address it has been compiled for and run from there. The address for which kernel is compiled already meets above alignment restrictions. Hence the end result is that kernel runs from a physical address meeting above alignment restrictions.
On 32-bit this value must be a multiple of 0x2000. On 64-bit this value must be a multiple of 0x200000.
Don't change this unless you know what you are doing.
- Range
[0x2000 0x1000000] if - Range
[0x200000 0x1000000] if
CONFIG_RANDOMIZE_MEMORY Randomize the kernel memory sections
Randomizes the base virtual address of kernel memory sections (physical memory mapping, vmalloc & vmemmap). This security feature makes exploits relying on predictable memory locations less reliable.
The order of allocations remains unchanged. Entropy is generated in the same way as RANDOMIZE_BASE. Current implementation in the optimal configuration have in average 30,000 different possible virtual addresses for each memory section.
If unsure, say Y.
- Depends on
&&
If RANDOMIZE_MEMORY
CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING Physical memory mapping padding
Define the padding in terabytes added to the existing physical memory size during kernel memory randomization. It is useful for memory hotplug support but reduces the entropy available for address randomization.
If unsure, leave at the default value.
- Range
[0x1 0x40] if RANDOMIZE_MEMORY && MEMORY_HOTPLUG - Range
[0x0 0x40] if RANDOMIZE_MEMORY
CONFIG_ADDRESS_MASKING Linear Address Masking support
Linear Address Masking (LAM) modifies the checking that is applied to 64-bit linear addresses, allowing software to use of the untranslated address bits for metadata.
The capability can be used for efficient address sanitizers (ASAN) implementation and for optimizations in JITs.
- Depends on
&& (COMPILE_TEST || !)
CONFIG_HOTPLUG_CPU
- Depends on
CONFIG_COMPAT_VDSO Workaround for glibc 2.3.2 / 2.3.3 (released in year 2003/2004)
Certain buggy versions of glibc will crash if they are presented with a 32-bit vDSO that is not mapped at the address indicated in its segment table.
The bug was introduced by f866314b89d56845f55e6f365e18b31ec978ec3a and fixed by 3b3ddb4f7db98ec9e912ccdf54d35df4aa30e04a and 49ad572a70b8aeb91e57483a11dd1b77e31c4468. Glibc 2.3.3 is the only released version with the bug, but OpenSUSE 9 contains a buggy "glibc 2.3.2".
The symptom of the bug is that everything crashes on startup, saying: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Saying Y here changes the default value of the vdso32 boot option from 1 to 0, which turns off the 32-bit vDSO entirely. This works around the glibc bug but hurts performance.
If unsure, say N: if you are compiling your own kernel, you are unlikely to be using a buggy version of glibc.
- Depends on
COMPAT_32
vsyscall table for legacy applications
Legacy user code that does not know how to find the vDSO expects to be able to issue three syscalls by calling fixed addresses in kernel space. Since this location is not randomized with ASLR, it can be used to assist security vulnerability exploitation.
This setting can be changed at boot time via the kernel command line parameter vsyscall=[emulate|xonly|none]. Emulate mode is deprecated and can only be enabled using the kernel command line.
On a system with recent enough glibc (2.14 or newer) and no static binaries, you can say None without a performance penalty to improve security.
If unsure, select "Emulate execution only".
- Depends on
CONFIG_LEGACY_VSYSCALL_XONLY Emulate execution only
The kernel traps and emulates calls into the fixed vsyscall address mapping and does not allow reads. This configuration is recommended when userspace might use the legacy vsyscall area but support for legacy binary instrumentation of legacy code is not needed. It mitigates certain uses of the vsyscall area as an ASLR-bypassing buffer.
- Depends on
CONFIG_LEGACY_VSYSCALL_NONE None
There will be no vsyscall mapping at all. This will eliminate any risk of ASLR bypass due to the vsyscall fixed address mapping. Attempts to use the vsyscalls will be reported to dmesg, so that either old or malicious userspace programs can be identified.
- Depends on
CONFIG_CMDLINE_BOOL Built-in kernel command line
Allow for specifying boot arguments to the kernel at build time. On some systems (e.g. embedded ones), it is necessary or convenient to provide some or all of the kernel boot arguments with the kernel itself (that is, to not rely on the boot loader to provide them.)
To compile command line arguments into the kernel, set this option to 'Y', then fill in the boot arguments in CONFIG_CMDLINE.
Systems with fully functional boot loaders (i.e. non-embedded) should leave this option set to 'N'.
If
CONFIG_CMDLINE Built-in kernel command string
Enter arguments here that should be compiled into the kernel image and used at boot time. If the boot loader provides a command line at boot time, it is appended to this string to form the full kernel command line, when the system boots.
However, you can use the CONFIG_CMDLINE_OVERRIDE option to change this behavior.
In most cases, the command line (whether built-in or provided by the boot loader) should specify the device for the root file system.
CONFIG_CMDLINE_OVERRIDE Built-in command line overrides boot loader arguments
Set this option to 'Y' to have the kernel ignore the boot loader command line, and use ONLY the built-in command line.
This is used to work around broken boot loaders. This should be set to 'N' under normal conditions.
- Depends on
&& !=
CONFIG_MODIFY_LDT_SYSCALL Enable the LDT (local descriptor table)
Linux can allow user programs to install a per-process x86 Local Descriptor Table (LDT) using the modify_ldt(2) system call. This is required to run 16-bit or segmented code such as DOSEMU or some Wine programs. It is also used by some very old threading libraries.
Enabling this feature adds a small amount of overhead to context switches and increases the low-level kernel attack surface. Disabling it removes the modify_ldt(2) system call.
Saying 'N' here may make sense for embedded or server kernels.
CONFIG_STRICT_SIGALTSTACK_SIZE Enforce strict size checking for sigaltstack
For historical reasons MINSIGSTKSZ is a constant which became already too small with AVX512 support. Add a mechanism to enforce strict checking of the sigaltstack size against the real size of the FPU frame. This option enables the check by default. It can also be controlled via the kernel command line option 'strict_sas_size' independent of this config switch. Enabling it might break existing applications which allocate a too small sigaltstack but 'work' because they never get a signal delivered.
Say 'N' unless you want to really enforce this check.
- Depends on
DYNAMIC_SIGFRAME
CONFIG_CFI_AUTO_DEFAULT Attempt to use FineIBT by default at boot time
Attempt to use FineIBT by default at boot time. If enabled, this is the same as booting with "cfi=auto". If disabled, this is the same as booting with "cfi=kcfi".
- Depends on
FINEIBT && (!RUST || RUSTC_VERSION>=108800)
CONFIG_X86_BUS_LOCK_DETECT Split Lock Detect and Bus Lock Detect support
Enable Split Lock Detect and Bus Lock Detect functionalities. See <file:Documentation/arch/x86/buslock.rst> for more information.
- Depends on
CPU_SUP_INTEL || CPU_SUP_AMD
CONFIG_CC_HAS_NAMED_AS
- Depends on
CC_IS_GCC
CONFIG_CC_HAS_NAMED_AS_FIXED_SANITIZERS
- Depends on
(!KASAN && !KCSAN || GCC_VERSION>=130300) && (!UBSAN_BOOL || !KASAN || GCC_VERSION>=140200)
CONFIG_USE_X86_SEG_SUPPORT
- Depends on
CC_HAS_NAMED_AS_FIXED_SANITIZERS
CONFIG_CC_HAS_SLS
CONFIG_CC_HAS_RETURN_THUNK
CONFIG_CC_HAS_ENTRY_PADDING
CONFIG_CC_HAS_KCFI_ARITY
- Depends on
CC_IS_CLANG && !RUST
CONFIG_CC_OPT_INDIRECT_BRANCH_CS_PREFIX
CONFIG_CC_OPT_CF_PROTECTION_NONE
CONFIG_CC_OPT_CF_PROTECTION_BRANCH
CONFIG_CC_OPT_FALIGN_JUMPS
CONFIG_CC_OPT_FALIGN_LOOPS
CONFIG_FUNCTION_PADDING_CFI
CONFIG_FUNCTION_PADDING_BYTES
CONFIG_CALL_PADDING
- Depends on
CC_HAS_ENTRY_PADDING && OBJTOOL - Selects
FUNCTION_ALIGNMENT_16B if CC_HAS_ENTRY_PADDING && OBJTOOL
CONFIG_FINEIBT
- Depends on
X86_KERNEL_IBT && CFI && MITIGATION_RETPOLINE - Selects
CALL_PADDING if X86_KERNEL_IBT && CFI && MITIGATION_RETPOLINE
CONFIG_FINEIBT_BHI
- Depends on
FINEIBT && CC_HAS_KCFI_ARITY
CONFIG_HAVE_CALL_THUNKS
- Depends on
CC_HAS_ENTRY_PADDING && MITIGATION_RETHUNK && OBJTOOL
CONFIG_CALL_THUNKS
- Selects
CALL_PADDING
CONFIG_CPU_MITIGATIONS Mitigations for CPU vulnerabilities
Say Y here to enable options which enable mitigations for hardware vulnerabilities (usually related to speculative execution). Mitigations can be disabled or restricted to SMT systems at runtime via the "mitigations" kernel parameter.
If you say N, all mitigations will be disabled. This CANNOT be overridden at runtime.
Say 'Y', unless you really know what you are doing.
If
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION Remove the kernel mapping in user mode
This feature reduces the number of hardware side channels by ensuring that the majority of kernel addresses are not mapped into userspace.
See Documentation/arch/x86/pti.rst for more details.
- Depends on
&& ( || X86_PAE)
CONFIG_MITIGATION_RETPOLINE Avoid speculative indirect branches in kernel
Compile kernel with the retpoline compiler options to guard against kernel-to-user data leaks by avoiding speculative indirect branches. Requires a compiler with -mindirect-branch=thunk-extern support for full protection. The kernel may run slower.
- Selects
OBJTOOL if && HAVE_OBJTOOL
If MITIGATION_RETPOLINE
CONFIG_MITIGATION_RETHUNK Enable return-thunks
Compile the kernel with the return-thunks compiler option to guard against kernel-to-user data leaks by avoiding return speculation. Requires a compiler with -mfunction-return=thunk-extern support for full protection. The kernel may run slower.
- Depends on
&& MITIGATION_RETPOLINE && CC_HAS_RETURN_THUNK - Selects
OBJTOOL if && MITIGATION_RETPOLINE && CC_HAS_RETURN_THUNK && HAVE_OBJTOOL
If MITIGATION_RETHUNK
CONFIG_MITIGATION_UNRET_ENTRY Enable UNRET on kernel entry
Compile the kernel with support for the retbleed=unret mitigation.
- Depends on
&& CPU_SUP_AMD && MITIGATION_RETHUNK &&
CONFIG_MITIGATION_CALL_DEPTH_TRACKING Mitigate RSB underflow with call depth tracking
Compile the kernel with call depth tracking to mitigate the Intel SKL Return-Stack-Buffer (RSB) underflow issue. The mitigation is off by default and needs to be enabled on the kernel command line via the retbleed=stuff option. For non-affected systems the overhead of this option is marginal as the call depth tracking is using run-time generated call thunks in a compiler generated padding area and call patching. This increases text size by ~5%. For non affected systems this space is unused. On affected SKL systems this results in a significant performance gain over the IBRS mitigation.
- Depends on
&& CPU_SUP_INTEL && HAVE_CALL_THUNKS - Selects
HAVE_DYNAMIC_FTRACE_NO_PATCHABLE if && CPU_SUP_INTEL && HAVE_CALL_THUNKS - Selects
CALL_THUNKS if && CPU_SUP_INTEL && HAVE_CALL_THUNKS
If MITIGATION_CALL_DEPTH_TRACKING
CONFIG_CALL_THUNKS_DEBUG Enable call thunks and call depth tracking debugging
Enable call/ret counters for imbalance detection and build in a noisy dmesg about callthunks generation and call patching for trouble shooting. The debug prints need to be enabled on the kernel command line with 'debug-callthunks'. Only enable this when you are debugging call thunks as this creates a noticeable runtime overhead. If unsure say N.
- Depends on
&& MITIGATION_CALL_DEPTH_TRACKING - Selects
FUNCTION_ALIGNMENT_32B if && MITIGATION_CALL_DEPTH_TRACKING
CONFIG_MITIGATION_IBPB_ENTRY Enable IBPB on kernel entry
Compile the kernel with support for the retbleed=ibpb and spec_rstack_overflow={ibpb,ibpb-vmexit} mitigations.
- Depends on
&& CPU_SUP_AMD &&
CONFIG_MITIGATION_IBRS_ENTRY Enable IBRS on kernel entry
Compile the kernel with support for the spectre_v2=ibrs mitigation. This mitigates both spectre_v2 and retbleed at great cost to performance.
- Depends on
&& CPU_SUP_INTEL &&
CONFIG_MITIGATION_SRSO Mitigate speculative RAS overflow on AMD
Enable the SRSO mitigation needed on AMD Zen1-4 machines.
- Depends on
&& CPU_SUP_AMD && && MITIGATION_RETHUNK
CONFIG_MITIGATION_SLS Mitigate Straight-Line-Speculation
Compile the kernel with straight-line-speculation options to guard against straight line speculation. The kernel image might be slightly larger.
- Depends on
&& CC_HAS_SLS && - Selects
OBJTOOL if && CC_HAS_SLS && && HAVE_OBJTOOL
CONFIG_MITIGATION_GDS Mitigate Gather Data Sampling
Enable mitigation for Gather Data Sampling (GDS). GDS is a hardware vulnerability which allows unprivileged speculative access to data which was previously stored in vector registers. The attacker uses gather instructions to infer the stale vector register data.
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_RFDS RFDS Mitigation
Enable mitigation for Register File Data Sampling (RFDS) by default. RFDS is a hardware vulnerability which affects Intel Atom CPUs. It allows unprivileged speculative access to stale data previously stored in floating point, vector and integer registers. See also <file:Documentation/admin-guide/hw-vuln/reg-file-data-sampling.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_SPECTRE_BHI Mitigate Spectre-BHB (Branch History Injection)
Enable BHI mitigations. BHI attacks are a form of Spectre V2 attacks where the branch history buffer is poisoned to speculatively steer indirect branches. See <file:Documentation/admin-guide/hw-vuln/spectre.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_MDS Mitigate Microarchitectural Data Sampling (MDS) hardware bug
Enable mitigation for Microarchitectural Data Sampling (MDS). MDS is a hardware vulnerability which allows unprivileged speculative access to data which is available in various CPU internal buffers. See also <file:Documentation/admin-guide/hw-vuln/mds.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_TAA Mitigate TSX Asynchronous Abort (TAA) hardware bug
Enable mitigation for TSX Asynchronous Abort (TAA). TAA is a hardware vulnerability that allows unprivileged speculative access to data which is available in various CPU internal buffers by using asynchronous aborts within an Intel TSX transactional region. See also <file:Documentation/admin-guide/hw-vuln/tsx_async_abort.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_MMIO_STALE_DATA Mitigate MMIO Stale Data hardware bug
Enable mitigation for MMIO Stale Data hardware bugs. Processor MMIO Stale Data Vulnerabilities are a class of memory-mapped I/O (MMIO) vulnerabilities that can expose data. The vulnerabilities require the attacker to have access to MMIO. See also <file:Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_L1TF Mitigate L1 Terminal Fault (L1TF) hardware bug
Mitigate L1 Terminal Fault (L1TF) hardware bug. L1 Terminal Fault is a hardware vulnerability which allows unprivileged speculative access to data available in the Level 1 Data Cache. See <file:Documentation/admin-guide/hw-vuln/l1tf.rst
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_RETBLEED Mitigate RETBleed hardware bug
Enable mitigation for RETBleed (Arbitrary Speculative Code Execution with Return Instructions) vulnerability. RETBleed is a speculative execution attack which takes advantage of microarchitectural behavior in many modern microprocessors, similar to Spectre v2. An unprivileged attacker can use these flaws to bypass conventional memory security restrictions to gain read access to privileged memory that would otherwise be inaccessible.
- Depends on
&& (CPU_SUP_INTEL && MITIGATION_SPECTRE_V2 || MITIGATION_UNRET_ENTRY || MITIGATION_IBPB_ENTRY)
CONFIG_MITIGATION_SPECTRE_V1 Mitigate SPECTRE V1 hardware bug
Enable mitigation for Spectre V1 (Bounds Check Bypass). Spectre V1 is a class of side channel attacks that takes advantage of speculative execution that bypasses conditional branch instructions used for memory access bounds check. See also <file:Documentation/admin-guide/hw-vuln/spectre.rst>
CONFIG_MITIGATION_SPECTRE_V2 Mitigate SPECTRE V2 hardware bug
Enable mitigation for Spectre V2 (Branch Target Injection). Spectre V2 is a class of side channel attacks that takes advantage of indirect branch predictors inside the processor. In Spectre variant 2 attacks, the attacker can steer speculative indirect branches in the victim to gadget code by poisoning the branch target buffer of a CPU used for predicting indirect branch addresses. See also <file:Documentation/admin-guide/hw-vuln/spectre.rst>
CONFIG_MITIGATION_SRBDS Mitigate Special Register Buffer Data Sampling (SRBDS) hardware bug
Enable mitigation for Special Register Buffer Data Sampling (SRBDS). SRBDS is a hardware vulnerability that allows Microarchitectural Data Sampling (MDS) techniques to infer values returned from special register accesses. An unprivileged user can extract values returned from RDRAND and RDSEED executed on another core or sibling thread using MDS techniques. See also <file:Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst>
- Depends on
&& CPU_SUP_INTEL
CONFIG_MITIGATION_SSB Mitigate Speculative Store Bypass (SSB) hardware bug
Enable mitigation for Speculative Store Bypass (SSB). SSB is a hardware security vulnerability and its exploitation takes advantage of speculative execution in a similar way to the Meltdown and Spectre security vulnerabilities.
CONFIG_MITIGATION_ITS Enable Indirect Target Selection mitigation
Enable Indirect Target Selection (ITS) mitigation. ITS is a bug in BPU on some Intel CPUs that may allow Spectre V2 style attacks. If disabled, mitigation cannot be enabled via cmdline. See <file:Documentation/admin-guide/hw-vuln/indirect-target-selection.rst>
- Depends on
&& CPU_SUP_INTEL && && MITIGATION_RETPOLINE && MITIGATION_RETHUNK - Selects
EXECMEM if && CPU_SUP_INTEL && && MITIGATION_RETPOLINE && MITIGATION_RETHUNK
CONFIG_MITIGATION_TSA Mitigate Transient Scheduler Attacks
Enable mitigation for Transient Scheduler Attacks. TSA is a hardware security vulnerability on AMD CPUs which can lead to forwarding of invalid info to subsequent instructions and thus can affect their timing and thereby cause a leakage.
- Depends on
&& CPU_SUP_AMD
CONFIG_MITIGATION_VMSCAPE Mitigate VMSCAPE
Enable mitigation for VMSCAPE attacks. VMSCAPE is a hardware security vulnerability on Intel and AMD CPUs that may allow a guest to do Spectre v2 style attacks on userspace hypervisor.
- Depends on
&&
CONFIG_ARCH_HAS_ADD_PAGES
- Depends on
ARCH_ENABLE_MEMORY_HOTPLUG
Power management and ACPI options
CONFIG_ARCH_HIBERNATION_HEADER
- Depends on
HIBERNATION
CONFIG_X86_APM_BOOT
- Depends on
APM
CONFIG_APM APM (Advanced Power Management) BIOS support
- Off
- Module
- Built in
APM is a BIOS specification for saving power using several different techniques. This is mostly useful for battery powered laptops with APM compliant BIOSes. If you say Y here, the system time will be reset after a RESUME operation, the /proc/apm device will provide battery status information, and user-space programs will receive notification of APM "events" (e.g. battery status change).
If you select "Y" here, you can disable actual use of the APM BIOS by passing the "apm=off" option to the kernel at boot time.
Note that the APM support is almost completely disabled for machines with more than one CPU.
In order to use APM, you will need supporting software. For location and more information, read <file:Documentation/power/apm-acpi.rst> and the Battery Powered Linux mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>.
This driver does not spin down disk drives (see the hdparm(8) manpage ("man 8 hdparm") for that), and it doesn't turn off VESA-compliant "green" monitors.
Generally, if you don't have a battery in your machine, there isn't much point in using this driver and you should say N. If you get random kernel OOPSes or reboots that don't seem to be related to anything, try disabling/enabling this option (or disabling/enabling APM in your BIOS).
Some other things you should try when experiencing seemingly random, "weird" problems:
1) make sure that you have enough swap space and that it is enabled. 2) pass the "idle=poll" option to the kernel 3) pass the "floppy=nodma" option to the kernel 4) pass the "mem=4M" option to the kernel (thereby disabling all but the first 4 MB of RAM) 5) make sure that the CPU is not over clocked. 6) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/> 7) disable the cache from your BIOS settings 8) install a fan for the video card or exchange video RAM 9) install a better fan for the CPU 10) exchange RAM chips 11) exchange the motherboard.
To compile this driver as a module, choose M here: the module will be called apm.
- Depends on
&& PM_SLEEP
If APM
CONFIG_APM_IGNORE_USER_SUSPEND Ignore USER SUSPEND
This option will ignore USER SUSPEND requests. On machines with a compliant APM BIOS, you want to say N. However, on the NEC Versa M series notebooks, it is necessary to say Y because of a BIOS bug.
CONFIG_APM_DO_ENABLE Enable PM at boot time
Enable APM features at boot time. From page 36 of the APM BIOS specification: "When disabled, the APM BIOS does not automatically power manage devices, enter the Standby State, enter the Suspend State, or take power saving steps in response to CPU Idle calls." This driver will make CPU Idle calls when Linux is idle (unless this feature is turned off -- see "Do CPU IDLE calls", below). This should always save battery power, but more complicated APM features will be dependent on your BIOS implementation. You may need to turn this option off if your computer hangs at boot time when using APM support, or if it beeps continuously instead of suspending. Turn this off if you have a NEC UltraLite Versa 33/C or a Toshiba T400CDT. This is off by default since most machines do fine without this feature.
CONFIG_APM_CPU_IDLE Make CPU Idle calls when idle
Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop. On some machines, this can activate improved power savings, such as a slowed CPU clock rate, when the machine is idle. These idle calls are made after the idle loop has run for some length of time (e.g., 333 mS). On some machines, this will cause a hang at boot time or whenever the CPU becomes idle. (On machines with more than one CPU, this option does nothing.)
CONFIG_APM_DISPLAY_BLANK Enable console blanking using APM
Enable console blanking using the APM. Some laptops can use this to turn off the LCD backlight when the screen blanker of the Linux virtual console blanks the screen. Note that this is only used by the virtual console screen blanker, and won't turn off the backlight when using the X Window system. This also doesn't have anything to do with your VESA-compliant power-saving monitor. Further, this option doesn't work for all laptops -- it might not turn off your backlight at all, or it might print a lot of errors to the console, especially if you are using gpm.
CONFIG_APM_ALLOW_INTS Allow interrupts during APM BIOS calls
Normally we disable external interrupts while we are making calls to the APM BIOS as a measure to lessen the effects of a badly behaving BIOS implementation. The BIOS should reenable interrupts if it needs to. Unfortunately, some BIOSes do not -- especially those in many of the newer IBM Thinkpads. If you experience hangs when you suspend, try setting this to Y. Otherwise, say N.
Bus options (PCI etc.)
PCI access mode
On PCI systems, the BIOS can be used to detect the PCI devices and determine their configuration. However, some old PCI motherboards have BIOS bugs and may crash if this is done. Also, some embedded PCI-based systems don't have any BIOS at all. Linux can also try to detect the PCI hardware directly without using the BIOS.
With this option, you can specify how Linux should detect the PCI devices. If you choose "BIOS", the BIOS will be used, if you choose "Direct", the BIOS won't be used, and if you choose "MMConfig", then PCI Express MMCONFIG will be used. If you choose "Any", the kernel will try MMCONFIG, then the direct access method and falls back to the BIOS if that doesn't work. If unsure, go with the default, which is "Any".
- Depends on
&& PCI
CONFIG_PCI_BIOS
- Depends on
&& PCI && (PCI_GOBIOS || PCI_GOANY)
CONFIG_PCI_DIRECT
- Depends on
PCI && ( || PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG)
CONFIG_PCI_MMCONFIG Support mmconfig PCI config space access
Add support for accessing the PCI configuration space as a memory mapped area. It is the recommended method if the system supports this (it must have PCI Express and ACPI for it to be available).
In the unlikely case that enabling this configuration option causes problems, the mechanism can be switched off with the 'pci=nommconf' command line parameter.
Say N only if you are sure that your platform does not support this access method or you have problems caused by it.
Say Y otherwise.
- Depends on
PCI && (ACPI || JAILHOUSE_GUEST) && ( || PCI_GOANY || PCI_GOMMCONFIG)
CONFIG_PCI_OLPC
- Depends on
PCI && OLPC && (PCI_GOOLPC || PCI_GOANY)
CONFIG_PCI_XEN
- Depends on
PCI &&
CONFIG_MMCONF_FAM10H
- Depends on
&& PCI_MMCONFIG && ACPI
CONFIG_PCI_CNB20LE_QUIRK Read PCI host bridge windows from the CNB20LE chipset
Read the PCI windows out of the CNB20LE host bridge. This allows PCI hotplug to work on systems with the CNB20LE chipset which do not have ACPI.
The ServerWorks (later Broadcom) CNB20LE was a chipset designed most probably only for Pentium III.
To find out if you have such a chipset, search for a PCI device with
1166:0009 PCI IDs, for example by executing
lspci -nn | grep '1166:0009'
The code is inactive if there is none.
There's no public spec for this chipset, and this functionality is known to be incomplete.
You should say N unless you know you need this.
- Depends on
&& PCI
CONFIG_ISA_BUS ISA bus support on modern systems
Expose ISA bus device drivers and options available for selection and configuration. Enable this option if your target machine has an ISA bus. ISA is an older system, displaced by PCI and newer bus architectures -- if your target machine is modern, it probably does not have an ISA bus.
If unsure, say N.
CONFIG_ISA_DMA_API ISA-style DMA support
Enables ISA-style DMA support for devices requiring such controllers. If unsure, say Y.
If
CONFIG_ISA ISA support
Find out whether you have ISA slots on your motherboard. ISA is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. Other bus systems are PCI, EISA, MicroChannel (MCA) or VESA. ISA is an older system, now being displaced by PCI; newer boards don't support it. If you have ISA, say Y, otherwise N.
CONFIG_SCx200 NatSemi SCx200 support
- Off
- Module
- Built in
This provides basic support for National Semiconductor's (now AMD's) Geode processors. The driver probes for the PCI-IDs of several on-chip devices, so its a good dependency for other scx200_* drivers.
If compiled as a module, the driver is named scx200.
If SCx200
CONFIG_SCx200HR_TIMER NatSemi SCx200 27MHz High-Resolution Timer Support
- Off
- Module
- Built in
This driver provides a clocksource built upon the on-chip 27MHz high-resolution timer. Its also a workaround for NSC Geode SC-1100's buggy TSC, which loses time when the processor goes idle (as is done by the scheduler). The other workaround is idle=poll boot option.
- Depends on
&& SCx200
CONFIG_OLPC One Laptop Per Child support
Add support for detecting the unique features of the OLPC XO hardware.
- Depends on
&& !X86_PAE - Selects
GPIOLIB if && !X86_PAE - Selects
GPIOLIB_LEGACY if && !X86_PAE - Selects
OF if && !X86_PAE - Selects
OF_PROMTREE if && !X86_PAE - Selects
IRQ_DOMAIN if && !X86_PAE - Selects
OLPC_EC if && !X86_PAE
If OLPC
CONFIG_OLPC_XO1_PM OLPC XO-1 Power Management
Add support for poweroff and suspend of the OLPC XO-1 laptop.
- Depends on
&& OLPC && MFD_CS5535=y && PM_SLEEP
If OLPC_XO1_PM
CONFIG_OLPC_XO1_RTC OLPC XO-1 Real Time Clock
Add support for the XO-1 real time clock, which can be used as a programmable wakeup source.
- Depends on
&& OLPC_XO1_PM && RTC_DRV_CMOS
CONFIG_OLPC_XO1_SCI OLPC XO-1 SCI extras
Add support for SCI-based features of the OLPC XO-1 laptop: - EC-driven system wakeups - Power button - Ebook switch - Lid switch - AC adapter status updates - Battery status updates
- Depends on
&& OLPC && OLPC_XO1_PM && GPIO_CS5535=y && INPUT=y - Selects
POWER_SUPPLY if && OLPC && OLPC_XO1_PM && GPIO_CS5535=y && INPUT=y
CONFIG_OLPC_XO15_SCI OLPC XO-1.5 SCI extras
Add support for SCI-based features of the OLPC XO-1.5 laptop: - EC-driven system wakeups - AC adapter status updates - Battery status updates
- Depends on
&& OLPC && ACPI - Selects
POWER_SUPPLY if && OLPC && ACPI
CONFIG_GEODE_COMMON
CONFIG_ALIX PCEngines ALIX System Support (LED setup)
This option enables system support for the PCEngines ALIX. At present this just sets up LEDs for GPIO control on ALIX2/3/6 boards. However, other system specific setup should get added here.
Note: You must still enable the drivers for LED support (LEDS_GPIO) to actually use the LEDs
Note: You have to set alix.force=1 for boards with Award BIOS.
- Depends on
&& GPIO_CS5535=y - Selects
GEODE_COMMON if && GPIO_CS5535=y
CONFIG_NET5501 Soekris Engineering net5501 System Support (LEDS, GPIO, etc)
This option enables system support for the Soekris Engineering net5501.
- Depends on
&& GPIO_CS5535=y - Selects
GEODE_COMMON if && GPIO_CS5535=y
CONFIG_GEOS Traverse Technologies GEOS System Support (LEDS, GPIO, etc)
This option enables system support for the Traverse Technologies GEOS.
- Depends on
&& GPIO_CS5535=y && - Selects
GEODE_COMMON if && GPIO_CS5535=y &&
CONFIG_AMD_NB
- Depends on
AMD_NODE
CONFIG_AMD_NODE
- Depends on
CPU_SUP_AMD && PCI
Binary Emulations
CONFIG_IA32_EMULATION IA32 Emulation
Include code to run legacy 32-bit programs under a 64-bit kernel. You should likely turn this on, unless you're 100% sure that you don't have any 32-bit programs left.
- Depends on
- Selects
ARCH_WANT_OLD_COMPAT_IPC if - Selects
BINFMT_ELF if - Selects
COMPAT_OLD_SIGACTION if
If IA32_EMULATION
CONFIG_IA32_EMULATION_DEFAULT_DISABLED IA32 emulation disabled by default
Make IA32 emulation disabled by default. This prevents loading 32-bit processes and access to 32-bit syscalls. If unsure, leave it to its default value.
CONFIG_X86_X32_ABI x32 ABI for 64-bit mode
Include code to run binaries for the x32 native 32-bit ABI for 64-bit processors. An x32 process gets access to the full 64-bit register file and wide data path while leaving pointers at 32 bits for smaller memory footprint.
- Depends on
CONFIG_COMPAT_32
- Depends on
IA32_EMULATION || - Selects
HAVE_UID16 if IA32_EMULATION || - Selects
OLD_SIGSUSPEND3 if IA32_EMULATION ||
CONFIG_COMPAT
- Depends on
IA32_EMULATION || X86_X32_ABI
CONFIG_COMPAT_FOR_U64_ALIGNMENT
- Depends on
CONFIG_HAVE_ATOMIC_IOMAP
- Depends on
- arch/Kconfig:1201
- arch/alpha/Kconfig:109
- arch/arc/Kconfig:316
- arch/arm/Kconfig:312
- arch/arm64/Kconfig:367
- arch/loongarch/Kconfig:307
- arch/m68k/Kconfig:80
- arch/mips/Kconfig:3005
- arch/parisc/Kconfig:182
- arch/powerpc/Kconfig:479
- arch/riscv/Kconfig:348
- arch/s390/Kconfig:301
- arch/sh/Kconfig:143
- arch/sparc/Kconfig:149
- arch/um/Kconfig:239
- arch/x86/Kconfig:429
- arch/alpha/Kconfig:484
- arch/arc/Kconfig:175
- arch/arm/Kconfig:1063
- arch/arm64/Kconfig:1702
- arch/csky/Kconfig:318
- arch/hexagon/Kconfig:109
- arch/loongarch/Kconfig:542
- arch/m68k/Kconfig.cpu:552
- arch/microblaze/Kconfig:123
- arch/mips/Kconfig:2756
- arch/nios2/Kconfig:72
- arch/openrisc/Kconfig:185
- arch/parisc/Kconfig:367
- arch/powerpc/platforms/Kconfig.cputype:570
- arch/riscv/Kconfig:450
- arch/s390/Kconfig:533
- arch/sh/Kconfig:582
- arch/sparc/Kconfig:180
- arch/um/Kconfig:132
- arch/x86/Kconfig:1037
- arch/xtensa/Kconfig:253
- 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
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94
- arch/arm/Kconfig:1508
- arch/arm64/Kconfig:2569
- arch/hexagon/Kconfig:94
- arch/loongarch/Kconfig:426
- arch/microblaze/Kconfig:101
- arch/mips/Kconfig.debug:48
- arch/nios2/Kconfig:92
- arch/openrisc/Kconfig:235
- arch/powerpc/Kconfig:978
- arch/riscv/Kconfig:1231
- arch/sh/Kconfig:730
- arch/sparc/Kconfig:300
- arch/x86/Kconfig:2250
- arch/xtensa/Kconfig:448