Re: [RFC 4/7] iommufd: Support attach/replace for SIOV virtual device {dev, pasid}

2023-11-09 Thread Yi Liu
On 2023/10/10 16:24, Tian, Kevin wrote: From: Liu, Yi L Sent: Monday, October 9, 2023 4:51 PM From: Kevin Tian SIOV devices allows driver to tag different PASIDs for the virtual devices within it. Such driver should call iommufd_device_bind_pasid() to connect the pasid of the device to iommuf

RE: [RFC 4/7] iommufd: Support attach/replace for SIOV virtual device {dev, pasid}

2023-10-10 Thread Tian, Kevin
> From: Liu, Yi L > Sent: Monday, October 9, 2023 4:51 PM > > From: Kevin Tian > > SIOV devices allows driver to tag different PASIDs for the virtual devices > within it. Such driver should call iommufd_device_bind_pasid() to connect > the pasid of the device to iommufd, and then driver is able

[RFC 4/7] iommufd: Support attach/replace for SIOV virtual device {dev, pasid}

2023-10-09 Thread Yi Liu
From: Kevin Tian SIOV devices allows driver to tag different PASIDs for the virtual devices within it. Such driver should call iommufd_device_bind_pasid() to connect the pasid of the device to iommufd, and then driver is able to attach the virtual device to IOAS/HWPT with the iommufd_device_attac