[PATCH 0/2] iommu/amd-vi: remove zeroing of MMIO region

Roger Pau Monne posted 2 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20260506073719.40075-1-roger.pau@citrix.com
There is a newer version of this series
xen/drivers/passthrough/amd/iommu_init.c | 34 +++++++++++-------------
1 file changed, 15 insertions(+), 19 deletions(-)
[PATCH 0/2] iommu/amd-vi: remove zeroing of MMIO region
Posted by Roger Pau Monne 1 week, 6 days ago
Hello,

Unconditionally zeroing the whole IOMMU MMIO region is dangerous, at
least on an upcoming platform this puts the IOMMU in a broken state
that's not recovered by the init procedure in Xen.

Get rid of the zeroing, and instead attempt to disable the IOMMU ahead
of enabling it.

Thanks, Roger.

Roger Pau Monne (2):
  iommu/amd-vi: allow disable_iommu() against non-initialized IOMMUs
  iommu/amd-vi: do not zero IOMMU MMIO region

 xen/drivers/passthrough/amd/iommu_init.c | 34 +++++++++++-------------
 1 file changed, 15 insertions(+), 19 deletions(-)

-- 
2.53.0