From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756571AbeEAS13 (ORCPT ); Tue, 1 May 2018 14:27:29 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:47976 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756387AbeEAS12 (ORCPT ); Tue, 1 May 2018 14:27:28 -0400 Date: Tue, 1 May 2018 20:27:24 +0200 (CEST) From: Thomas Gleixner To: =?ISO-8859-15?Q?J=F6rg_Otte?= cc: kirill.shutemov@linux.intel.com, Linux Kernel Mailing List , Linus Torvalds , Borislav Petkov Subject: Re: [v4.17-rcx] Lost IBPB, IBRS_FW support for spectre_v2 mitigation. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-1592607345-1525199173=:1596" Content-ID: X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1592607345-1525199173=:1596 Content-Type: text/plain; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: On Tue, 1 May 2018, Thomas Gleixner wrote: > On Tue, 1 May 2018, Jörg Otte wrote: > > 2018-04-30 21:53 GMT+02:00 Thomas Gleixner : > > > --- a/arch/x86/kernel/cpu/common.c > > > +++ b/arch/x86/kernel/cpu/common.c > > > @@ -848,6 +848,11 @@ void get_cpu_cap(struct cpuinfo_x86 *c) > > > c->x86_power = edx; > > > } > > > > > > + if (c->extended_cpuid_level >= 0x80000008) { > > > + cpuid(0x80000008, &eax, &ebx, &ecx, &edx); > > > + c->x86_capability[CPUID_8000_0008_EBX] = ebx; > > > + } > > > + > > > if (c->extended_cpuid_level >= 0x8000000a) > > > c->x86_capability[CPUID_8000_000A_EDX] = cpuid_edx(0x8000000a); > > > > > > > No, does not fix it. > > Then I really have no idea how reverting the patch you pointed out would > fix it. Can you please carefully recheck: 1) rc3 with d94a155c59c9 reverted. 2) rc3 with the above patch applied. If #1 works then #2 must work as well. Thanks, tglx --8323329-1592607345-1525199173=:1596--