[PATCH v2 09/13] arm64: mm: Refactor flush_tlb_page() to use __tlbi_level_asid()

Jonathan Cameron jonathan.cameron at huawei.com
Tue Jan 27 04:25:21 PST 2026


On Mon, 19 Jan 2026 17:21:56 +0000
Ryan Roberts <ryan.roberts at arm.com> wrote:

> Now that we have __tlbi_level_asid(), let's refactor the
> *flush_tlb_page*() variants to use it rather than open coding.
> 
> The emitted tlbi(s) is/are intended to be exactly the same as before; no
> TTL hint is provided. Although the spec for flush_tlb_page() allows for
> setting the TTL hint to 3, it turns out that
> flush_tlb_fix_spurious_fault_pmd() depends on
> local_flush_tlb_page_nonotify() to invalidate the level 2 entry. This
> will be fixed separately.
> 
> 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