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

Jonathan Cameron jonathan.cameron at huawei.com
Tue Jan 27 03:46:11 PST 2026


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

> From: Will Deacon <will at kernel.org>
> 
> 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 at kernel.org>
> Reviewed-by: Linu Cherian <linu.cherian at arm.com>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>

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 at huawei.com>




More information about the linux-arm-kernel mailing list