Skip to content

iommu/amd/iommu_v2: Fix refcount related issues

Vasant Hegde linux-iommu 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v13 patches 6 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbinddrivers/iommu/amd/iommu_v2.c+2 -20 replies
2/2iommu/amd/iommu_v2: Clear pasid state in free pathdrivers/iommu/amd/iommu_v2.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] iommu/amd/iommu_v2: Fix refcount related issues

This patch series fixes the refcount warning and pasid state in free path.

V1 : https://lore.kernel.org/linux-iommu/[email protected]/

@Jason, Joerg,
During v1 series review Jason had suggested few things including moving to xarray to handle PASID. We are planning to implement xarray as separate series.

This series fixes the kernel warning we are seeing because of commit 8bc54824da4e. I am keeping changes as minimal so that its easy to backport.

Base commit: d11370bf64c57a (iommu/next branch)

Daniel Marcovitch (1):
iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind

Vasant Hegde (1):
iommu/amd/iommu_v2: Clear pasid state in free path

 drivers/iommu/amd/iommu_v2.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.31.1