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

Commit 88a06607 authored by Rohit Vaswani's avatar Rohit Vaswani
Browse files

ARM64: spinlock: Add SEV and dsb in unlock code



In certain unexplained cases, the stlr alone might not wakeup
the processor waiting in WFE on a spinlock.
Add an explicity dsb and SEV in write_unlock, read_unlock
and spin_unlock to ensure that the core waiting on the lock
wakes up from WFE.
Selectable by config option SEV_IN_LOCK_UNLOCK

Change-Id: I691ff5713d4d564623b75b053b40d1f46d74868a
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent b515a7ad
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