Re: [PATCH 6/7] riscv: mm: Always flush a single MM context by ASID

From: Conor Dooley
Date: Sun Sep 10 2023 - 15:46:48 EST


On Sat, Sep 09, 2023 at 03:16:34PM -0500, Samuel Holland wrote:
> Even if ASIDs are not supported, using the single-ASID variant of the
> sfence.vma instruction preserves TLB entries for global (kernel) pages.
> So it is always most efficient to use the single-ASID code path.
>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>

On nommu:
arch/riscv/include/asm/tlbflush.h:59:69: error: 'mm_context_t' has no member named 'id'
arch/riscv/include/asm/tlbflush.h:61:9: error: implicit declaration of function 'local_flush_tlb_all_asid'; did you mean 'local_flush_tlb_all'? [-Werror=implicit-function-declaration]

Cheers,
Conor.

Attachment: signature.asc
Description: PGP signature