[PATCH v4 0/8] VT-d Native Shared virtual memory cleanup and fixes
From: Jacob Pan
Date: Thu Nov 21 2019 - 16:21:56 EST
Mostly extracted from nested SVA/SVM series based on review comments of v7.
https://lkml.org/lkml/2019/10/24/852
This series also adds a few important fixes for native use of SVA. Nested
SVA new code will be submitted separately as a smaller set. Based on the
core branch of IOMMU tree staged for v5.5, where common APIs for vSVA were
applied.
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git core
Changelog:
v4 - Commit message fix
V3
- Squashed 1/10 & 2/10
- Deleted "8/10 Fix PASID cache flush" from this series
- Addressed reviews from Eric Auger and Baolu
V2
- Coding style fixes based on Baolu's input, no functional change
- Added Acked-by tags.
Thanks,
Jacob
Jacob Pan (8):
iommu/vt-d: Fix CPU and IOMMU SVM feature matching checks
iommu/vt-d: Match CPU and IOMMU paging mode
iommu/vt-d: Reject SVM bind for failed capability check
iommu/vt-d: Avoid duplicated code for PASID setup
iommu/vt-d: Fix off-by-one in PASID allocation
iommu/vt-d: Replace Intel specific PASID allocator with IOASID
iommu/vt-d: Avoid sending invalid page response
iommu/vt-d: Misc macro clean up for SVM
drivers/iommu/Kconfig | 1 +
drivers/iommu/intel-iommu.c | 23 +++----
drivers/iommu/intel-pasid.c | 96 ++++++++------------------
drivers/iommu/intel-svm.c | 162 +++++++++++++++++++++++++-------------------
include/linux/intel-iommu.h | 5 +-
5 files changed, 134 insertions(+), 153 deletions(-)
--
2.7.4