Re: [PATCH v2 06/13] iommufd/viommu: Add iommufd_viommu_get_vdev_id helper

2024-12-12 Thread Nicolin Chen
On Wed, Dec 11, 2024 at 08:02:48AM +, Tian, Kevin wrote: > > From: Nicolin Chen > > Sent: Wednesday, December 4, 2024 6:10 AM > > > > +/* Return 0 if device is not associated to the vIOMMU */ > > +unsigned long iommufd_viommu_get_vdev_id(struct iommufd_viommu > > *viommu, > > +

RE: [PATCH v2 06/13] iommufd/viommu: Add iommufd_viommu_get_vdev_id helper

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > +/* Return 0 if device is not associated to the vIOMMU */ > +unsigned long iommufd_viommu_get_vdev_id(struct iommufd_viommu > *viommu, > + struct device *dev) > +{ > + struct iommufd_vdev