[PATCH 0/8] [PULL REQUEST] iommu/vt-d: Fixes for iommu next

From: Lu Baolu
Date: Tue Mar 05 2024 - 07:27:52 EST


Hi Joerg,

The following fixes have been queued for iommu next:

- Fix hard lockup on hotplug of an ATS-capable device
- Fix NULL domain pointer dereference on device release

These changes are not critical for v6.8, so can you please consider them
for iommu next?

Best regards,
baolu

Ethan Zhao (3):
PCI: Make pci_dev_is_disconnected() helper public for other drivers
iommu/vt-d: Don't issue ATS Invalidation request when device is
disconnected
iommu/vt-d: Improve ITE fault handling if target device isn't present

Lu Baolu (5):
iommu: Add static iommu_ops->release_domain
iommu/vt-d: Fix NULL domain on device release
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()

include/linux/iommu.h | 1 +
include/linux/pci.h | 5 +
drivers/iommu/intel/pasid.h | 2 +
drivers/pci/pci.h | 5 -
drivers/iommu/intel/dmar.c | 22 ++++
drivers/iommu/intel/iommu.c | 214 +++++++++++-------------------------
drivers/iommu/intel/pasid.c | 205 ++++++++++++++++++++++++++++++++++
drivers/iommu/iommu.c | 19 +++-
8 files changed, 313 insertions(+), 160 deletions(-)

--
2.34.1