linux-stable/arch/riscv/mm
Alexandre Ghiti 3951f6add5
riscv: Fix arch_tlbbatch_flush() by clearing the batch cpumask
We must clear the cpumask once we have flushed the batch, otherwise cpus
get accumulated and we end sending IPIs to more cpus than needed.

Fixes: 54d7431af7 ("riscv: Add support for BATCHED_UNMAP_TLB_FLUSH")
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20240130115508.105386-1-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-02-07 10:19:37 -08:00
..
cache-ops.c riscv: split cache ops out of dma-noncoherent.c 2023-11-07 09:37:42 -08:00
cacheflush.c RISC-V: cacheflush: Initialize CBO variables on ACPI systems 2023-10-26 09:40:34 -07:00
context.c riscv: mm: use bitmap_zero() API 2023-08-31 00:18:29 -07:00
dma-noncoherent.c iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops() 2023-12-12 10:18:45 +01:00
extable.c riscv: select DCACHE_WORD_ACCESS for efficient unaligned access HW 2024-01-09 20:18:20 -08:00
fault.c RISC-V Patches for the 6.8 Merge Window, Part 1 2024-01-17 10:50:46 -08:00
hugetlbpage.c riscv: Fix arch_hugetlb_migration_supported() for NAPOT 2024-02-07 09:55:26 -08:00
init.c riscv: mm: execute local TLB flush after populating vmemmap 2024-01-31 12:37:26 -08:00
kasan_init.c percpu: 2024-01-18 15:01:28 -08:00
Makefile riscv: mm: Only compile pgtable.c if MMU 2023-12-20 10:48:14 -08:00
pageattr.c Merge remote-tracking branch 'palmer/fixes' into for-next 2024-01-09 20:10:32 -08:00
pgtable.c riscv: Use accessors to page table entries instead of direct dereference 2023-12-20 10:48:15 -08:00
physaddr.c riscv: Use PUD/P4D/PGD pages for the linear mapping 2023-04-18 20:43:04 -07:00
pmem.c RISC-V: capitalise CMO op macros 2023-11-05 09:11:23 -08:00
ptdump.c Merge patch series "Improve PTDUMP and introduce new fields" 2023-11-05 09:41:57 -08:00
tlbflush.c riscv: Fix arch_tlbbatch_flush() by clearing the batch cpumask 2024-02-07 10:19:37 -08:00