Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752296AbeAJWNq (ORCPT + 1 other); Wed, 10 Jan 2018 17:13:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751062AbeAJWNp (ORCPT ); Wed, 10 Jan 2018 17:13:45 -0500 Date: Wed, 10 Jan 2018 23:13:41 +0100 From: Andrea Arcangeli To: Tim Chen Cc: "Van De Ven, Arjan" , David Woodhouse , Jiri Kosina , "Mallick, Asit K" , Peter Zijlstra , "Hansen, Dave" , Thomas Gleixner , LKML , Linus Torvalds , "x86@kernel.org" , Borislav Petkov , Andi Kleen , Greg KH , Andy Lutomirski Subject: Re: [patch RFC 5/5] x86/speculation: Add basic speculation control code Message-ID: <20180110221341.GC15853@redhat.com> References: <20180110121755.GD9706@redhat.com> <1515587384.22302.132.camel@infradead.org> <20180110124119.GG9706@redhat.com> <20180110125710.GH9706@redhat.com> <1515589641.22302.145.camel@infradead.org> <0575AF4FD06DD142AD198903C74E1CC87A572336@ORSMSX103.amr.corp.intel.com> <20180110135219.GC9417@redhat.com> <0575AF4FD06DD142AD198903C74E1CC87A572373@ORSMSX103.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 10 Jan 2018 22:13:45 +0000 (UTC) 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 01:35:45PM -0800, Tim Chen wrote: > time may not provide full protection on all cpu models. All right no problem at all, it's fixed up. Until very recently the majority of microcodes wasn't available in the first place so I guess it's no big issue if in a subset of those the IBRS barrier-like behavior wasn't immediately fully leveraged in all cases. I'm just glad this detail was clarified sooner than later. The IBRS barrier-like behavior and need to be set even when it's already set, when changing mode to an higher privilege, is crystal clear now. Thanks, Andrea