[PATCH v6 08/25] iommufd/viommu: Add driver-defined vDEVICE support

Jason Gunthorpe jgg at nvidia.com
Thu Jun 19 04:44:25 PDT 2025


On Thu, Jun 19, 2025 at 10:26:28AM +0000, Pranjal Shrivastava wrote:
> > +struct iommufd_vdevice {
> > +	struct iommufd_object obj;
> > +	struct iommufd_viommu *viommu;
> > +	struct device *dev;
> > +	u64 id; /* per-vIOMMU virtual ID */
> 
> Nit: Why not call this viommu_id?

And lets have a comment here too, we have so many different ids, what
id is this id and what it is used for, by who.

Jason



More information about the linux-arm-kernel mailing list