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: v5 - Regrouped patch 6 and 8, added comments suggested by Joe Perches 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 *** BLURB HERE *** 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 | 163 +++++++++++++++++++++++++------------------- include/linux/intel-iommu.h | 5 +- 5 files changed, 135 insertions(+), 153 deletions(-) -- 2.7.4 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu