Re: [PATCH] x86: Disable CET instrumentation in the kernel

From: Josh Poimboeuf
Date: Fri Jan 29 2021 - 11:52:46 EST


On Fri, Jan 29, 2021 at 05:30:48PM +0100, Borislav Petkov wrote:
> On Fri, Jan 29, 2021 at 09:10:34AM -0600, Josh Poimboeuf wrote:
> > Maybe eventually. But the enablement (actually enabling CET/CFI/etc)
> > happens in the arch code anyway, right? So it could be a per-arch
> > decision.
>
> Right.
>
> Ok, for this one, what about
>
> Cc: <stable@xxxxxxxxxxxxxxx>
>
> ?
>
> What are "some configurations of GCC"? If it can be reproduced with
> what's released out there, maybe that should go in now, even for 5.11?
>
> Hmm?

Agreed, stable is a good idea. I think Nikolay saw it with GCC 9.

--
Josh