[PATCH 0/2] iommu: Fix domain check on device release

Lu Baolu posted 2 patches 1 year, 11 months ago
include/linux/iommu.h       |  1 +
drivers/iommu/intel/iommu.c | 26 +-------------------------
drivers/iommu/iommu.c       | 12 ++++++++++++
3 files changed, 14 insertions(+), 25 deletions(-)
[PATCH 0/2] iommu: Fix domain check on device release
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/

It fixes a NULL pointer reference in the Intel iommu driver and
strengthens the iommu core to possibly prevent similar failures in other
iommu drivers.

Best regards,
baolu

Lu Baolu (2):
  iommu: Add static iommu_ops->release_domain
  iommu/vt-d: Fix NULL domain on device release

 include/linux/iommu.h       |  1 +
 drivers/iommu/intel/iommu.c | 26 +-------------------------
 drivers/iommu/iommu.c       | 12 ++++++++++++
 3 files changed, 14 insertions(+), 25 deletions(-)

-- 
2.34.1