Received: by 10.192.165.148 with SMTP id m20csp4903270imm; Tue, 1 May 2018 06:01:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrFW2APCttLbpzFXc7fgdlELIQnhhv8VY2rpBl1Fog1AKI9p56BQGHafWNDbzuqyV8TDCbC X-Received: by 10.98.103.86 with SMTP id b83mr15617090pfc.76.1525179713781; Tue, 01 May 2018 06:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525179713; cv=none; d=google.com; s=arc-20160816; b=njh6Z8E0SZGPfmXl4B6uaAhTQzEqDHlnXjlVCuWN+NO7AzIU5ylw799Dl2uFlxKKgi 8mv6UnuCTuFHWDymRAkvzfCyprK9i4p4Kxczxk/YDtWhuaf4e9jQXZkxL9+9yL21/eqW cX9kEoGZzbq88Puu8T/zf3ukXK0fje78Bps1ypz+KFOKvF0LtjW5jncGWe2E6jhbLyR1 NyCCCZUAmdWxh8pPbOAlKV9YjmcbDIhq5FljpyOxYXNKlJipgtIUB3fel7ZfsiUNp1wQ psN+jnu4CD/+XvVAWcoDvzBhw1VKk5FizifkwBgaHyLkMbL4tWz81ogdZ8q0zo+IkFZ3 A2ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=eVxS266dtikm9eiQS3BwdvYJbyj1+fhQpTZ4TYBrmmM=; b=zqc7uc3HWsGsxzuLRooPHAbfJh32c9Tc6DcnMIn19IPCJQtpyoMLzFA5wlsnG4TK0v Wek46Q33lgvpEhMKKBMttSGV0nDs2HdNhDNIvOzapGYgXPLz9vTdU+1polTfCDfqz/dy /WCawLDPb3KMJ3fVmnBmuw1ovLyf3NbBpE5WTPWpiQDrKGOBy0xjaf0D6AxbgxnT2UWm sGDxxVAkftgAY+GtZLYuvOBI1lMNe/O4u2yEyq4+qqRs/AntjkxMPIPHtdbCjMLZzopG KvrZZwZuzQoRrk2RuoAMVZMlXS6bFUnB3WW+62+C+blTRgOWN32/XVBjmu4nTHrWmLVZ ct9g== 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 p68-v6si7841168pga.141.2018.05.01.06.01.39; Tue, 01 May 2018 06:01:53 -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 S1755601AbeEAM7n (ORCPT + 99 others); Tue, 1 May 2018 08:59:43 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:45395 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755015AbeEAM7m (ORCPT ); Tue, 1 May 2018 08:59:42 -0400 Received: from p5492e61e.dip0.t-ipconnect.de ([84.146.230.30] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fDUsd-0005GW-Sh; Tue, 01 May 2018 14:59:40 +0200 Date: Tue, 1 May 2018 14:59:39 +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-285914814-1525179579=:1596" 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-285914814-1525179579=:1596 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT 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. Thanks, tglx --8323329-285914814-1525179579=:1596--