[PATCH] arm64: ftrace: add missing BTIs

Mark Rutland mark.rutland at arm.com
Fri Dec 3 03:50:44 PST 2021


On Thu, Dec 02, 2021 at 12:34:05PM +0000, Mark Brown wrote:
> On Thu, Dec 02, 2021 at 10:43:39AM +0000, Mark Rutland wrote:
> > On Mon, Nov 29, 2021 at 05:48:46PM +0000, Mark Brown wrote:
> 
> > > The unconditional definition seems like it might be neater as a
> > > minimally intrusive thing for backporting, we can always refactor later.
> 
> > The problem with that is that for consistency we should remove the ifdeferry
> > from the kasan trampoline at the same time, which either means an unnecessary
> > dependency as above, or splitting this into three patches, one of which should
> > not be backported.
> 
> Or just two, this one and a cleanup.

Sure, a follow-up cleanup is fine, but critically the cleanup need not be
backported, which is why I said:

| I completely agree the ifdeferry is ugly, and I do intend to follow up on
| that regardless. If you feel strongly that we should get rid of that now, I
| can spin a v2 with a second patch to clean that up; otherwise I'll do that as
| part of a later series.  

Since Will has taken this patch as-is, and the fixes for v5.16-rc4 have already
been tagged, I'll follow up with cleanup once that's merged to avoid being
based on an ephemeral branch.

Thanks,
Mark.




More information about the linux-arm-kernel mailing list