[PATCH v2 10/13] arm64: mm: Refactor __flush_tlb_range() to take flags

Jonathan Cameron jonathan.cameron at huawei.com
Tue Jan 27 04:28:22 PST 2026


On Mon, 19 Jan 2026 17:21:57 +0000
Ryan Roberts <ryan.roberts at arm.com> 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 at arm.com>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>



More information about the linux-arm-kernel mailing list