[PATCH 0/5] iommu/vt-d: Fixes for issues reported by Sashiko

Lu Baolu posted 5 patches 2 months ago
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(-)
[PATCH 0/5] iommu/vt-d: Fixes for issues reported by Sashiko
Posted by Lu Baolu 2 months ago
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(-)

-- 
2.43.0
Re: [PATCH 0/5] iommu/vt-d: Fixes for issues reported by Sashiko
Posted by Baolu Lu 1 month, 4 weeks ago
On 7/31/2026 1:43 PM, Lu Baolu wrote:
> 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(-)

Queued for iommu/vt-d.