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

From: Palmer Dabbelt
Date: Fri Jun 02 2023 - 11:11:53 EST


The following changes since commit 3b90b09af5be42491a8a74a549318cfa265b3029:

riscv: Fix orphan section warnings caused by kernel/pi (2023-05-09 18:20:23 -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-rc5

for you to fetch changes up to 6966d7988c4fb6af3e395868e9800c07f9e98a30:

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

----------------------------------------------------------------
RISC-V Fixes for 6.4-rc5

* A build warning fix for BUILTIN_DTB=y.
* Hibernation support is hidden behind NONPORTABLE, as it depends on
some undocumented early boot behavior and breaks on most platforms.
* A fix for relocatable kernels on systems with early boot errata.
* A fix to properly handle perf callchains for kernel tracepoints.
* A pair of fixes for NAPOT to avoid inconsistencies between PTEs and
handle hardware that sets arbitrary A/D bits.

----------------------------------------------------------------
Alexandre Ghiti (4):
riscv: Fix unused variable warning when BUILTIN_DTB is set
riscv: Fix relocatable kernels with early alternatives using -fno-pie
riscv: Fix huge_ptep_set_wrprotect when PTE is a NAPOT
riscv: Implement missing huge_ptep_get

Conor Dooley (1):
RISC-V: mark hibernation as nonportable

Ism Hong (1):
riscv: perf: Fix callchain parse error with kernel tracepoint events

arch/riscv/Kconfig | 5 ++++-
arch/riscv/errata/Makefile | 4 ++++
arch/riscv/include/asm/hugetlb.h | 3 +++
arch/riscv/include/asm/perf_event.h | 7 +++++++
arch/riscv/kernel/Makefile | 4 ++++
arch/riscv/mm/hugetlbpage.c | 30 +++++++++++++++++++++++++++++-
arch/riscv/mm/init.c | 2 +-
7 files changed, 52 insertions(+), 3 deletions(-)