diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-05-04 21:26:35 (GMT) |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-05-11 15:22:31 (GMT) |
commit | e5701b74ccfdbbb0b4d9abcc7d0c569bf5e5375b (patch) | |
tree | 12fd2d5402bea262d4a191504f3ad25b5263ae3a /arch/tile/include/asm/irq.h | |
parent | b4287df82991ca608f44d7ac12ad9b3bc39d5baa (diff) | |
download | linux-e5701b74ccfdbbb0b4d9abcc7d0c569bf5e5375b.tar.xz |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/tile/include/asm/irq.h b/arch/tile/include/asm/irq.h index 1fe8691..84a9240 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 */ |