[GIT PULL] RISC-V Fixes for 5.11-rc7

From: Palmer Dabbelt
Date: Sat Feb 06 2021 - 14:39:58 EST


The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac:

Linux 5.11-rc6 (2021-01-31 13:50:09 -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.11-rc7

for you to fetch changes up to de5f4b8f634beacf667e6eff334522601dd03b59:

RISC-V: Define MAXPHYSMEM_1GB only for RV32 (2021-02-02 18:36:42 -0800)

----------------------------------------------------------------
RISC-V Fixes for 5.11-rc7

I have a handful of fixes for this week:

* A fix to avoid evalating the VA twice in virt_addr_valid, which fixes
some WARNs under DEBUG_VIRTUAL.
* Two fixes related to STRICT_KERNEL_RWX: one that fixes some
permissions when strict is disabled, and one to fix some alignment
issues when strict is enabled.
* A fix to disallow the selection of MAXPHYSMEM_2GB on RV32, which isn't
valid any more but may still show up in some oldconfigs.

We still have the HiFive Unleashed ethernet phy reset regression, so
there will likely be something coming next week.

----------------------------------------------------------------
Alexandre Ghiti (1):
riscv: virt_addr_valid must check the address belongs to linear mapping

Atish Patra (2):
RISC-V: Fix .init section permission update
RISC-V: Define MAXPHYSMEM_1GB only for RV32

Sebastien Van Cauwenberghe (1):
riscv: Align on L1_CACHE_BYTES when STRICT_KERNEL_RWX

arch/riscv/Kconfig | 2 ++
arch/riscv/include/asm/page.h | 5 ++++-
arch/riscv/include/asm/set_memory.h | 6 +++---
arch/riscv/kernel/setup.c | 4 +++-
4 files changed, 12 insertions(+), 5 deletions(-)