Re: [PATCH 4.19 49/81] powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE

From: Greg Kroah-Hartman
Date: Wed May 27 2020 - 10:32:05 EST


On Wed, May 27, 2020 at 03:28:31PM +0200, Pavel Machek wrote:
> On Tue 2020-05-26 20:53:24, Greg Kroah-Hartman wrote:
> > From: Russell Currey <ruscur@xxxxxxxxxx>
> >
> > [ Upstream commit c55d7b5e64265fdca45c85b639013e770bde2d0e ]
> >
> > I have tested this with the Radix MMU and everything seems to work, and
> > the previous patch for Hash seems to fix everything too.
> > STRICT_KERNEL_RWX should still be disabled by default for now.
> >
> > Please test STRICT_KERNEL_RWX + RELOCATABLE!
>
> I don't believe this is suitable for -stable. Yes, it is needed for
> the next patch, but doing the merge is right solution this time.

Why? It's always best to keep things as they are in Linus's tree if at
all possible.

thanks,

greg k-h