Sven Schnelle 66e29fcda1 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
With idle polling, IPIs are not sent when a CPU idle, but queued
and run later from do_idle(). The default kgdb_call_nmi_hook()
implementation gets the pointer to struct pt_regs from get_irq_reqs(),
which doesn't work in that case because it was not called from the
IPI interrupt handler. Fix it by defining our own kgdb_roundup()
function which sents an IPI_ENTER_KGDB. When that IPI is received
on the target CPU kgdb_nmicallback() is called.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
2021-11-01 07:35:59 +01:00
..
2021-10-15 18:06:32 -07:00
2021-10-26 15:24:33 -07:00
2021-09-24 13:35:07 +02:00
2021-10-08 11:57:54 -07:00
2021-10-29 17:35:56 -07:00
2021-10-30 09:28:24 -07:00
2021-10-20 05:52:10 -10:00