Searched hist:"856839 b76836a2ee524a8638f568275da57f719c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/mips/include/asm/ |
H A D | irq.h | diff 856839b76836a2ee524a8638f568275da57f719c Wed Oct 22 01:39:56 CDT 2014 Eunbong Song <eunb.song@samsung.com> MIPS: Add arch_trigger_all_cpu_backtrace() function
Currently, arch_trigger_all_cpu_backtrace() is defined in only x86 and sparc which have an NMI. But in case of softlockup, it could be possible to dump backtrace of all cpus. and this could be helpful for debugging.
for example, if system has 2 cpus.
CPU 0 CPU 1 acquire read_lock()
try to do write_lock()
,,, missing read_unlock()
In this case, softlockup will occur becasuse CPU 0 does not call read_unlock(). And dump_stack() print only backtrace for "CPU 0". If CPU1's backtrace is printed it's very helpful.
[ralf@linux-mips.org: Fixed whitespace and formatting issues.]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/8200/
|
/openbmc/linux/arch/mips/kernel/ |
H A D | process.c | diff 856839b76836a2ee524a8638f568275da57f719c Wed Oct 22 01:39:56 CDT 2014 Eunbong Song <eunb.song@samsung.com> MIPS: Add arch_trigger_all_cpu_backtrace() function
Currently, arch_trigger_all_cpu_backtrace() is defined in only x86 and sparc which have an NMI. But in case of softlockup, it could be possible to dump backtrace of all cpus. and this could be helpful for debugging.
for example, if system has 2 cpus.
CPU 0 CPU 1 acquire read_lock()
try to do write_lock()
,,, missing read_unlock()
In this case, softlockup will occur becasuse CPU 0 does not call read_unlock(). And dump_stack() print only backtrace for "CPU 0". If CPU1's backtrace is printed it's very helpful.
[ralf@linux-mips.org: Fixed whitespace and formatting issues.]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/8200/
|