]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu: Remove sva handle list
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 2 Jul 2024 06:34:36 +0000 (14:34 +0800)
committerWill Deacon <will@kernel.org>
Thu, 4 Jul 2024 12:46:18 +0000 (13:46 +0100)
commit3e7f57d1ef3f5fbed58974fae38d35e430f57d35
treeeb501e754372e21874ab65cd6f6dce272368400a
parent14678219cf4093e897ab353fd78eab7994d1be7d
iommu: Remove sva handle list

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@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240702063444.105814-3-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/iommu-priv.h
drivers/iommu/iommu-sva.c
drivers/iommu/iommu.c
include/linux/iommu.h