[GIT PULL] RISC-V Fixes for 6.3-rc2

From: Palmer Dabbelt
Date: Fri Mar 10 2023 - 11:50:26 EST


The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -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.3-rc2

for you to fetch changes up to 2a8db5ec4a28a0fce822d10224db9471a44b6925:

RISC-V: Don't check text_mutex during stop_machine (2023-03-09 14:58:51 -0800)

----------------------------------------------------------------
RISC-V Fixes for 6.3-rc2

* RISC-V architecture-specific ELF attributes have been disabled in the
kernel builds.
* A fix for a locking failure while during errata patching that
manifests on SiFive-based systems.
* A fix for a KASAN failure during stack unwinding.
* A fix for some lockdep failures during text patching.

----------------------------------------------------------------
There's a handful of failures with this alone, but they're all merge window
regressions from other trees and have been fixed in master already. I figured
it would be saner to just keep this on rc1 rather than try and pull anything
else in.

----------------------------------------------------------------
Alexandre Ghiti (1):
riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode

Conor Dooley (2):
RISC-V: fix taking the text_mutex twice during sifive errata patching
RISC-V: Don't check text_mutex during stop_machine

Palmer Dabbelt (1):
RISC-V: Stop emitting attributes

arch/riscv/Makefile | 7 +++++++
arch/riscv/errata/sifive/errata.c | 2 +-
arch/riscv/include/asm/ftrace.h | 2 +-
arch/riscv/include/asm/patch.h | 2 ++
arch/riscv/kernel/compat_vdso/Makefile | 4 ++++
arch/riscv/kernel/ftrace.c | 13 +++++++++++--
arch/riscv/kernel/patch.c | 28 +++++++++++++++++++++++++---
arch/riscv/kernel/stacktrace.c | 2 +-
8 files changed, 52 insertions(+), 8 deletions(-)