summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/irq.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-05-04 23:26:35 +0200
committerChris Metcalf <cmetcalf@ezchip.com>2015-05-11 17:22:31 +0200
commite5701b74ccfdbbb0b4d9abcc7d0c569bf5e5375b (patch)
tree12fd2d5402bea262d4a191504f3ad25b5263ae3a /arch/tile/include/asm/irq.h
parentdrivers/tty/hvc/hvc_tile.c: properly return -EAGAIN (diff)
downloadlinux-e5701b74ccfdbbb0b4d9abcc7d0c569bf5e5375b.tar.xz
linux-e5701b74ccfdbbb0b4d9abcc7d0c569bf5e5375b.zip
tile: support delivering NMIs for multicore backtrace
A new hypervisor service was added some time ago (MDE 4.2.1 or later, or MDE 4.3 or later) that allows cores to request NMIs to be delivered to other cores. Use this facility to deliver a request that causes a backtrace to be generated on each core, and hook it into the magic SysRq functionality. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/include/asm/irq.h')
-rw-r--r--arch/tile/include/asm/irq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/tile/include/asm/irq.h b/arch/tile/include/asm/irq.h
index 1fe86911838b..84a924034bdb 100644
--- a/arch/tile/include/asm/irq.h
+++ b/arch/tile/include/asm/irq.h
@@ -78,4 +78,9 @@ void tile_irq_activate(unsigned int irq, int tile_irq_type);
void setup_irq_regs(void);
+#ifdef __tilegx__
+void arch_trigger_all_cpu_backtrace(bool self);
+#define arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace
+#endif
+
#endif /* _ASM_TILE_IRQ_H */