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

2021-02-10 Thread Andy Lutomirski
On Wed, Feb 10, 2021 at 5:29 AM Borislav Petkov wrote: > > On Tue, Feb 09, 2021 at 10:06:02PM -0800, Andy Lutomirski wrote: > > On Tue, Feb 9, 2021 at 6:33 PM Andy Lutomirski wrote: > > > > > > Erratum #93 applies to the first generation of AMD K8 CPUs. Skip the > > > workaround on newer CPUs.

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

2021-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2021 at 10:06:02PM -0800, Andy Lutomirski wrote: > On Tue, Feb 9, 2021 at 6:33 PM Andy Lutomirski 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

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

2021-02-09 Thread Andy Lutomirski
On Tue, Feb 9, 2021 at 6:33 PM Andy Lutomirski 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:

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

2021-02-09 Thread Andy Lutomirski
Erratum #93 applies to the first generation of AMD K8 CPUs. Skip the workaround on newer CPUs. Signed-off-by: Andy Lutomirski --- arch/x86/mm/fault.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index