[PATCH 00/10] VT-d Native Shared virtual memory cleanup and fixes

Jacob Pan
2019-11-15T23:05:06Z

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

Thanks,

Jacob

Jacob Pan (10):
iommu/vt-d: Introduce native SVM capable flag
iommu/vt-d: Fix CPU and IOMMU SVM feature matching checks
iommu/vt-d: Reject SVM bind for failed capability check
iommu/vt-d: Match CPU and IOMMU paging mode
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: Fix PASID cache flush
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 | 22 +++---
drivers/iommu/intel-pasid.c | 99 ++++++++------------------
drivers/iommu/intel-svm.c | 164 +++++++++++++++++++++++++-------------------
include/linux/intel-iommu.h | 5 +-
5 files changed, 137 insertions(+), 154 deletions(-)

--
2.7.4