android_kernel_motorola_sm6225/arch/parisc
Sven Schnelle 0074662189 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
[ Upstream commit 66e29fcda1824f0427966fbee2bd2c85bf362c82 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:36:07 +01:00
..
boot parisc: Fix build of compressed kernel even with debug enabled 2019-08-06 19:06:55 +02:00
configs net: Remove CONFIG_NETFILTER_DEBUG and _ASSERT() macros. 2017-09-04 13:25:20 +02:00
include parisc: Use absolute_pointer() to define PAGE0 2021-10-06 15:31:17 +02:00
kernel parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling 2021-11-26 11:36:07 +01:00
lib parisc: add support for cmpxchg on u8 pointers 2020-08-05 10:06:05 +02:00
math-emu parisc: Fix compiler warnings in float emulation code 2019-06-25 11:35:55 +08:00
mm parisc: fix warning in flush_tlb_all 2021-11-26 11:36:07 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh parisc: make "make install" not depend on vmlinux 2013-11-07 22:28:06 +01:00
Kconfig Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile parisc: Enable -ffunction-sections for modules on 32-bit kernel 2018-12-13 09:16:18 +01:00
nm