[git pull] IOMMU Fixes for Linux v6.8-rc5

From: Joerg Roedel
Date: Sat Feb 24 2024 - 17:06:43 EST


Hi Linus,

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v6.8-rc5

for you to fetch changes up to 65d4418c5002ec5b0e529455bf4152fd43459079:

iommu/sva: Restore SVA handle sharing (2024-02-23 16:45:05 +0100)

----------------------------------------------------------------
IOMMU Fixes for Linux v6.8-rc5

Including:

- Intel VT-d fixes for nested domain handling:
- Cache invalidation for changes in a parent domain
- Dirty tracking setting for parent and nested domains
- Fix a constant-out-of-range warning

- ARM SMMU fixes:
- Fix CD allocation from atomic context when using SVA with SMMUv3
- Revert the conversion of SMMUv2 to domain_alloc_paging(), as it
breaks the boot for Qualcomm MSM8996 devices

- Restore SVA handle sharing in core code as it turned out there are
still drivers relying on it

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

Dmitry Baryshkov (1):
Revert "iommu/arm-smmu: Convert to domain_alloc_paging()"

Jason Gunthorpe (2):
iommu/arm-smmu-v3: Do not use GFP_KERNEL under as spinlock
iommu/sva: Restore SVA handle sharing

Joerg Roedel (1):
Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into iommu/fixes

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/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 38 ++---
drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 +-
drivers/iommu/intel/iommu.c | 214 ++++++++++++++++++------
drivers/iommu/intel/iommu.h | 7 +
drivers/iommu/intel/nested.c | 16 +-
drivers/iommu/intel/pasid.c | 5 +-
drivers/iommu/intel/pasid.h | 1 -
drivers/iommu/iommu-sva.c | 17 ++
include/linux/iommu.h | 3 +
9 files changed, 225 insertions(+), 93 deletions(-)

Please pull.

Thanks,

Joerg

Attachment: signature.asc
Description: Digital signature