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

Skip to content
Commit 4fea97c6 authored by Vijayanand Jitta's avatar Vijayanand Jitta
Browse files

drivers: iommu: Don't acquire stream_map_mutex in testbus dump path



In the testbus dumping path after acquiring tesbus_lock which is a
spinlock, to get the sid stream_map_mutex is acquired, this sequence
would result in calling sleep from atomic context so, to avoid
this get sid from fwspec and avoid acquiring stream_map_mutex.
Also move testbus dumping code to arm_smmu_testbus_dump function.

Fixes: 9c2fbeb6eef2 ("drivers: iommu: dump testbus output on tlb_sync timeouts")
Change-Id: Ib64d268a7278771717c3bd355a10f31aa21fe185
Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 992541c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment