On Sun, Jun 16, 2024 at 02:11:47PM +0800, Lu Baolu wrote: > The struct sva_iommu represents an association between an SVA domain and > a PASID of a device. It's stored in the iommu group's pasid array and also > tracked by a list in the per-mm data structure. Removes duplicate tracking > of sva_iommu by eliminating the list. > > Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> > --- > include/linux/iommu.h | 2 -- > drivers/iommu/iommu-priv.h | 3 +++ > drivers/iommu/iommu-sva.c | 30 ++++++++++++++++++++---------- > drivers/iommu/iommu.c | 31 +++++++++++++++++++++++++++++++ > 4 files changed, 54 insertions(+), 12 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason