From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932100AbdIGJtV (ORCPT ); Thu, 7 Sep 2017 05:49:21 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:34331 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754879AbdIGJtU (ORCPT ); Thu, 7 Sep 2017 05:49:20 -0400 X-Google-Smtp-Source: ADKCNb7UFBkKBrgPC/W2b/jFw7+8coLnu8fp1ttaVn2Ntacr4zRnoGDwbqn7bLfmRTogJ42cslg8vg== Date: Thu, 7 Sep 2017 11:49:16 +0200 From: Ingo Molnar To: Borislav Petkov Cc: Andy Lutomirski , x86@kernel.org, linux-kernel@vger.kernel.org, Brian Gerst , Andrew Cooper , Juergen Gross , Boris Ostrovsky , Kees Cook Subject: Re: [RFC 01/17] x86/asm/64: Remove the restore_c_regs_and_iret label Message-ID: <20170907094916.fpmfbtx2747vgp3i@gmail.com> References: <20170907094015.c3kcmt4xbzhp6r4c@pd.tnic> <20170907094640.cbyqem5zysuoyshw@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170907094640.cbyqem5zysuoyshw@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > > * Borislav Petkov wrote: > > > On Wed, Sep 06, 2017 at 02:36:46PM -0700, Andy Lutomirski wrote: > > > The only user was the 64-bit opportunistic SYSRET failure path, and > > > that path didn't really need it. This change makes the > > > opportunistic SYSRET code a bit more straightforward and gets rid of > > > the label. > > > > > > Signed-off-by: Andy Lutomirski > > > --- > > > arch/x86/entry/entry_64.S | 5 ++--- > > > 1 file changed, 2 insertions(+), 3 deletions(-) > > > > Btw, you need to refresh your stuff because of those UNWIND_HINT_EMPTY > > things. I get: > > > > checking file arch/x86/entry/entry_64.S > > Hunk #1 succeeded at 245 (offset 5 lines). > > Hunk #2 FAILED at 308. > > Hunk #3 succeeded at 637 (offset 88 lines). > > 1 out of 3 hunks FAILED > > > > Otherwise > > > > Reviewed-by: Borislav Petkov > > I'd suggest tip:master or upstream 24e700e291d5 as a post-merge-window base for > x86 bits. Actually, scratch that, 1c9fe4409ce3 is probably the best base, it includes the PCID fixes. Haven't had much time to test that base though. Thanks, Ingo