x86/IOMMU: abstract Intel-specific adjust_vtd_irq_affinities()
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Apr 2019 13:12:43 +0000 (15:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Apr 2019 13:12:43 +0000 (15:12 +0200)
commit5e5868724e35020ea5edbc10c715823a99887f3f
tree74b9a43195594edfde9ce7c6fa92852b0b547c73
parent6c54663786d9f1ed04153867687c158675e7277d
x86/IOMMU: abstract Intel-specific adjust_vtd_irq_affinities()

This can't be folded into the resume hook, as that runs before bringing
back up APs, but the affinity adjustment wants to happen with all CPUs
back online. Hence a separate hook is needed such that AMD can then
leverage it as well.

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/acpi/power.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/iommu.h
xen/include/xen/iommu.h