[PATCH 0/4] iommu/x86: fixes/improvements for unity range checks

Roger Pau Monne posted 4 patches 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240201170159.66330-1-roger.pau@citrix.com
xen/arch/x86/include/asm/iommu.h         |  3 ++
xen/drivers/passthrough/amd/iommu_acpi.c | 33 ++---------------
xen/drivers/passthrough/vtd/dmar.c       | 14 ++------
xen/drivers/passthrough/x86/iommu.c      | 46 ++++++++++++++++++++++++
4 files changed, 55 insertions(+), 41 deletions(-)
[PATCH 0/4] iommu/x86: fixes/improvements for unity range checks
Posted by Roger Pau Monne 3 months ago
Hello,

Patch 1 is a bugfix for AMD-Vi IVMD range type checks.

Further patches unify the IVMD/RMRR checks into a common function, and
the last patch tightens up the condition to panic when attempting to
boot on a system that has RMRR or IVMD regions over memory that Xen uses
as RAM.

Thanks, Roger.

Roger Pau Monne (4):
  amd-vi: fix IVMD memory type checks
  iommu/x86: introduce a generic IVMD/RMRR range validity helper
  iommu/vt-d: switch to common RMRR checker
  iommu/x86: make unity range checking more strict

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

-- 
2.43.0