Re: [PATCH v2 10/13] arm64: mm: Refactor __flush_tlb_range() to take flags
From: Jonathan Cameron
Date: Tue Jan 27 2026 - 07:28:39 EST
On Mon, 19 Jan 2026 17:21:57 +0000
Ryan Roberts <ryan.roberts@xxxxxxx> wrote:
> We have function variants with "_nosync", "_local", "_nonotify" as well
> as the "last_level" parameter. Let's generalize and simplify by using a
> flags parameter to encode all these variants.
>
> As a first step, convert the "last_level" boolean parameter to a flags
> parameter and create the first flag, TLBF_NOWALKCACHE. When present,
> walk cache entries are not evicted, which is the same as the old
> last_level=true.
>
> Reviewed-by: Linu Cherian <linu.cherian@xxxxxxx>
> Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>