[GIT PULL] RISC-V Fixes for 6.2-rc7

From: Palmer Dabbelt
Date: Fri Feb 03 2023 - 10:27:42 EST


The following changes since commit c1d6105869464635d8a2bcf87a43c05f4c0cfca4:

riscv: Move call to init_cpu_topology() to later initialization stage (2023-01-25 07:20:00 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.2-rc7

for you to fetch changes up to 2f394c0e7d1129a35156e492bc8f445fb20f43ac:

riscv: disable generation of unwind tables (2023-02-01 20:51:57 -0800)

----------------------------------------------------------------
RISC-V Fixes for 6.2-rc7

* A build fix to avoid static branches in cpu_relax(), which greatly
inflates the jump tables and breaks at least
CONFIG_CC_OPTIMIZE_FOR_SIZE=y.
* A fix for a kernel panic when probing impossible instruction
positions.
* A fix to disable unwind tables, which are enabled by default for
GCC-13 and result in unhandled relocations in modules.

----------------------------------------------------------------
Andreas Schwab (1):
riscv: disable generation of unwind tables

Guo Ren (1):
riscv: kprobe: Fixup kernel panic when probing an illegal position

Palmer Dabbelt (1):
Merge patch "riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y"

Samuel Holland (1):
riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y

arch/riscv/Makefile | 3 +++
arch/riscv/include/asm/hwcap.h | 3 ---
arch/riscv/include/asm/vdso/processor.h | 28 ++++++++++++----------------
arch/riscv/kernel/probes/kprobes.c | 18 ++++++++++++++++++
4 files changed, 33 insertions(+), 19 deletions(-)