]> xenbits.xensource.com Git - xen.git/commit
x86/x2apic: remove usage of ACPI_FADT_APIC_CLUSTER
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 2 Nov 2023 09:50:26 +0000 (10:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 Nov 2023 09:50:26 +0000 (10:50 +0100)
commit26a449ce32cef33f2cb50602be19fcc0c4223ba9
tree1bcf2a353aebfa8a9dd30d01f4eb60377332f7ad
parentfe0ae3f7dd7013ccac3df3bc3222194a551852e0
x86/x2apic: remove usage of ACPI_FADT_APIC_CLUSTER

The ACPI FADT APIC_CLUSTER flag mandates that when the interrupt delivery is
Logical mode APIC must be configured for Cluster destination model.  However in
apic_x2apic_probe() such flag is incorrectly used to gate whether Physical mode
can be used.

Since Xen when in x2APIC mode only uses Logical mode together with Cluster
model completely remove checking for ACPI_FADT_APIC_CLUSTER, as Xen always
fulfills the requirement signaled by the flag.

Fixes: eb40ae41b658 ('x86/Kconfig: add option for default x2APIC destination mode')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/genapic/x2apic.c