[GIT PULL] RISC-V Patches for the 6.10 Merge Window, Part 2

From: Palmer Dabbelt
Date: Fri May 24 2024 - 11:53:52 EST


merged tag 'riscv-for-linus-6.10-mw1'
The following changes since commit 0bfbc914d9433d8ac2763a9ce99ce7721ee5c8e0:

Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2024-05-22 09:56:00 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw2

for you to fetch changes up to 6ca445d8af0ed5950ebf899415fd6bfcd7d9d7a3:

riscv: Fix early ftrace nop patching (2024-05-23 08:22:17 -0700)

----------------------------------------------------------------
RISC-V Patches for the 6.10 Merge Window, Part 2

* The compression format used for boot images is now configurable at
build time, and these formats are shown in `make help`.
* access_ok() has been optimized.
* A pair of performance bugs have been fixed in the uaccess handlers.
* Various fixes and cleanups, including one for the IMSIC build failure
and one for the early-boot ftrace illegal NOPs bug.

----------------------------------------------------------------
Alexandre Ghiti (1):
riscv: Fix early ftrace nop patching

Charlie Jenkins (4):
riscv: cpufeature: Fix thead vector hwcap removal
riscv: cpufeature: Fix extension subset checking
riscv: selftests: Add hwprobe binaries to .gitignore
riscv: selftests: Add signal handling vector tests

Emil Renner Berthing (2):
riscv: make image compression configurable
riscv: show help string for riscv-specific targets

Kefeng Wang (1):
riscv: mm: accelerate pagefault when badaccess

Matthew Bystrin (1):
riscv: stacktrace: fixed walk_stackframe()

Nam Cao (2):
riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled
riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context

Palmer Dabbelt (4):
Merge patch series "riscv: access_ok() optimization"
Merge patch series "riscv: fix debug_pagealloc"
Merge patch series "riscv: Extension parsing fixes"
irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

Puranjay Mohan (1):
ftrace: riscv: move from REGS to ARGS

Qingfang Deng (1):
riscv: do not select MODULE_SECTIONS by default

Samuel Holland (2):
riscv: Remove PGDIR_SIZE_L3 and TASK_SIZE_MIN
riscv: Define TASK_SIZE_MAX for __access_ok()

Xiao Wang (2):
riscv: uaccess: Allow the last potential unrolled copy
riscv: uaccess: Relax the threshold for fast path

Xingyou Chen (1):
riscv: typo in comment for get_f64_reg

Zhao Ke (1):
Use bool value in set_cpu_online()

arch/riscv/Kconfig | 11 +-
arch/riscv/Makefile | 44 +++++-
arch/riscv/boot/install.sh | 9 +-
arch/riscv/include/asm/cacheflush.h | 6 +
arch/riscv/include/asm/ftrace.h | 76 ++++++++-
arch/riscv/include/asm/pgtable-64.h | 2 -
arch/riscv/include/asm/pgtable.h | 3 +-
arch/riscv/include/asm/sbi.h | 2 +
arch/riscv/kernel/asm-offsets.c | 18 +++
arch/riscv/kernel/cpu.c | 40 ++++-
arch/riscv/kernel/cpufeature.c | 10 +-
arch/riscv/kernel/fpu.S | 2 +-
arch/riscv/kernel/ftrace.c | 20 +--
arch/riscv/kernel/mcount-dyn.S | 171 ++++++---------------
arch/riscv/kernel/smpboot.c | 2 +-
arch/riscv/kernel/stacktrace.c | 20 ++-
arch/riscv/lib/uaccess.S | 4 +-
arch/riscv/mm/fault.c | 4 +-
arch/riscv/mm/init.c | 3 +
arch/riscv/mm/pageattr.c | 28 +++-
drivers/irqchip/irq-riscv-imsic-early.c | 2 +-
include/linux/ftrace.h | 3 +-
tools/testing/selftests/riscv/Makefile | 2 +-
tools/testing/selftests/riscv/hwprobe/.gitignore | 2 +
tools/testing/selftests/riscv/sigreturn/.gitignore | 1 +
tools/testing/selftests/riscv/sigreturn/Makefile | 12 ++
.../testing/selftests/riscv/sigreturn/sigreturn.c | 82 ++++++++++
27 files changed, 395 insertions(+), 184 deletions(-)
create mode 100644 tools/testing/selftests/riscv/sigreturn/.gitignore
create mode 100644 tools/testing/selftests/riscv/sigreturn/Makefile
create mode 100644 tools/testing/selftests/riscv/sigreturn/sigreturn.c