Re: [PATCH 46/52] arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17

From: Will Deacon
Date: Mon Feb 26 2018 - 05:45:10 EST


On Mon, Feb 26, 2018 at 06:40:42PM +0800, Alex Shi wrote:
>
>
> On 02/26/2018 06:05 PM, Greg KH wrote:
> > On Mon, Feb 26, 2018 at 04:20:20PM +0800, Alex Shi wrote:
> >> From: Marc Zyngier <marc.zyngier@xxxxxxx>
> >>
> >> ** Not yet queued for inclusion in mainline **
> >
> > As Marc said, this should have been a HUGE clue that we can't take this
> > patch. Please go re-read
> > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
> >
>
> Thanks for comments, Greg!
>
> I read the rules for several times, and thought it maybe a exception for
> this bug fix. But since MarcZ said so. We can wait. :)

The reason I added the disclaimer to the commit message was precisely to
avoid these things accidentally going into stable. If stable diverges
significantly from mainline, it's just going to make backports of other
patches more difficult. So no, we shouldn't be considering an exception
for this.

Will