Skip to content

iommu/vt-d: Fixes for issues reported by Sashiko

Lu Baolu linux-iommu lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iommu/vt-d: Fix shift overflow in qi_desc_dev_iotlb_pasid()drivers/iommu/intel/iommu.h+12 -41 reply
2/5iommu/vt-d: Clear Present bit before tearing down copied context entrydrivers/iommu/intel/iommu.c+5 -10 replies
3/5iommu/vt-d: Fix iopf_refcount leak on RID domain replacementdrivers/iommu/intel/iommu.c+8 -50 replies
4/5iommu/vt-d: Tear down scalable-mode context on probe failuredrivers/iommu/intel/iommu.c+1 -00 replies
5/5iommu/vt-d: Flush context cache with correct SID when tearing down aliasesdrivers/iommu/intel/iommu.c drivers/iommu/intel/iommu.h drivers/iommu/intel/pasid.c+8 -51 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchSamiullah Khawaja
1/5R-b
2/5
3/5
4/5
5/5R-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 0/5] iommu/vt-d: Fixes for issues reported by Sashiko

Hi,

This collects a number of pre-existing issues that were reported by Sashiko while reviewing recent VT-d patches. None of them are regressions from the patches under review; they are latent problems in code those patches happened to touch. They are independent of each other and can be applied in any order.

Thanks,
baolu

Lu Baolu (5):
iommu/vt-d: Fix shift overflow in qi_desc_dev_iotlb_pasid() iommu/vt-d: Clear Present bit before tearing down copied context entry iommu/vt-d: Fix iopf_refcount leak on RID domain replacement iommu/vt-d: Tear down scalable-mode context on probe failure iommu/vt-d: Flush context cache with correct SID when tearing down
aliases

 drivers/iommu/intel/iommu.h | 18 +++++++++++++-----
 drivers/iommu/intel/iommu.c | 22 +++++++++++++++-------
 drivers/iommu/intel/pasid.c |  9 ++++++---
 3 files changed, 34 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0