Received: by 10.192.165.148 with SMTP id m20csp5243097imm; Tue, 1 May 2018 11:28:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqg8QchYF5CtNttbnLpjpH8OSjML4z2WFy/JBo4rKphsw4mMxGlQQnEX+w9ZUTEZLUl1eAq X-Received: by 10.98.194.5 with SMTP id l5mr16565747pfg.6.1525199317009; Tue, 01 May 2018 11:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525199316; cv=none; d=google.com; s=arc-20160816; b=UX8UUteZ7x1zAy7QTMLA69VFr8bCEK0SL6U4MBxv4hHh4IxK2olzuJXUjSXQ3iMwCN iaxGziMYpbb0OWD2wiCebNNyHC0Aq6kohtfGWYWpfDpMaw92qmtOfAyL6Awv4UbfAv7J ySLdLKpDIPKjM+Fq0jZ9y/VV7KYbgkFN7O+leR7gwJqrSZYOIm+21iFs2TfHjE5xGADr zZeI38Umnt2Qd7Y2W+jZsTqtLs3nbHARquGVyG/6t6JBuxSh2MzE5KLgju6PbpppD192 BTJg+bxSLZcBa1Ajx0DCc7rQx2jgNBqrH7T08YGOgLcQZvZSAABG8sMVnJJ1GMBEZ3eA B5ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=apuxQBMtGgbltWEMqrjv2DKn+Djbm0L0vTPku5IAkqs=; b=TysTqSa0lNc11otYH4oZynx3nsfPoKYn56kt3kz18RMXgo8fNtlCp0DWwgOkCWocNr U96cztn1C7BVo9vrTfH+qy5mi9jCVG7+wXCA3onnbzmJxq8FJ2gUBM5j6IXrNHwya8/g TFs0waSgWvpN90wmaEleu3JzrwaQQK4M5hRU994fpl3RYEUKKipfLPKD78DxRMrHkszy IgBwRrw3Dyg/fYXrVjfbjRd8TbEtUbDepu1RjP6dzzGABzN7V3fRi5v2XuRPWIq5mgjg /H9xECPHlSiw3XcpmLO5TxeZje1PKdbGoQGZMyHYH5u2UkBMmwGXuql4Bxsm/9wgNway bk7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22-v6si10208621pll.40.2018.05.01.11.28.23; Tue, 01 May 2018 11:28:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756567AbeEAS13 (ORCPT + 99 others); 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 Received: from p5492e61e.dip0.t-ipconnect.de ([84.146.230.30] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fDZzp-00040I-AW; Tue, 01 May 2018 20:27:25 +0200 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 Precedence: bulk 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--