x86/IOMMU: abstract Intel-specific iommu_supports_eim()
authorJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:05:12 +0000 (13:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:05:12 +0000 (13:05 +0200)
commitcd7680326a51d9e65ec8a966dfad4ca24cf5d4df
tree0a794834860b2ef95e3ea294782824506048de95
parent1b3cc8000c82edc9761c1e595928d6584e11f9f5
x86/IOMMU: abstract Intel-specific iommu_supports_eim()

Introduce a respective element in struct iommu_init_ops.

Take the liberty and also switch intel_iommu_supports_eim() to bool/
true/false, to fully match the hook's type.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.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/include/asm-x86/iommu.h