> From: Lu Baolu <baolu...@linux.intel.com> > Sent: Tuesday, June 14, 2022 11:44 AM > > This allows the upper layers to set a domain to a PASID of a device > if the PASID feature is supported by the IOMMU hardware. The typical > use cases are, for example, kernel DMA with PASID and hardware > assisted mediated device drivers. >
why is it not part of the series for those use cases? There is no consumer of added callbacks in this patch... > +/* PCI domain-subdevice relationship */ > +struct subdev_domain_info { > + struct list_head link_domain; /* link to domain siblings */ > + struct device *dev; /* physical device derived from */ > + ioasid_t pasid; /* PASID on physical device */ > +}; > + It's not subdev. Just dev+pasid in iommu's context. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu