mbox series

[v2,0/2] iommu/x86: unify RMRR/IVMD range checks

Message ID 20240207153417.89975-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series iommu/x86: unify RMRR/IVMD range checks | expand

Message

Roger Pau Monné Feb. 7, 2024, 3:34 p.m. UTC
Hello,

The following patches unify the check for the RMRR/IVMD ranges in a
common function, using the IVMD as the basis.

Thanks, Roger.

Roger Pau Monne (2):
  iommu/x86: introduce a generic IVMD/RMRR range validity helper
  iommu/vt-d: switch to common RMRR checker

 xen/arch/x86/include/asm/iommu.h         |  3 ++
 xen/drivers/passthrough/amd/iommu_acpi.c | 38 ++------------------
 xen/drivers/passthrough/vtd/dmar.c       | 14 ++------
 xen/drivers/passthrough/x86/iommu.c      | 46 ++++++++++++++++++++++++
 4 files changed, 55 insertions(+), 46 deletions(-)