iommu/tegra-smmu: Reference count fixes
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommu/tegra-smmu: Set IOMMU group namedrivers/ | +1 | 0 replies | |
| 2/3 | iommu/tegra-smmu: Balance IOMMU group reference countdrivers/ | +3 | 0 replies | |
| 3/3 | iommu/tegra-smmu: Prune IOMMU group when it is releaseddrivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] iommu/tegra-smmu: Reference count fixes
From: Thierry Reding <[email protected]>
I was running into some use-after-free conditions after recent changes to the host1x driver cause the child devices to be destroyed upon driver unloading. This in turn caused the IOMMU groups associated with the child devices to also get released and that uncovered a subtle reference count unbalance.
This contains two fixes for these issues and also includes a patch that sets the IOMMU group name for "static" groups to help with debugging.
Thierry
Thierry Reding (3):
iommu/tegra-smmu: Set IOMMU group name iommu/tegra-smmu: Balance IOMMU group reference count iommu/tegra-smmu: Prune IOMMU group when it is released
drivers/iommu/tegra-smmu.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Signature · 6 lines
2.27.0 _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu