Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754079AbeAJKEB (ORCPT + 1 other); Wed, 10 Jan 2018 05:04:01 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:48368 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753304AbeAJKD6 (ORCPT ); Wed, 10 Jan 2018 05:03:58 -0500 Date: Wed, 10 Jan 2018 11:03:44 +0100 From: Peter Zijlstra To: David Woodhouse Cc: Dave Hansen , Thomas Gleixner , LKML , Linus Torvalds , x86@kernel.org, Borislav Petkov , Tim Chen , Andrea Arcangeli , Andi Kleen , Greg KH , Andy Lutomirski , Arjan Van De Ven Subject: Re: [patch RFC 5/5] x86/speculation: Add basic speculation control code Message-ID: <20180110100344.GZ29822@worktop.programming.kicks-ass.net> References: <20180110010652.404145126@linutronix.de> <20180110011350.855878109@linutronix.de> <20180110092234.GY29822@worktop.programming.kicks-ass.net> <1515576479.22302.81.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515576479.22302.81.camel@infradead.org> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 09:27:59AM +0000, David Woodhouse wrote: > > The only question I have is if retpoline works at all on SKL (with ucode > > update); BDW needs the ucode update for retpoline to work because of the > > RSB fallback. > > As I understand it, Skylake is never getting the IBRS_ATT (all the > time) feature. That is for future CPUs only. Ah, so then I got confused by your earlier email. So retpoline will work on SKL, but it will, like BDW need the ucode update? > I don't know why you're calling that 'IBRS=2'; are you getting confused > by Andrea's distro horridness? Yes, continuation of the nomenclature of that earlier thread. Still, point remains, do we ever need that MSR fiddling dynamic IBRS stuff now that we have retpolines? I would prefer to not have it if there is no compelling reason for it.