On Thu, 19 Dec 2024 05:35:31 -0800 Yi Liu <yi.l.liu@xxxxxxxxx> 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> > Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > 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: Alex Williamson <alex.williamson@xxxxxxxxxx>