Re: [PATCH v8 05/11] iommu/vt-d: Add SVA domain support

2022-06-19 Thread Baolu Lu
On 2022/6/17 15:47, Tian, Kevin wrote: From: Lu Baolu Sent: Tuesday, June 7, 2022 9:50 AM + +static const struct iommu_domain_ops intel_svm_domain_ops = { + .set_dev_pasid = intel_svm_attach_dev_pasid, + .block_dev_pasid= intel_svm_detach_dev_pasid, + .free

RE: [PATCH v8 05/11] iommu/vt-d: Add SVA domain support

2022-06-17 Thread Tian, Kevin
> From: Lu Baolu > Sent: Tuesday, June 7, 2022 9:50 AM > > + > +static const struct iommu_domain_ops intel_svm_domain_ops = { > + .set_dev_pasid = intel_svm_attach_dev_pasid, > + .block_dev_pasid= intel_svm_detach_dev_pasid, > + .free =

[PATCH v8 05/11] iommu/vt-d: Add SVA domain support

2022-06-06 Thread Lu Baolu
Add support for SVA domain allocation and provide an SVA-specific iommu_domain_ops. Signed-off-by: Lu Baolu --- include/linux/intel-iommu.h | 5 drivers/iommu/intel/iommu.c | 2 ++ drivers/iommu/intel/svm.c | 49 + 3 files changed, 56 insertions(+)