On 2024/10/18 13:53, Yi Liu wrote:
Draining PRQ is mostly conjuncted with pasid teardown, and with more callers coming, it makes sense to move it into the intel_pasid_tear_down_entry(). But there is scenario that only teardown pasid entry but no PRQ drain, so passing a flag to mark it. Reviewed-by: Kevin Tian<kevin.tian@xxxxxxxxx> Signed-off-by: Yi Liu<yi.l.liu@xxxxxxxxx> --- drivers/iommu/intel/iommu.c | 8 ++++---- drivers/iommu/intel/pasid.c | 12 ++++++++++-- drivers/iommu/intel/pasid.h | 8 +++++--- drivers/iommu/intel/svm.c | 3 ++- 4 files changed, 21 insertions(+), 10 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> Thanks, baolu