diff options
| author | Sven Schnelle <[email protected]> | 2021-10-15 19:49:23 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2021-11-01 06:35:59 +0000 |
| commit | 66e29fcda1824f0427966fbee2bd2c85bf362c82 (patch) | |
| tree | a18769900de2327e6e220585310c4372a4d68dde /lib/pm-notifier-error-inject.c | |
| parent | parisc: Move thread_info into task struct (diff) | |
| download | kernel-66e29fcda1824f0427966fbee2bd2c85bf362c82.tar.gz kernel-66e29fcda1824f0427966fbee2bd2c85bf362c82.zip | |
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
