android_kernel_xiaomi_sm8350/arch/sparc64
David S. Miller 93dae5b70e sparc64: Add global register dumping facility.
When a cpu really is stuck in the kernel, it can be often
impossible to figure out which cpu is stuck where.  The
worst case is when the stuck cpu has interrupts disabled.

Therefore, implement a global cpu state capture that uses
SMP message interrupts which are not disabled by the
normal IRQ enable/disable APIs of the kernel.

As long as we can get a sysrq 'y' to the kernel, we can
get a dump.  Even if the console interrupt cpu is wedged,
we can trigger it from userspace using /proc/sysrq-trigger

The output is made compact so that this facility is more
useful on high cpu count systems, which is where this
facility will likely find itself the most useful :)

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-20 00:33:45 -07:00
..
boot sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
kernel sparc64: Add global register dumping facility. 2008-05-20 00:33:45 -07:00
lib sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
math-emu sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
mm sparc64: Add global register dumping facility. 2008-05-20 00:33:45 -07:00
oprofile
prom sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
defconfig sparc64: Update defconfig. 2008-05-16 13:36:27 -07:00
Kconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig.debug [SPARC64]: Remove DEBUG_BOOTMEM. 2008-02-13 01:00:26 -08:00
Makefile sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00