[PATCH 00/10] arm64: Replace TLB invalidation preprocessor macros with C functions
Will Deacon
will at kernel.org
Fri Dec 12 12:13:40 PST 2025
On Fri, Dec 12, 2025 at 12:12:05PM +0000, Ryan Roberts wrote:
> On 10/12/2025 12:29, Ryan Roberts wrote:
> > On 11/07/2025 17:17, Will Deacon wrote:
> >> I cooked this series following a complaint from Linus back in March
> >> about our range-based TLB invalidation macro after we fixed an
> >> over-invalidation bug thanks to incorrect handling of its arguments:
> >>
> >> https://lore.kernel.org/all/CAHk-=wgiX0q0WCL+SFwVCYtG7JR3=2Rshse-5J3AO2Y4AgT7Jw@mail.gmail.com/
> >>
> >> Once I started trying to rework the range macro into a C function, I
> >> spotted a few other opportunities for cleanup and so I've ended up with
> >> this series.
> >>
> >> Testing and feedback welcome.
> >
> > Hi Will,
> >
> > Did this go anywhere/are you planning to post a new version? There are a couple
> > of other cleanups I'd like to do in this area, and also I'd like to add tlbip
> > support. But I don't want to spend time on it if the baseline is going to
> > drastically change.
> >
> > If you're not planning a v2, perhaps I could have a go then extend for the
> > extras I want to do?
>
> Since I didn't hear back, I've reworked the series to include Linus's suggestion
> and am currently testing. Plan to post against -rc1.
Sorry, at LPC atm and have fallen behind. I was still planning to rework
this but I'm aware of other folks at Arm making changes here as well so
you should be wary of that too.
Regardless of macros or indirect branches, I was relatively happy with
some of the cleanup that fell out of this series so I'd be keen to land
it either way.
Will
More information about the linux-arm-kernel
mailing list