[PATCH v2 06/13] arm64: mm: Re-implement the __flush_tlb_range_op macro in C
Jonathan Cameron
jonathan.cameron at huawei.com
Tue Jan 27 04:06:02 PST 2026
On Mon, 19 Jan 2026 17:21:53 +0000
Ryan Roberts <ryan.roberts at arm.com> wrote:
> The __flush_tlb_range_op() macro is horrible and has been a previous
> source of bugs thanks to multiple expansions of its arguments (see
> commit f7edb07ad7c6 ("Fix mmu notifiers for range-based invalidates")).
>
> Rewrite the thing in C.
>
> Suggested-by: Linus Torvalds <torvalds at linux-foundation.org>
> Co-developed-by: Will Deacon <will at kernel.org>
> Signed-off-by: Will Deacon <will at kernel.org>
> 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