Hello, The following series is the original CX16 series sent by Teddy, with the CX16 checks split into a separate patch, plus one extra patch to switch AMD-Vi to use CMPXCHG16B when updating Interrupt Remapping Entries.
Note that last patch to use CMPXCHG16B fixes a real bug with AMD hardware. Thanks, Roger. Roger Pau Monne (1): iommu/amd: atomically update IRTE Teddy Astie (4): x86/iommu: check for CMPXCHG16B when enabling IOMMU iommu/vtd: remove non-CX16 logic from interrupt remapping x86/iommu: remove non-CX16 logic from DMA remapping iommu/vtd: cleanup MAP_SINGLE_DEVICE and related code xen/drivers/passthrough/amd/iommu_intr.c | 88 ++++++++++---------- xen/drivers/passthrough/amd/iommu_map.c | 42 ++++------ xen/drivers/passthrough/amd/pci_amd_iommu.c | 6 ++ xen/drivers/passthrough/vtd/intremap.c | 88 +++++++------------- xen/drivers/passthrough/vtd/iommu.c | 90 +++++++-------------- xen/drivers/passthrough/vtd/vtd.h | 5 +- 6 files changed, 121 insertions(+), 198 deletions(-) -- 2.46.0