x86/IOMMU: abstract Intel-specific iommu_{en,dis}able_x2apic_IR()
authorJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:06:54 +0000 (13:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:06:54 +0000 (13:06 +0200)
commit6d786fdbcdd5dfa0197719d8607a1fcc039d8bda
treed8aa7442b8a11e663468fad475965305a6ebe844
parentcd7680326a51d9e65ec8a966dfad4ca24cf5d4df
x86/IOMMU: abstract Intel-specific iommu_{en,dis}able_x2apic_IR()

Introduce respective elements in struct iommu_init_ops as well as a
pointer to the main ops structure.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/apic.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/x86/iommu.c
xen/include/asm-x86/apic.h
xen/include/asm-x86/apicdef.h
xen/include/asm-x86/iommu.h
xen/include/xen/iommu.h