[GIT PULL] RISC-V Fixes for 6.2-rc8

From: Palmer Dabbelt
Date: Fri Feb 10 2023 - 11:02:52 EST


The following changes since commit 2f394c0e7d1129a35156e492bc8f445fb20f43ac:

riscv: disable generation of unwind tables (2023-02-01 20:51:57 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.2-rc8

for you to fetch changes up to 950b879b7f0251317d26bae0687e72592d607532:

riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte (2023-02-09 11:40:32 -0800)

----------------------------------------------------------------
RISC-V Fixes for 6.2-rc8

* A fix to avoid partial TLB fences for huge pages, which are disallowed
by the ISA.
* A fix to to avoid missing a frame when dumping stacks.
* A fix to avoid misaligned accesses (and possibly overflows) in
kprobes.
* A fix for a race condition in tracking page dirtiness.

----------------------------------------------------------------
This is a little bigger that I'd hope for this late in the cycle, but they're
all pretty concrete fixes and the only one that's bigger than a few lines is
pmdp_collapse_flush() (which is almost all boilerplate/comment). It's also all
bug fixes for issues that have been around for a while.

So I think it's not all that scary, just bad timing.

----------------------------------------------------------------
Guo Ren (2):
riscv: kprobe: Fixup misaligned load text
riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte

Liu Shixin (1):
riscv: stacktrace: Fix missing the first frame

Mayuresh Chitale (1):
riscv: mm: Implement pmdp_collapse_flush for THP

arch/riscv/include/asm/pgtable.h | 4 ++++
arch/riscv/kernel/probes/kprobes.c | 8 +++++---
arch/riscv/kernel/stacktrace.c | 3 ++-
arch/riscv/mm/cacheflush.c | 4 +++-
arch/riscv/mm/pgtable.c | 20 ++++++++++++++++++++
5 files changed, 34 insertions(+), 5 deletions(-)