Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 580b853d authored by Vivek Gautam's avatar Vivek Gautam
Browse files

iommu/debug: Add mutex to make attach/detach thread safe



This mutex lock will help to synchronise the usage of iommu domain
structure which is getting used by multiple threads to perform
iommu attach and iommu detach in case of any error.

Without this change we are seeing page poisoning - write after free
when running stress tests using iommu-debug test cases.

Change-Id: I1033808a510786577c41201c2a6a330e5465d4d1
Acked-by: default avatarAnkur Saxena <c_ankusa@qti.qualcomm.com>
Signed-off-by: default avatarVivek Gautam <vivek.gautam@codeaurora.org>
parent 83ddc388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment