[PATCH v4 0/3] iommu/vt-d: Misc fixes on scalable mode

From: Liu Yi L
Date: Thu Jan 07 2021 - 02:51:11 EST


Hi Baolu, Joerg, Will,

This patchset aims to fix a bug regards to native SVM usage, and
also two bugs around subdevice (attached to device via auxiliary
manner) tracking and ineffective device_tlb flush.

v3 -> v4:
- Address comments from Baolu Lu and add acked-by
- Fix issue reported by "Dan Carpenter" and "kernel test robot"
- Add tested-by from Guo Kaijie on patch 1/3
- Rebase to 5.11-rc2
v3: https://lore.kernel.org/linux-iommu/20201229032513.486395-1-yi.l.liu@xxxxxxxxx/

v2 -> v3:
- Address comments from Baolu Lu against v2
- Rebased to 5.11-rc1
v2: https://lore.kernel.org/linux-iommu/20201223062720.29364-1-yi.l.liu@xxxxxxxxx/

v1 -> v2:
- Use a more recent Fix tag in "iommu/vt-d: Move intel_iommu info from struct intel_svm to struct intel_svm_dev"
- Refined the "iommu/vt-d: Track device aux-attach with subdevice_domain_info"
- Rename "iommu/vt-d: A fix to iommu_flush_dev_iotlb() for aux-domain" to be
"iommu/vt-d: Fix ineffective devTLB invalidation for subdevices"
- Refined the commit messages
v1: https://lore.kernel.org/linux-iommu/20201220000352.183523-1-yi.l.liu@xxxxxxxxx/

Regards,
Yi Liu

Liu Yi L (3):
iommu/vt-d: Move intel_iommu info from struct intel_svm to struct
intel_svm_dev
iommu/vt-d: Track device aux-attach with subdevice_domain_info
iommu/vt-d: Fix ineffective devTLB invalidation for subdevices

drivers/iommu/intel/iommu.c | 148 ++++++++++++++++++++++++++++++++------------
drivers/iommu/intel/svm.c | 9 +--
include/linux/intel-iommu.h | 18 ++++--
3 files changed, 125 insertions(+), 50 deletions(-)

--
2.7.4