OSDN Git Service

xen/x86: detect support for extended destination ID
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 20 Jan 2022 15:25:27 +0000 (16:25 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 10 Feb 2022 10:10:17 +0000 (11:10 +0100)
commite07e98da924e61e814bdaaa3ebc6e72b60dbf9ed
tree2e5604a8522eb851766669509f8921504eae9386
parentf34c4f2dd2445ab89e5373fff2990fab36578bd3
xen/x86: detect support for extended destination ID

Xen allows the usage of some previously reserved bits in the IO-APIC
RTE and the MSI address fields in order to store high bits for the
target APIC ID. Such feature is already implemented by QEMU/KVM and
HyperV, so in order to enable it just add the handler that checks for
it's presence.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20220120152527.7524-3-roger.pau@citrix.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/include/asm/xen/cpuid.h
arch/x86/xen/enlighten_hvm.c