[GIT PULL] RISC-V Fixes for 5.8-rc2

From: Palmer Dabbelt
Date: Fri Jun 19 2020 - 19:25:00 EST


The following changes since commit cd16ed33c3c618930ccda7049dcea05ee707a9c0:

Merge tag 'riscv-for-linus-5.8-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2020-06-11 12:55:20 -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.8-rc2

for you to fetch changes up to 0e2c09011d4de4161f615ff860a605a9186cf62a:

RISC-V: Acquire mmap lock before invoking walk_page_range (2020-06-18 18:46:09 -0700)

----------------------------------------------------------------
RISC-V Fixes for 5.8-rc2

This contains three fixes that I'd like to target for rc2:

* A workaround for a compiler surprise related to the "r" inline assembly that
allows LLVM to boot.
* A fix to avoid WX-only mappings, which the ISA does not allow. While this
probably manifests in many ways, the bug was found in stress-ng.
* A missing lock in set_direct_map_*(), which due to a recent lockdep change
started asserting.

----------------------------------------------------------------
Atish Patra (1):
RISC-V: Acquire mmap lock before invoking walk_page_range

Nathan Huckleberry (1):
riscv/atomic: Fix sign extension for RV64I

Yash Shah (1):
RISC-V: Don't allow write+exec only page mapping request in mmap

arch/riscv/include/asm/cmpxchg.h | 8 ++++----
arch/riscv/kernel/sys_riscv.c | 6 ++++++
arch/riscv/mm/pageattr.c | 14 ++++++++++++--
3 files changed, 22 insertions(+), 6 deletions(-)