[GIT PULL] RISC-V Fixes for 5.8-rc5 (ideally)

From: Palmer Dabbelt
Date: Sat Jul 11 2020 - 16:24:09 EST


The following changes since commit dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258:

Linux 5.8-rc4 (2020-07-05 16:20:22 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.8-rc5

for you to fetch changes up to 70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe:

riscv: Avoid kgdb.h including gdb_xml.h to solve unused-const-variable warning (2020-07-09 20:12:28 -0700)

----------------------------------------------------------------
RISC-V Fixes for 5.8-rc5 (ideally)

I have a few KGDB-related fixes that I'd like to target for 5.8-rc5. They're
mostly fixes for build warnings, but there's also:

* Support for the qSupported and qXfer packets, which are necessary to pass
around GDB XML information which we need for the RISC-V GDB port to fully
function.
* Users can now select STRICT_KERNEL_RWX instead of forcing it on.

I know it's a bit late for rc5, as these are not critical it's not a big deal
if they don't make it in.

----------------------------------------------------------------
Vincent Chen (5):
kgdb: enable arch to support XML packet.
riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX
riscv: Fix "no previous prototype" compile warning in kgdb.c file
kgdb: Move the extern declaration kgdb_has_hit_break() to generic kgdb.h
riscv: Avoid kgdb.h including gdb_xml.h to solve unused-const-variable warning

arch/riscv/Kconfig | 2 ++
arch/riscv/include/asm/gdb_xml.h | 3 +--
arch/riscv/include/asm/kgdb.h | 5 +++--
arch/riscv/kernel/kgdb.c | 10 +++++-----
include/linux/kgdb.h | 12 ++++++++++++
kernel/debug/gdbstub.c | 13 +++++++++++++
lib/Kconfig.kgdb | 5 +++++
7 files changed, 41 insertions(+), 9 deletions(-)