[PATCH 00/17] [PULL REQUEST] Intel IOMMU updates for Linux v6.4

Lu Baolu
2023-04-11T06:49:04Z

Hi Joerg,

This includes patches queued for v6.4. They are:

- Allow the VT-d driver to support non-PRI IOPF
- Remove PASID supervisor request support
- Various small and misc cleanups

This series also includes an idxd patch to avoid driver regression after
changes in the IOMMU driver. It has been reviewed by the driver's
maintainers. Please feel free to let me know if it's inappropriate to
route it through the iommu tree.

The whole series is based on v6.3-rc6 and also available at:
https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.4

Please pull them for x86/vt-d branch.

Best regards,
Baolu

Christophe JAILLET (1):
iommu/vt-d: Do not use GFP_ATOMIC when not needed

Jacob Pan (2):
iommu/vt-d: Use non-privileged mode for all PASIDs
iommu/vt-d: Remove PASID supervisor request support

Lu Baolu (7):
dmaengine: idxd: Add enable/disable device IOPF feature
iommu/vt-d: Allow SVA with device-specific IOPF
iommu/vt-d: Move iopf code from SVA to IOPF enabling path
iommu/vt-d: Move pfsid and ats_qdep calculation to device probe path
iommu/vt-d: Move PRI handling to IOPF feature path
iommu/vt-d: Remove unnecessary checks in iopf disabling path
iommu/vt-d: Remove extern from function prototypes

Tina Zhang (7):
iommu/vt-d: Fix operand size in bitwise operation
iommu/vt-d: Remove BUG_ON on checking valid pfn range
iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidation
iommu/vt-d: Remove BUG_ON when domain->pgd is NULL
iommu/vt-d: Remove BUG_ON in map/unmap()
iommu/vt-d: Remove a useless BUG_ON(dev->is_virtfn)
iommu/vt-d: Remove BUG_ON in dmar_insert_dev_scope()

drivers/iommu/intel/iommu.h | 36 +++---
drivers/iommu/intel/pasid.h | 7 --
drivers/dma/idxd/init.c | 31 ++++-
drivers/iommu/intel/dmar.c | 7 +-
drivers/iommu/intel/iommu.c | 173 +++++++++++++++++-----------
drivers/iommu/intel/irq_remapping.c | 2 +-
drivers/iommu/intel/pasid.c | 43 -------
7 files changed, 155 insertions(+), 144 deletions(-)

--
2.34.1