[GIT PULL] RISC-V Fixes for 6.4-rc6

Palmer Dabbelt palmer at rivosinc.com
Fri Jun 9 07:45:06 PDT 2023


The following changes since commit 6966d7988c4fb6af3e395868e9800c07f9e98a30:

  riscv: Implement missing huge_ptep_get (2023-06-01 18:15:37 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 99a670b2069c725a7b50318aa681d9cae8f89325:

  riscv: fix kprobe __user string arg print fault issue (2023-06-08 10:23:19 -0700)

----------------------------------------------------------------
RISC-V Fixes for 6.4-rc6

* A fix to avoid ISA-disallowed privilege mappings that can result from
  WRITE+EXEC mmap requests from userspace.
* A fix for kfence to handle the huge pages.
* A fix to avoid converting misaligned VAs to huge pages.
* ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE has been selected so kprobe can
  understand user pointers.

----------------------------------------------------------------
Alexandre Ghiti (2):
      riscv: Fix kfence now that the linear mapping can be backed by PUD/P4D/PGD
      riscv: Check the virtual alignment before choosing a map size

Hsieh-Tseng Shen (1):
      riscv: mm: Ensure prot of VM_WRITE and VM_EXEC must be readable

Ruan Jinjie (1):
      riscv: fix kprobe __user string arg print fault issue

 arch/riscv/Kconfig               |  1 +
 arch/riscv/include/asm/kfence.h  | 33 ---------------------------
 arch/riscv/include/asm/pgtable.h |  3 +--
 arch/riscv/mm/init.c             | 48 +++++++++++++++++++++++++++++++---------
 4 files changed, 39 insertions(+), 46 deletions(-)



More information about the linux-riscv mailing list