[PATCH 0/3] iommu: Fix domain check on release (part 2/2)

Lu Baolu posted 3 patches 1 year, 11 months ago
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(-)
[PATCH 0/3] iommu: Fix domain check on release (part 2/2)
Posted by Lu Baolu 1 year, 11 months ago
This is a follow-up to the discussion thread here:

https://lore.kernel.org/linux-iommu/20240221154012.GC13491@ziepe.ca/

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(-)

-- 
2.34.1