soc: qcom: smem: use remote spinlock try lock
If a remote subsystem resets while holding the remote spinlock and APPs
is trying to acquire the same remote spinlock, then SSR does not get
handled and the system eventually crashes due to a deadlock.
Use remote_spinlock_trylock_irqsave() instead of remote_spinlock_irqsave()
which allows the CPU to handle the pending interrupts if remote spinlock
is not available.
CRs-Fixed: 932028
Change-Id: I88716abf5bfd9a85495733cffe6df9e8e827c1b5
Signed-off-by:
Arun Kumar Neelakantam <aneela@codeaurora.org>
Loading
Please register or sign in to comment