[GIT PULL] kgdb changes for v5.10-rc1

From: Daniel Thompson
Date: Fri Oct 16 2020 - 09:07:51 EST


The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b:

Linux 5.9-rc3 (2020-08-30 16:01:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d081a6e353168f15e63eb9e9334757f20343319f:

kdb: Fix pager search for multi-line strings (2020-10-01 14:44:08 +0100)

----------------------------------------------------------------
kgdb patches for 5.10-rc1

A fairly modest set of changes for this cycle. Of particular
note are an earlycon fix from Doug Anderson and my own changes to get
kgdb/kdb to honour the kprobe blocklist. The later creates a safety
rail that strongly encourages developers not to place breakpoints in,
for example, arch specific trap handling code.

Also included are a couple of small fixes and tweaks: an API update,
eliminate a coverity dead code warning, improved handling of search
during multi-line printk and a couple of typo corrections.

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

----------------------------------------------------------------
Cengiz Can (1):
kdb: remove unnecessary null check of dbg_io_ops

Daniel Thompson (4):
kgdb: Honour the kprobe blocklist when setting breakpoints
kgdb: Add NOKPROBE labels on the trap handler functions
kernel: debug: Centralize dbg_[de]activate_sw_breakpoints
kdb: Fix pager search for multi-line strings

Davidlohr Bueso (1):
kdb: Use newer api for tasklist scanning

Douglas Anderson (1):
kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"

Youling Tang (1):
kernel/debug: Fix spelling mistake in debug_core.c

include/linux/kgdb.h | 18 ++++++++++++++++
kernel/debug/debug_core.c | 48 ++++++++++++++++++++++++++++++++---------
kernel/debug/gdbstub.c | 5 ++---
kernel/debug/kdb/kdb_bp.c | 9 ++++++++
kernel/debug/kdb/kdb_bt.c | 4 ++--
kernel/debug/kdb/kdb_debugger.c | 2 --
kernel/debug/kdb/kdb_io.c | 22 +++++++++++--------
kernel/debug/kdb/kdb_main.c | 8 +++----
kernel/debug/kdb/kdb_private.h | 4 ----
lib/Kconfig.kgdb | 15 +++++++++++++
10 files changed, 101 insertions(+), 34 deletions(-)