Skip to content

iommu/amd: Fix locking for domain->dev_list

Jason Gunthorpe linux-iommu linux-patches 1 version Applied

Status from this message: Applied both to fixes branch, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd: Put list_add/del(dev_data) back under the domain->lockdrivers/iommu/amd/iommu.c+4 -11 reply
2/2iommu/amd: Add lockdep asserts for domain->dev_listdrivers/iommu/amd/iommu.c+5 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVasant Hegde
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH rc 0/2] iommu/amd: Fix locking for domain->dev_list

Two small patches to fix locking regressions around this list. Found by inspection.

Jason Gunthorpe (2):
iommu/amd: Put list_add/del(dev_data) back under the domain->lock iommu/amd: Add lockdep asserts for domain->dev_list

 drivers/iommu/amd/iommu.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

base-commit: 457730bc1f55c2b29d374e10cc125506f2b3cde9

Signature · 1 line
2.43.0