Re: [PATCH v4] riscv: Call secondary mmu notifier when flushing the tlb

From: Samuel Holland
Date: Tue Jan 14 2025 - 00:41:25 EST


On 2025-01-13 8:24 AM, Alexandre Ghiti wrote:
> This is required to allow the IOMMU driver to correctly flush its own
> TLB.
>
> Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx>
> Reviewed-by: Clément Léger <cleger@xxxxxxxxxxxx>
> ---
>
> Changes in v4:
> - Remove unused variables as reported by kernel test robot
>
> Changes in v3:
> - Rebase on top of 6.13-rc3
>
> Changes in v2:
> - Rebase on top of 6.9-rc1
>
> arch/riscv/mm/tlbflush.c | 37 ++++++++++++++++++++++---------------
> 1 file changed, 22 insertions(+), 15 deletions(-)

Reviewed-by: Samuel Holland <samuel.holland@xxxxxxxxxx>