[PATCH 0/7] Introduce generic_single_device_group()
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2023-08-22 16:16:55
Also in:
linux-iommu, linux-rockchip, linux-sunxi
This was previously part of the reverted locking rework, but it stands alone just fine. It has already been in linux-next for a few weeks, this folds the bug fix from: https://lore.kernel.org/all/e5e75222-13a9-ee01-0c25-8311b622fe0d@samsung.com/ (local) The patch "iommu: Add a lockdep assertion for remaining dev->iommu_group reads" is pushed out of this series, even though the logic and explanation behind that is still correct. Jason Gunthorpe (7): iommu: Remove useless group refcounting iommu: Add generic_single_device_group() iommu/sun50i: Convert to generic_single_device_group() iommu/sprd: Convert to generic_single_device_group() iommu/rockchip: Convert to generic_single_device_group() iommu/ipmmu-vmsa: Convert to generic_single_device_group() iommu/omap: Convert to generic_single_device_group() drivers/iommu/iommu.c | 85 +++++++++++++++++++--------------- drivers/iommu/ipmmu-vmsa.c | 22 ++------- drivers/iommu/omap-iommu.c | 30 ++---------- drivers/iommu/omap-iommu.h | 2 +- drivers/iommu/rockchip-iommu.c | 22 +-------- drivers/iommu/sprd-iommu.c | 24 +--------- drivers/iommu/sun50i-iommu.c | 29 +++--------- include/linux/iommu.h | 3 ++ 8 files changed, 71 insertions(+), 146 deletions(-) base-commit: d8fe59f11096d6470b5f53739e49cdce67f3e127 -- 2.41.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel