[PATCH 00/10] [PULL REQUEST] iommu/vt-d: Fixes for v6.8-rc5

From: Lu Baolu
Date: Mon Feb 19 2024 - 06:22:00 EST


Hi Joerg,

The following patches have been queued for v6.8. They fix some missed
behavior for nested domain implementation in the Intel IOMMU driver. To
be more specific, they aim to achieve comprehensive:

- Cache invalidation for changes in a parent domain;
- Dirty tracking setting for parent and nested domains;
- Fix a constant-out-of-range warning.

As the nested domain implementation in the Intel IOMMU driver was
introduced in v6.8-rc1, I would suggest merging this series in the rc
phase. So,

Please consider them for the iommu/fix branch.

Best regards,
Lu Baolu

Arnd Bergmann (1):
iommu/vt-d: Fix constant-out-of-range warning

Yi Liu (9):
iommu/vt-d: Track nested domains in parent
iommu/vt-d: Add __iommu_flush_iotlb_psi()
iommu/vt-d: Add missing iotlb flush for parent domain
iommu/vt-d: Update iotlb in nested domain attach
iommu/vt-d: Add missing device iotlb flush for parent domain
iommu/vt-d: Remove domain parameter for
intel_pasid_setup_dirty_tracking()
iommu/vt-d: Wrap the dirty tracking loop to be a helper
iommu/vt-d: Add missing dirty tracking set for parent domain
iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

drivers/iommu/intel/iommu.h | 7 ++
drivers/iommu/intel/pasid.h | 1 -
drivers/iommu/intel/iommu.c | 214 ++++++++++++++++++++++++++---------
drivers/iommu/intel/nested.c | 16 ++-
drivers/iommu/intel/pasid.c | 5 +-
5 files changed, 187 insertions(+), 56 deletions(-)

--
2.34.1