From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbdCAJvU (ORCPT ); Wed, 1 Mar 2017 04:51:20 -0500 Received: from terminus.zytor.com ([65.50.211.136]:46086 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751506AbdCAJrr (ORCPT ); Wed, 1 Mar 2017 04:47:47 -0500 Date: Wed, 1 Mar 2017 01:46:02 -0800 From: tip-bot for Jan Beulich Message-ID: Cc: dvlasenk@redhat.com, linux-kernel@vger.kernel.org, jbeulich@suse.com, peterz@infradead.org, brgerst@gmail.com, tglx@linutronix.de, JBeulich@suse.com, hpa@zytor.com, bp@alien8.de, jpoimboe@redhat.com, torvalds@linux-foundation.org, mingo@kernel.org, luto@kernel.org Reply-To: mingo@kernel.org, torvalds@linux-foundation.org, luto@kernel.org, hpa@zytor.com, jpoimboe@redhat.com, bp@alien8.de, tglx@linutronix.de, JBeulich@suse.com, brgerst@gmail.com, jbeulich@suse.com, peterz@infradead.org, linux-kernel@vger.kernel.org, dvlasenk@redhat.com In-Reply-To: <5894542B02000078001366C5@prv-mh.provo.novell.com> References: <5894542B02000078001366C5@prv-mh.provo.novell.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] x86/entry/32: Relax a pvops stub clobber specification Git-Commit-ID: fdbd518adfaf2c10903250dffe70c61ed90b7dd7 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: fdbd518adfaf2c10903250dffe70c61ed90b7dd7 Gitweb: http://git.kernel.org/tip/fdbd518adfaf2c10903250dffe70c61ed90b7dd7 Author: Jan Beulich AuthorDate: Fri, 3 Feb 2017 01:58:03 -0700 Committer: Ingo Molnar CommitDate: Wed, 1 Mar 2017 10:16:30 +0100 x86/entry/32: Relax a pvops stub clobber specification The code at .Lrestore_nocheck does not make any assumptions on register values, so all registers can be clobbered on code paths leading there. Signed-off-by: Jan Beulich Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/5894542B02000078001366C5@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar --- arch/x86/entry/entry_32.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S index 57f7ec3..5553475 100644 --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S @@ -585,7 +585,7 @@ ENTRY(iret_exc ) * will soon execute iret and the tracer was already set to * the irqstate after the IRET: */ - DISABLE_INTERRUPTS(CLBR_EAX) + DISABLE_INTERRUPTS(CLBR_ANY) lss (%esp), %esp /* switch to espfix segment */ jmp .Lrestore_nocheck #endif