Re: [PATCH v3 6/7] x86/cpu: Add Erratum 88 detection on AMD

2016-04-08 Thread Borislav Petkov
On Thu, Apr 07, 2016 at 06:40:13PM -0700, Andy Lutomirski wrote: > Ingo, etc: we should probably apply one of those patches with a > -stable tag (to mitigate the otherwise potentially unpleasant > performance regression in here), but I don't really care which one. > Andi's has a name for the bug th

Re: [PATCH v3 6/7] x86/cpu: Add Erratum 88 detection on AMD

2016-04-07 Thread Andy Lutomirski
On Thu, Apr 7, 2016 at 5:31 PM, Andy Lutomirski wrote: > From: Borislav Petkov > > Erratum 88 affects old AMD K8s, where a SWAPGS fails to cause an input > dependency on GS. Therefore, we need to MFENCE before it. > > But that MFENCE is expensive and unnecessary on the remaining x86 CPUs > out th