Re: [PATCH 1/1] iommu/vt-d: Consolidate duplicate cache invaliation code

From: Joerg Roedel
Date: Thu Jan 28 2021 - 05:32:16 EST


On Thu, Jan 14, 2021 at 04:50:21PM +0800, Lu Baolu wrote:
> The pasid based IOTLB and devTLB invalidation code is duplicate in
> several places. Consolidate them by using the common helpers.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/intel/pasid.c | 18 ++----------
> drivers/iommu/intel/svm.c | 55 ++++++-------------------------------
> 2 files changed, 11 insertions(+), 62 deletions(-)

Applied, thanks.