[GIT PULL] RISC-V Fixes for 6.8-rc4

From: Palmer Dabbelt
Date: Fri Feb 09 2024 - 11:48:47 EST


The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -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.8-rc4

for you to fetch changes up to 3951f6add519a8e954bf78691a412f65b24f4715:

riscv: Fix arch_tlbbatch_flush() by clearing the batch cpumask (2024-02-07 10:19:37 -0800)

----------------------------------------------------------------
RISC-V Fixes for 6.8-rc4

* A fix for a missing TLB flush during early boot on SPARSEMEM_VMEMMAP
configurations.
* A handful of fixes to correctly implement the break-before-make
behavior requried by the ISA for NAPOT mappings.
* A fix for a missing TLB flush on intermediate mapping changes.
* A fix for a build warning about a missing declaration of
overflow_stack.
* A fix for a performace regression related to incorrect tracking of
completed batch TLB flushes.

----------------------------------------------------------------
Alexandre Ghiti (5):
riscv: Fix set_huge_pte_at() for NAPOT mapping
riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
riscv: Flush the tlb when a page directory is freed
riscv: Fix arch_hugetlb_migration_supported() for NAPOT
riscv: Fix arch_tlbbatch_flush() by clearing the batch cpumask

Ben Dooks (1):
riscv: declare overflow_stack as exported from traps.c

Palmer Dabbelt (1):
Merge patch series "svnapot fixes"

Vincent Chen (1):
riscv: mm: execute local TLB flush after populating vmemmap

arch/riscv/include/asm/hugetlb.h | 3 ++
arch/riscv/include/asm/stacktrace.h | 5 +++
arch/riscv/include/asm/tlb.h | 2 +-
arch/riscv/include/asm/tlbflush.h | 1 +
arch/riscv/mm/hugetlbpage.c | 78 ++++++++++++++++++++++++++++++++++---
arch/riscv/mm/init.c | 4 ++
arch/riscv/mm/tlbflush.c | 4 +-
7 files changed, 90 insertions(+), 7 deletions(-)