Re: [PATCH v5 0/8] VT-d Native Shared virtual memory cleanup and fixes

From: Lu Baolu
Date: Mon Dec 09 2019 - 20:15:08 EST

Hi Jacob,

This has been queued for internal test. I will forward it to Joerg if
everything goes well (probably around rc4).

Best regards,

On 12/10/19 1:14 AM, Jacob Pan wrote:
Hi Joerg and Baolu,

Any more comments on this series? I rebased it on v5.5-rc1 without



On Mon, 2 Dec 2019 11:58:21 -0800
Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx> wrote:

Mostly extracted from nested SVA/SVM series based on review comments
of v7.

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:// core

v5 - Regrouped patch 6 and 8, added comments suggested by Joe
Perches v4 - Commit message fix

- Squashed 1/10 & 2/10
- Deleted "8/10 Fix PASID cache flush" from this series
- Addressed reviews from Eric Auger and Baolu
- Coding style fixes based on Baolu's input, no functional
- Added Acked-by tags.



*** 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(-)

[Jacob Pan]