[GIT PULL] RISC-V Fixes for 6.1-rc8
From: Palmer Dabbelt
Date: Fri Dec 02 2022 - 11:53:23 EST
The following changes since commit fcae44fd36d052e956e69a64642fc03820968d78:
RISC-V: vdso: Do not add missing symbols to version section in linker script (2022-11-10 15:06:14 -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.1-rc8
for you to fetch changes up to 39cefc5f6cd25d555e0455b24810e9aff365b8d6:
RISC-V: Fix a race condition during kernel stack overflow (2022-12-01 11:38:39 -0800)
----------------------------------------------------------------
RISC-V Fixes for 6.1-rc8
* A build-time fix for the NR_CPUS Kconfig SBI version dependency.
* A pair of fixes to early memory initialization, to fix page
permissions in EFI and post-initmem-free.
* A build-time fix for the VDSO, to avoid trying to profile the VDSO
functions.
* A pair of fixes for kexec crash handling, to fix multi-core and
interrupt related initialization inside the crash kernel.
* A fix to avoid a race condition when handling multiple concurrect
kernel stack overflows.
----------------------------------------------------------------
Alexandre Ghiti (1):
riscv: Sync efi page table's kernel mappings before switching
Björn Töpel (1):
riscv: mm: Proper page permissions after initmem free
Guo Ren (2):
riscv: kexec: Fixup irq controller broken in kexec crash path
riscv: kexec: Fixup crash_smp_send_stop without multi cores
Jisheng Zhang (2):
riscv: fix race when vmap stack overflow
riscv: vdso: fix section overlapping under some conditions
Palmer Dabbelt (2):
Merge patch series "riscv: kexec: Fxiup crash_save percpu and machine_kexec_mask_interrupts"
RISC-V: Fix a race condition during kernel stack overflow
Samuel Holland (1):
riscv: Fix NR_CPUS range conditions
arch/riscv/Kconfig | 6 +--
arch/riscv/include/asm/asm.h | 1 +
arch/riscv/include/asm/efi.h | 6 ++-
arch/riscv/include/asm/pgalloc.h | 11 +++--
arch/riscv/include/asm/smp.h | 3 ++
arch/riscv/kernel/entry.S | 13 ++++++
arch/riscv/kernel/machine_kexec.c | 46 ++++++++++++++-----
arch/riscv/kernel/setup.c | 9 ++--
arch/riscv/kernel/smp.c | 97 ++++++++++++++++++++++++++++++++++++++-
arch/riscv/kernel/traps.c | 18 ++++++++
arch/riscv/kernel/vdso/Makefile | 1 +
11 files changed, 187 insertions(+), 24 deletions(-)