On Thu, Jul 27, 2023 at 08:55:50PM +0200, Alexandre Ghiti wrote: > For now, flush_tlb() simply calls flush_tlb_mm() which results in a > flush of the whole TLB. So let's use mmu_gather fields to provide a more > fine-grained flush of the TLB. > > Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> > --- > arch/riscv/include/asm/tlb.h | 8 +++++++- > arch/riscv/include/asm/tlbflush.h | 3 +++ > arch/riscv/mm/tlbflush.c | 7 +++++++ > 3 files changed, 17 insertions(+), 1 deletion(-) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>