[PATCH v5 0/7] iommu/vt-d: Misc tweaks and fixes for vSVA

From: Jacob Pan
Date: Wed Jul 22 2020 - 15:19:46 EST


Hi Baolu and all,

This is a series to address some of the issues we found in vSVA support.
Most of the patches deal with exception handling, we also removed some bits
that are not currently supported.

Many thanks to Kevin Tian's review.

Jacob & Yi

Changelog:

v5 Fix off by one bug in 4/7

v4 Address reviews from Eric Auger
- Additional warning for unaligned mask and address in guest IOTLB
invalidation
- Comments rewrite and code simplification
v3
- Use pr_err instead of WARN() for invalid user address range (6/7)
- Fix logic in PASID selective devTLB flush (3/7)

v2 Address reviews from Baolu
- Fixed addr field in devTLB flush (5/7)
- Assign address for single page devTLB invalidation (4/7)
- Coding style tweaks

Jacob Pan (4):
iommu/vt-d: Remove global page support in devTLB flush
iommu/vt-d: Fix PASID devTLB invalidation
iommu/vt-d: Warn on out-of-range invalidation address
iommu/vt-d: Disable multiple GPASID-dev bind

Liu Yi L (3):
iommu/vt-d: Enforce PASID devTLB field mask
iommu/vt-d: Handle non-page aligned address
iommu/vt-d: Fix devTLB flush for vSVA

drivers/iommu/intel/dmar.c | 24 +++++++++++++++++++-----
drivers/iommu/intel/iommu.c | 39 ++++++++++++++++++++++++---------------
drivers/iommu/intel/pasid.c | 11 ++++++++++-
drivers/iommu/intel/svm.c | 22 +++++++++-------------
include/linux/intel-iommu.h | 5 ++---
5 files changed, 64 insertions(+), 37 deletions(-)

--
2.7.4