Skip to content

iommu: Fix domain check on release (part 2/2)

Lu Baolu linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/vt-d: Setup scalable mode context entry in probe pathdrivers/iommu/intel/iommu.c drivers/iommu/intel/pasid.c drivers/iommu/intel/pasid.h+129 -04 replies
2/3iommu/vt-d: Remove scalable mode context entry setup from attach_devdrivers/iommu/intel/iommu.c+44 -1121 reply
3/3iommu/vt-d: Remove scalabe mode in domain_context_clear_one()drivers/iommu/intel/iommu.c+1 -142 replies

Reviews trailers per patch

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

PatchKevin Tian
1/3
2/3R-b
3/3R-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/3] iommu: Fix domain check on release (part 2/2)

This is a follow-up to the discussion thread here:

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

This change includes cleanups and refactoring in the Intel iommu driver related to the use of the iommu_ops->release_domain.

There are two parts of this topic:
[ ] Introduce release_domain and fix a kernel NULL pointer dereference
issue in the intel iommu driver.
[x] A follow-up series to cleanup intel iommu driver.

Best regards,
baolu

Lu Baolu (3):
iommu/vt-d: Setup scalable mode context entry in probe path iommu/vt-d: Remove scalable mode context entry setup from attach_dev iommu/vt-d: Remove scalabe mode in domain_context_clear_one()

 drivers/iommu/intel/pasid.h |   1 +
 drivers/iommu/intel/iommu.c | 183 +++++++++++-------------------------
 drivers/iommu/intel/pasid.c | 116 +++++++++++++++++++++++
 3 files changed, 174 insertions(+), 126 deletions(-)
Signature · 1 line
2.34.1