Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - X index
The Linux kernel configuration item CONFIG_X86_X2APIC
has multiple definitions:
arch/x86/Kconfig
The configuration item CONFIG_X86_X2APIC:
CONFIG_X86_LOCAL_APIC && CONFIG_X86_64 && ( CONFIG_IRQ_REMAP || CONFIG_HYPERVISOR_GUEST )
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.
arch/x86/Kconfig
The configuration item CONFIG_X86_X2APIC:
CONFIG_X86_LOCAL_APIC && CONFIG_X86_64 && ( CONFIG_IRQ_REMAP || CONFIG_HYPERVISOR_GUEST )
This enables x2apic support on CPUs that have this feature.
This allows 32-bit apic IDs (so it can support very large systems), and accesses the local apic via MSRs not via mmio.
Some Intel systems circa 2022 and later are locked into x2APIC mode and can not fall back to the legacy APIC modes if SGX or TDX are enabled in the BIOS. They will boot with very reduced functionality without enabling this option.
If you don't know what to do here, say N.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - X index
Automatically generated (in year 2025). See also LKDDb sources on GitLab