Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbeAEPDn (ORCPT + 1 other); Fri, 5 Jan 2018 10:03:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46412 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbeAEPDm (ORCPT ); Fri, 5 Jan 2018 10:03:42 -0500 Date: Fri, 5 Jan 2018 16:03:40 +0100 From: Andrea Arcangeli To: "Van De Ven, Arjan" Cc: Linus Torvalds , David Woodhouse , Tim Chen , Thomas Gleixner , Andy Lutomirski , Greg KH , "Hansen, Dave" , Andi Kleen , Linux Kernel Mailing List Subject: Re: [PATCH 0/7] IBRS patch series Message-ID: <20180105150340.GJ26807@redhat.com> References: <1515093549.29312.11.camel@infradead.org> <0575AF4FD06DD142AD198903C74E1CC87A56A873@ORSMSX103.amr.corp.intel.com> <20180105144340.GF26807@redhat.com> <0575AF4FD06DD142AD198903C74E1CC87A56B34E@ORSMSX103.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0575AF4FD06DD142AD198903C74E1CC87A56B34E@ORSMSX103.amr.corp.intel.com> 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.30]); Fri, 05 Jan 2018 15:03:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 05, 2018 at 02:52:33PM +0000, Van De Ven, Arjan wrote: > I'm sorry but your whole statement reeks a little bit of "perfect is the enemy of good" My point is exactly that this sentences could apply to spectre variant#2 in the first place.. If we start moving in any direction, either we reach "perfection" or moving towards perfection and still being in "perfect is the enemy of good" territory doesn't sound great to me. The reptoline status with 3 way " IBRS skylake mode" or " 2way reptoline code emission from gcc for older CPUs or CPUs without SPEC_CTRL" plus IBRS forced still to be used around all firmware/bios/SMM (how do you do IBRS on those CPUS without IBRS, that requires yet another IBPB alternative combined with AMD reptoline case) is far from a "less is more" or KISS. This whole reptoline work is total waste for future silicon so I like to keep it simple and obviously mathematically safe at the same time... and also easy to activate for full math safe qemu ibrs 2 mode without having to do a 2-way reptoline gcc code emission and dynamic patching on qemu startup.