[GIT PULL] kgdb changes v4.21-rc1
From: Daniel Thompson
Date: Sun Dec 30 2018 - 05:56:02 EST
Hi Linus
Happy new year!
The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7:
Linux 4.20-rc5 (2018-12-02 15:07:55 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-4.21-rc1
for you to fetch changes up to cc0282975b3f887005c380adcf0af95915f0c1bb:
kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops (2018-12-30 08:33:06 +0000)
----------------------------------------------------------------
kgdb patches for 4.20-rc1
Mostly clean ups although whilst Doug's was chasing down a odd
lockdep warning he also did some work to improved debugger resilience
when some CPUs fail to respond to the round up request.
The main changes are:
* Fixing a lockdep warning on architectures that cannot use an NMI for
the round up plus related changes to make CPU round up and all CPU
backtrace more resilient.
* Constify the arch ops tables
* A couple of other small clean ups
Two of the three patchsets here include changes that spill over into
arch/. Changes in the arch space are relatively narrow in scope
(and directly related to kgdb). Didn't get comprehensive acks but
all impacted maintainers were Cc:ed in good time.
Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
----------------------------------------------------------------
Christophe Leroy (2):
mips/kgdb: prepare arch_kgdb_ops for constness
kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops
Douglas Anderson (4):
kgdb: Remove irq flags from roundup
kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function()
kgdb: Don't round up a CPU that failed rounding up before
kdb: Don't back trace on a cpu that didn't round up
Nicholas Mc Guire (1):
kdb: use bool for binary state indicators
arch/arc/kernel/kgdb.c | 12 ++------
arch/arm/kernel/kgdb.c | 14 +--------
arch/arm64/kernel/kgdb.c | 14 +--------
arch/h8300/kernel/kgdb.c | 2 +-
arch/hexagon/kernel/kgdb.c | 34 +--------------------
arch/microblaze/kernel/kgdb.c | 2 +-
arch/mips/kernel/kgdb.c | 25 +++++-----------
arch/nios2/kernel/kgdb.c | 2 +-
arch/powerpc/kernel/kgdb.c | 8 ++---
arch/sh/kernel/kgdb.c | 14 +--------
arch/sparc/kernel/kgdb_32.c | 2 +-
arch/sparc/kernel/kgdb_64.c | 2 +-
arch/sparc/kernel/smp_64.c | 2 +-
arch/x86/kernel/kgdb.c | 11 ++-----
include/linux/kgdb.h | 24 +++++++++------
kernel/debug/debug_core.c | 65 ++++++++++++++++++++++++++++++++++++++++-
kernel/debug/debug_core.h | 1 +
kernel/debug/kdb/kdb_bt.c | 11 ++++++-
kernel/debug/kdb/kdb_debugger.c | 7 -----
kernel/debug/kdb/kdb_main.c | 14 ++++-----
20 files changed, 125 insertions(+), 141 deletions(-)