On 11/8/24 20:04, Yi Liu wrote:
Add a wrapper for the ops->remove_dev_pasid, this consolidates the iommu_ops fetching and callback invoking. It is also a preparation for starting the transition from using remove_dev_pasid op to detach pasid to the way using blocked_domain to detach pasid. Reviewed-by: Vasant Hegde<vasant.hegde@xxxxxxx> Reviewed-by: Kevin Tian<kevin.tian@xxxxxxxxx> Reviewed-by: Jason Gunthorpe<jgg@xxxxxxxxxx> Signed-off-by: Yi Liu<yi.l.liu@xxxxxxxxx> --- drivers/iommu/iommu.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>