RE: [PATCH 2/9] iommu/vt-d: Decouple idr bond pointer from svm

2018-05-01 Thread Liu, Yi L
> From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Tuesday, April 17, 2018 11:03 AM > Subject: [PATCH 2/9] iommu/vt-d: Decouple idr bond pointer from svm > > As we move the PASID idr out of SVM code and make it serving > as a global PASID name space, the consumer

[PATCH 2/9] iommu/vt-d: Decouple idr bond pointer from svm

2018-04-16 Thread Lu Baolu
As we move the PASID idr out of SVM code and make it serving as a global PASID name space, the consumer can specify a ptr to bind it with a PASID. We shouldn't assume that each PASID will be bond with a ptr of struct intel_svm anymore. This patch cleans up a idr_for_each_entry() usage in the SVM