Re: [PATCH v2 08/14] x86/fault: Skip erratum #93 workaround on new CPUs

From: Borislav Petkov
Date: Wed Feb 10 2021 - 08:30:22 EST


On Tue, Feb 09, 2021 at 10:06:02PM -0800, Andy Lutomirski wrote:
> On Tue, Feb 9, 2021 at 6:33 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> >
> > Erratum #93 applies to the first generation of AMD K8 CPUs. Skip the
> > workaround on newer CPUs.
>
> Whoops, this breaks the !CPU_SUP_AMD build. It needs a fixup like this:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/fault&id=06772a3b6918bf6d6d0778946149b7d56ae30d80
>
> Boris, do you want a v3?

Do we even want to apply patch 8 at all? This has always ran on K8 NPT
CPUs too and those are pretty much obsolete by now so I'm thinking,
leave sleeping dogs lie...?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette