Re: regression in 6.6.46; arch/x86/mm/pti.c

From: Greg Kroah-Hartman
Date: Tue Sep 10 2024 - 03:35:32 EST


On Mon, Sep 09, 2024 at 08:30:34AM +0200, Thomas Gleixner wrote:
> On Mon, Sep 09 2024 at 05:03, Jamie Heilman wrote:
> > 3db03fb4995e ("x86/mm: Fix pti_clone_entry_text() for i386") which got
> > landed in 6.6.46, has introduced two back to back warnings on boot on
> > my 32bit system (found on 6.6.50):
>
> Right.
>
> > Reverting that commit removes the warnings (tested against 6.6.50).
> > The follow-on commit of c48b5a4cf312 ("x86/mm: Fix PTI for i386 some
> > more") doesn't apply cleanly to 6.6.50, but I did try out a build of
> > 6.11-rc7 and that works fine too with no warnings on boot.
>
> See backport below.
>
> Thanks,

Now queued up, thanks!

greg k-h