On Thu, Sep 12, 2024 at 06:17:27AM -0700, Yi Liu wrote: > This adds pasid_at|de]tach_ioas ops for attaching hwpt to pasid of a > device and the helpers for it. For now, only vfio-pci supports pasid > attach/detach. > > Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > drivers/vfio/iommufd.c | 50 +++++++++++++++++++++++++++++++++++++ > drivers/vfio/pci/vfio_pci.c | 2 ++ > include/linux/vfio.h | 11 ++++++++ > 3 files changed, 63 insertions(+) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason