Skip to content

iommu/amd-vi: remove zeroing of MMIO region

Roger Pau Monne xen-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommu/amd-vi: allow disable_iommu() against non-initialized IOMMUsxen/drivers/passthrough/amd/iommu_init.c+5 -50 replies
2/2iommu/amd-vi: do not zero IOMMU MMIO regionxen/drivers/passthrough/amd/iommu_init.c+17 -143 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

Hello,

Unconditionally zeroing the whole IOMMU MMIO region is dangerous, at least on an upcoming platform this does put the IOMMU in a broken state that's not recoverable 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 | 41 +++++++++++++-----------
 1 file changed, 22 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0