[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-43509d97-4d3a-449f-b4d7-74f1041daefc@palmer-ri-x1c9>
Date: Fri, 06 Sep 2024 09:21:30 -0700 (PDT)
From: Palmer Dabbelt <palmer@...osinc.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] RISC-V Fixes for 6.11-rc7
The following changes since commit 32d5f7add080a936e28ab4142bfeea6b06999789:
Merge patch series "RISC-V: hwprobe: Misaligned scalar perf fix and rename" (2024-08-15 13:12:21 -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.11-rc7
for you to fetch changes up to 1ff95eb2bebda50c4c5406caaf201e0fcb24cc8f:
riscv: Fix RISCV_ALTERNATIVE_EARLY (2024-09-03 07:57:55 -0700)
----------------------------------------------------------------
RISC-V Fixes for 6.11-rc7
* A revert for the mmap() change that ties the allocation range to the
hint adress, as what we tried to do ended up regressing on other
userspace workloads.
* A fix to avoid a kernel memory leak when emulating misaligned accesses
from userspace.
* A Kconfig fix for toolchain vector detection, which now correctly
detects vector support on toolchains where the V extension depends on
the M extension.
* A fix to avoid failing the linear mapping bootmem bounds check on
NOMMU systems.
* A fix for early alternatives on relocatable kernels.
----------------------------------------------------------------
That mmap() one is particuarly embarassing, as it didn't even fix the sv39
compatibility issue we set out to fix in the first place. We'll have a better
fix for this, but I figured it would be best to get the revert out as it'll
need to be backported and it breaks real workloads.
----------------------------------------------------------------
Alexandre Ghiti (2):
riscv: Do not restrict memory size because of linear mapping on nommu
riscv: Fix RISCV_ALTERNATIVE_EARLY
Anton Blanchard (1):
riscv: Fix toolchain vector detection
Charlie Jenkins (3):
Revert "RISC-V: mm: Document mmap changes"
riscv: selftests: Remove mmap hint address checks
riscv: mm: Do not restrict mmap address based on hint
Palmer Dabbelt (1):
Merge patch series "riscv: mm: Do not restrict mmap address based on hint"
Samuel Holland (1):
riscv: misaligned: Restrict user access to kernel memory
Documentation/arch/riscv/vm-layout.rst | 16 ------
arch/riscv/Kconfig | 4 +-
arch/riscv/include/asm/processor.h | 26 +--------
arch/riscv/include/asm/sbi.h | 20 ++++++-
arch/riscv/kernel/Makefile | 6 ++-
arch/riscv/kernel/sbi.c | 63 ----------------------
arch/riscv/kernel/sbi_ecall.c | 48 +++++++++++++++++
arch/riscv/kernel/traps_misaligned.c | 4 +-
arch/riscv/mm/init.c | 2 +-
tools/testing/selftests/riscv/mm/mmap_bottomup.c | 2 -
tools/testing/selftests/riscv/mm/mmap_default.c | 2 -
tools/testing/selftests/riscv/mm/mmap_test.h | 67 ------------------------
12 files changed, 79 insertions(+), 181 deletions(-)
create mode 100644 arch/riscv/kernel/sbi_ecall.c
Powered by blists - more mailing lists