[GIT PULL] RISC-V Fixes for 5.9

From: Palmer Dabbelt
Date: Fri Oct 09 2020 - 13:52:12 EST


The following changes since commit 549738f15da0e5a00275977623be199fbbf7df50:

Linux 5.9-rc8 (2020-10-04 16:04:34 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 84814460eef9af0fb56a4698341c9cb7996a6312:

riscv: Fixup bootup failure with HARDENED_USERCOPY (2020-10-06 18:34:00 -0700)

----------------------------------------------------------------
RISC-V Fixes for 5.9

I have two fixes this week:

* A fix to actually reserve the device tree's memory. Without this the device
tree can be overwritten on systems that don't otherwise reserve it. This
issue should only manifest on !MMU systems.
* A workaround for a BUG() that triggers when the memory that originally
contained initdata is freed and later repurposed. This triggers a BUG() on
builds that with HARDENED_USERCOPY enabled.

----------------------------------------------------------------
Atish Patra (1):
RISC-V: Make sure memblock reserves the memory containing DT

Guo Ren (1):
riscv: Fixup bootup failure with HARDENED_USERCOPY

arch/riscv/kernel/vmlinux.lds.S | 5 +++--
arch/riscv/mm/init.c | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)