Commit 19e3d60d authored by Jan Kiszka's avatar Jan Kiszka Committed by Thomas Gleixner

x86: Let x2APIC support depend on interrupt remapping or guest support

We are able to use x2APIC mode in the absence of interrupt remapping on
certain hypervisors. So it is fine to disable IRQ_REMAP without having
to give up x2APIC support.
Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Link: http://lkml.kernel.org/r/55479709.4030901@siemens.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 781674fc
...@@ -340,7 +340,7 @@ config X86_FEATURE_NAMES ...@@ -340,7 +340,7 @@ config X86_FEATURE_NAMES
config X86_X2APIC config X86_X2APIC
bool "Support x2apic" bool "Support x2apic"
depends on X86_LOCAL_APIC && X86_64 && IRQ_REMAP depends on X86_LOCAL_APIC && X86_64 && (IRQ_REMAP || HYPERVISOR_GUEST)
---help--- ---help---
This enables x2apic support on CPUs that have this feature. This enables x2apic support on CPUs that have this feature.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment