Re: [PATCH 1/2] x86: Remove dynamic NOP selection

From: H. Peter Anvin
Date: Sun Jan 21 2024 - 21:05:14 EST


On January 21, 2024 5:17:36 PM PST, Thorsten Glaser <tg@xxxxxxxxxx> wrote:
>Steven Rostedt dixit:
>
>>> >This was, incidentally, triggered by looking into a problem report that
>>> >something did *not* work on a Geode LX system.
>>
>>What problem happened?
>
>It turned out to be a compiler issue (GCC thinks i686 means PPro,
>not 686-class CPUs, and -fcf-protection causes long NOPs, which
>not all 686-class CPUs support, to be inserted). This turned out
>to break a large part of Debian stable on OLPCs and other systems,
>and the kernel’s changes in nopl handling were tabled as arguments.
>
>https://www.jookia.org/wiki/Nopl has a longer writeup on the nopl
>history.
>
>bye,
>//mirabilos

i686 *is* Pentium Pro...