Skip to content

iommu/vt-d: Fix 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 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iommu/vt-d: Avoid out-of-range shift in qi_desc_dev_iotlb_pasid()drivers/iommu/intel/iommu.h+13 -40 replies
2/7iommu/vt-d: Do not ignore context table copy failuresdrivers/iommu/intel/iommu.c+17 -10 replies
3/7iommu/vt-d: Handle DID reservation errors when copying context tablesdrivers/iommu/intel/iommu.c+35 -40 replies
4/7iommu/vt-d: Reserve scalable-mode DIDs from PASID entries during copydrivers/iommu/intel/iommu.c+72 -20 replies
5/7iommu/vt-d: Use old domain parameter when attaching the blocking domaindrivers/iommu/intel/iommu.c+1 -30 replies
6/7iommu/vt-d: Fix iopf refcount leak in nested attachdrivers/iommu/intel/nested.c+2 -00 replies
7/7iommu/vt-d: Drop old iopf ref only after attach succeedsdrivers/iommu/intel/iommu.c+10 -90 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin Tian
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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/7] iommu/vt-d: Fix 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.

Thanks,
baolu

Lu Baolu (7):
iommu/vt-d: Avoid out-of-range shift in qi_desc_dev_iotlb_pasid() iommu/vt-d: Do not ignore context table copy failures iommu/vt-d: Handle DID reservation errors when copying context tables iommu/vt-d: Reserve scalable-mode DIDs from PASID entries during copy iommu/vt-d: Use old domain parameter when attaching the blocking
domain
iommu/vt-d: Fix iopf refcount leak in nested attach iommu/vt-d: Drop old iopf ref only after attach succeeds

 drivers/iommu/intel/iommu.h  |  17 +++-
 drivers/iommu/intel/iommu.c  | 152 ++++++++++++++++++++++++++++++-----
 drivers/iommu/intel/nested.c |   2 +
 3 files changed, 149 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0