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