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

From: Palmer Dabbelt
Date: Tue Feb 25 2020 - 12:37:34 EST


The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 8458ca147c204e7db124e8baa8fede219006e80d:

riscv: adjust the indent (2020-02-24 13:12:53 -0800)

----------------------------------------------------------------
RISC-V Fixes for 5.6-rc4

This tag contains a handful of RISC-V related fixes that I've collected and
would like to target for 5.6-rc4:

* A fix to set up the PMPs on boot, which allows the kernel to access memory on
systems that don't set up permissive PMPs before getting to Linux. This only
effects machine-mode kernels, which currently means only NOMMU kernels.
* A fix to avoid enabling supervisor-mode interrupts when running in
machine-mode, also only for NOMMU kernels.
* A pair of fixes to our KASAN support to avoid corrupting memory.
* A gitignore fix.

This boots on QEMU's virt board for me.

----------------------------------------------------------------
Anup Patel (1):
RISC-V: Don't enable all interrupts in trap_init()

Damien Le Moal (1):
riscv: Fix gitignore

Greentime Hu (1):
riscv: set pmp configuration if kernel is running in M-mode

Zong Li (2):
riscv: allocate a complete page size for each page table
riscv: adjust the indent

arch/riscv/boot/.gitignore | 2 ++
arch/riscv/include/asm/csr.h | 12 ++++++++++
arch/riscv/kernel/head.S | 6 +++++
arch/riscv/kernel/traps.c | 4 ++--
arch/riscv/mm/kasan_init.c | 53 ++++++++++++++++++++++++++------------------
5 files changed, 53 insertions(+), 24 deletions(-)