x86/iommu: remove code to fetch MSI message from remap table
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 28 Sep 2020 08:42:29 +0000 (10:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 28 Sep 2020 08:42:29 +0000 (10:42 +0200)
commit28fb8cf323dd93f59a9c851c93ba9b79de8b1c4e
tree77624a8ea5c4118070c726996394c375ca9f7cde
parentf9ffd20f946c0315937f85d2f124a9bc4be49473
x86/iommu: remove code to fetch MSI message from remap table

Remove the code to compose a MSI message based on the information from
the MSI registers and the data in the interrupt remapping table.
Since the removal of read_msi_msg and its user there's no longer a
need for such code, as the last written (untranslated) MSI message is
cached internally by Xen.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/passthrough/amd/iommu.h
xen/drivers/passthrough/amd/iommu_intr.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h