Re: [PATCH v2 05/13] arm64: mm: Inline __TLBI_VADDR_RANGE() into __tlbi_range()

From: Jonathan Cameron

Date: Tue Jan 27 2026 - 06:49:40 EST


On Mon, 19 Jan 2026 17:21:52 +0000
Ryan Roberts <ryan.roberts@xxxxxxx> wrote:

> From: Will Deacon <will@xxxxxxxxxx>
>
> The __TLBI_VADDR_RANGE() macro is only used in one place and isn't
> something that's generally useful outside of the low-level range
> invalidation gubbins.
>
> Inline __TLBI_VADDR_RANGE() into the __tlbi_range() function so that the
> macro can be removed entirely.
>
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>
> Reviewed-by: Linu Cherian <linu.cherian@xxxxxxx>
> Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx>

There were some oddly complex constructs in the original macro like
the handling of ttl == 0, so good those got cleaned up in the passing.

Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>