Received: by 10.223.185.116 with SMTP id b49csp3567085wrg; Mon, 19 Feb 2018 02:09:42 -0800 (PST) X-Google-Smtp-Source: AH8x2240fxyUO4bNyZzSPHN1DhG+eFfodzzkfhGZt0Lz8QfItEGr9Pm/3kp2fwN8lepLswkShQCe X-Received: by 10.99.113.9 with SMTP id m9mr4178073pgc.164.1519034982154; Mon, 19 Feb 2018 02:09:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519034982; cv=none; d=google.com; s=arc-20160816; b=LsjTi/yHrbg6IXNY4FOQJWoF6s1FktO4lAtwkpZWyMh6xpkgqmBAYzhg8SaO8sdJLu 39m1NAqSsIAL9znlxYmwTJywLMznAIamOp0pBagsa44m3WEhB4+U6yW+k77E88VQEx1g yBarrFaVbfj1cyShCezzSevB4t9gXDVUY3/b9/J92Hy1lHVEFcgH7hNVIuw8JYjZ7z8n 5gctm7Tp8tCGM66pn4PqpvtZzJX54uilmiS49Z3YCZEd2OH1OfkVBZaNAvxtquLNSRE3 pyHZ2G9gmoelWGjsa3Mq4HJ7agnTgYeJiN4qbmcq/pGiDfloT7RQ5SVYB3erxM5f5qK9 gPig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=rrNQkLIiaFEN35oyUj6+hs06cq1uPzoLqGdwyVKvmr8=; b=V7lBfTe/DhW9MeCqrSDTFTe1gW6xGi/J7ogv9j0YF6U5x2C9cUcuFWm4Aka/386XHb 2tifbGizmRsxGQhYHsmwQO/q4IitWbMZ+igkkrnAeZPAnoMHAdNLVxtdpIb155cFoNQB sg/9Nz6VEdM3TcKrbM4aycCRdXbhDYHcn9QfXUMWaY+2BbthOIz8l/GB6ql5iu4PQ6xE JllbHNJivkPHu2YVnrttCVHyRxlbNmhxaYn380ASZPUl8TauS50VAu/HLKwPoCTwGJmY 19USY/UJGxzZRoUhI7zXiO9atZoMVEpruKYHw6CxuryZyUCoA3vyYkhmBkl5F7lsdCoX xYIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=x8NBFaEL; 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 a3si3998264pfh.413.2018.02.19.02.09.27; Mon, 19 Feb 2018 02:09:42 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=x8NBFaEL; 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 S1752516AbeBSKIc (ORCPT + 99 others); Mon, 19 Feb 2018 05:08:32 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43452 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbeBSKIb (ORCPT ); Mon, 19 Feb 2018 05:08:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rrNQkLIiaFEN35oyUj6+hs06cq1uPzoLqGdwyVKvmr8=; b=x8NBFaELwjsOGnQKWWLAA65BF6 Vpeccwcoz6sMCtXwL/U/LbPdFErs3+4nk2wO8Ccjbkvu8PFFIoI0C99v3h6aHXNT1ZlhnqiXMQnYb oYZQUSjGuTVdDyBGZL+PoWxRMj2a3OlOqGj78PXsW1YC2nsydGeQsqoQLKLuxK/vyDZ9FzAs9KNV0 jT/AfpL22eIQmhnNnDJ60y9OR9izsaHK9xKY0cK50TssbgU/knBakEbHga24sACwwsCZPt2sb8s/f n7Eu5X+dDAjSuFlO8HzgwR1DkMBx834EPy20o9i1csbj5dZ/UUO9cS98jtD2z1YbkOF4MawegWbhW jC6FQoXQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eniMt-0008AE-HG; Mon, 19 Feb 2018 10:08:19 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DB3D7201FB4EF; Mon, 19 Feb 2018 11:08:17 +0100 (CET) Date: Mon, 19 Feb 2018 11:08:17 +0100 From: Peter Zijlstra To: David Woodhouse Cc: Ingo Molnar , Tim Chen , hpa@zytor.com, tglx@linutronix.de, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Borislav Petkov Subject: Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware Message-ID: <20180219100817.GO25201@hirez.programming.kicks-ass.net> References: <1518362359-1005-1-git-send-email-dwmw@amazon.co.uk> <1518808600.7876.49.camel@infradead.org> <66f94cb1-8160-56e0-680c-2e847ae05893@linux.intel.com> <20180217102616.vcwatxsgj2vunlew@gmail.com> <20180219092017.GN25201@hirez.programming.kicks-ass.net> <1519032552.7876.55.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1519032552.7876.55.camel@infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 19, 2018 at 09:29:12AM +0000, David Woodhouse wrote: > On Mon, 2018-02-19 at 10:20 +0100, Peter Zijlstra wrote: > > > > I did not update or otherwise change packages while I was bisecting; the > > machine is: > > > > vendor_id?????? : GenuineIntel > > cpu family????? : 6 > > model?????????? : 62 > > model name????? : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz > > stepping??????? : 4 > > microcode?????? : 0x428 > > That's IVX with a microcode that doesn't *have* IBRS/IBPB. I don't > think there's a publicly available microcode that does; I assume you > didn't have one and build it into your kernel for early loading, and > thus you really weren't even using IBRS here? The code never even gets > patched in? I wasn't using IRBS afaik. I was bisceting tip/master before the IBRS/firmware patches (not sure they're in now or not). No fancy ucode setup, I think I have ucode image in the initrd, but that would be same for all kernels.