[GIT PULL] RISC-V Fixes for 5.12-rc4

From: Palmer Dabbelt
Date: Sat Mar 20 2021 - 01:42:59 EST


The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.12-rc4

for you to fetch changes up to a5406a7ff56e63376c210b06072aa0ef23473366:

riscv: Correct SPARSEMEM configuration (2021-03-16 22:15:21 -0700)

----------------------------------------------------------------
RISC-V Fixes for 5.12-rc4

I have handful of fixes for 5.12:

* A fix to the SBI remote fence numbers for hypervisor fences, which had
been transcribed in the wrong order in Linux. These fences are only
used with the KVM patches applied.
* A whole host of build warnings have been fixed, these should have no
functional change.
* A fix to init_resources() that prevents an off-by-one error from
causing an out-of-bounds array reference. This is manifesting during
boot on vexriscv.
* A fix to ensure the KASAN mappings are visible before proceeding to
use them.

----------------------------------------------------------------
Alexandre Ghiti (1):
riscv: Ensure page table writes are flushed when initializing KASAN vmalloc

Colin Ian King (1):
ftrace: Fix spelling mistake "disabed" -> "disabled"

Damien Le Moal (1):
riscv: Fix compilation error with Canaan SoC

Geert Uytterhoeven (1):
RISC-V: Fix out-of-bounds accesses in init_resources()

Heinrich Schuchardt (1):
RISC-V: correct enum sbi_ext_rfence_fid

Kefeng Wang (1):
riscv: Correct SPARSEMEM configuration

Nanyong Sun (9):
riscv: traps: Fix no prototype warnings
riscv: irq: Fix no prototype warning
riscv: sbi: Fix comment of __sbi_set_timer_v01
riscv: ptrace: Fix no prototype warnings
riscv: time: Fix no prototype for time_init
riscv: syscall_table: Reduce W=1 compilation warnings noise
riscv: process: Fix no prototype for show_regs
riscv: ftrace: Use ftrace_get_regs helper
riscv: process: Fix no prototype for arch_dup_task_struct

Palmer Dabbelt (1):
RISC-V: kasan: Declare kasan_shallow_populate() static

kernel test robot (1):
riscv: fix bugon.cocci warnings

arch/csky/kernel/probes/ftrace.c | 2 +-
arch/riscv/Kconfig | 4 ++--
arch/riscv/Kconfig.socs | 2 ++
arch/riscv/include/asm/asm-prototypes.h | 16 ++++++++++++++++
arch/riscv/include/asm/irq.h | 2 ++
arch/riscv/include/asm/processor.h | 1 +
arch/riscv/include/asm/ptrace.h | 5 +++++
arch/riscv/include/asm/sbi.h | 4 ++--
arch/riscv/include/asm/timex.h | 2 ++
arch/riscv/kernel/Makefile | 1 +
arch/riscv/kernel/probes/ftrace.c | 18 ++++++++++--------
arch/riscv/kernel/probes/kprobes.c | 3 +--
arch/riscv/kernel/process.c | 1 +
arch/riscv/kernel/sbi.c | 2 +-
arch/riscv/kernel/setup.c | 3 ++-
arch/riscv/kernel/time.c | 1 +
arch/riscv/kernel/traps.c | 1 +
arch/riscv/mm/kasan_init.c | 4 +++-
arch/x86/kernel/kprobes/ftrace.c | 2 +-
19 files changed, 55 insertions(+), 19 deletions(-)