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

Commit b8eeab8e authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Kyle Yan
Browse files

lib: spinlock_debug: Prevent continuous spin dump logs on panic



Once a spinlock lockup is detected on a CPU, we invoke a Kernel Panic.
During the panic handling, we might see more instances of spinlock
lockup from other CPUs. This causes the dmesg to be cluttered and makes
it cumbersome to detect what exactly happened.
Call spin_bug instead of calling spin_dump directly.

Change-Id: I57857a991345a8dac3cd952463d05129145867a8
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent c2191d80
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