iommu/arm-smmu: Fix races in iommu domain/group creation
Status from this message: Applied to will (for-joerg/arm-smmu/updates), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied
- v22 patches 4 repliesSuperseded
- v12 patches 5 repliesSuperseded
Changes in v3 from the cover letter
* Updated commit messages.
* Added Signed-off-by in patch 2.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iommu: Fix race condition during default domain allocationdrivers/ | +2 | 0 replies | |
| 2/2 | iommu/arm-smmu: Fix race condition during iommu_group creationdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Patch V3 0/2] iommu/arm-smmu: Fix races in iommu domain/group creation
When two devices with same SID are getting probed concurrently through iommu_probe_device(), the iommu_group and iommu_domain are allocated more than once because they are not protected for concurrency. This is leading to context faults when one device is accessing IOVA from other device. Fix this by protecting iommu_domain and iommu_group creation with mutexes.
Changes in v3:
* Updated commit messages.
* Added Signed-off-by in patch 2.
Ashish Mhetre (1):
iommu: Fix race condition during default domain allocation
Krishna Reddy (1):
iommu/arm-smmu: Fix race condition during iommu_group creation
drivers/iommu/arm/arm-smmu/arm-smmu.c | 6 +++++- drivers/iommu/iommu.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-)
Signature · 6 lines
2.7.4 _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu