[GIT PULL] kgdb changes v5.6-rc1

From: Daniel Thompson
Date: Mon Feb 03 2020 - 10:00:36 EST


The following changes since commit def9d2780727cec3313ed3522d0123158d87224d:

Linux 5.5-rc7 (2020-01-19 16:02:49 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-5.6-rc1

for you to fetch changes up to dc2c733e65848b1df8d55c83eea79fc4a868c800:

kdb: Use for_each_console() helper (2020-01-31 17:34:54 +0000)

----------------------------------------------------------------
kgdb patches for 5.6-rc1

Everything for kgdb this time around is either simplifications or clean
ups.

In particular Douglas Anderson's modifications to the backtrace machine
in the *last* dev cycle have enabled Doug to tidy up some MIPS specific
backtrace code and stop sharing certain data structures across the
kernel. Note that The MIPS folks were on Cc: for the MIPS patch and
reacted positively (but without an explicit Acked-by).

Doug also got rid of the implicit switching between tasks and register
sets during some but not of kdb's backtrace actions (because the
implicit switching was either confusing for users, pointless or both).

Finally there is a coverity fix and patch to replace open coded console
traversal with the proper helper function.

Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

----------------------------------------------------------------
Andy Shevchenko (1):
kdb: Use for_each_console() helper

Colin Ian King (1):
kdb: remove redundant assignment to pointer bp

Douglas Anderson (5):
MIPS: kdb: Remove old workaround for backtracing on other CPUs
kdb: kdb_current_regs should be private
kdb: kdb_current_task shouldn't be exported
kdb: Gid rid of implicit setting of the current task / regs
kdb: Get rid of confusing diag msg from "rd" if current task has no regs

arch/mips/kernel/traps.c | 5 -----
include/linux/kdb.h | 2 --
kernel/debug/kdb/kdb_bp.c | 1 -
kernel/debug/kdb/kdb_bt.c | 8 +-------
kernel/debug/kdb/kdb_io.c | 9 +++------
kernel/debug/kdb/kdb_main.c | 31 ++++++++++++++-----------------
kernel/debug/kdb/kdb_private.h | 2 +-
7 files changed, 19 insertions(+), 39 deletions(-)