[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-fdbd518adfaf2c10903250dffe70c61ed90b7dd7@git.kernel.org>
Date: Wed, 1 Mar 2017 01:46:02 -0800
From: tip-bot for Jan Beulich <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: dvlasenk@...hat.com, linux-kernel@...r.kernel.org,
jbeulich@...e.com, peterz@...radead.org, brgerst@...il.com,
tglx@...utronix.de, JBeulich@...e.com, hpa@...or.com, bp@...en8.de,
jpoimboe@...hat.com, torvalds@...ux-foundation.org,
mingo@...nel.org, luto@...nel.org
Subject: [tip:x86/asm] x86/entry/32: Relax a pvops stub clobber
specification
Commit-ID: fdbd518adfaf2c10903250dffe70c61ed90b7dd7
Gitweb: http://git.kernel.org/tip/fdbd518adfaf2c10903250dffe70c61ed90b7dd7
Author: Jan Beulich <JBeulich@...e.com>
AuthorDate: Fri, 3 Feb 2017 01:58:03 -0700
Committer: Ingo Molnar <mingo@...nel.org>
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 <jbeulich@...e.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Brian Gerst <brgerst@...il.com>
Cc: Denys Vlasenko <dvlasenk@...hat.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/5894542B02000078001366C5@prv-mh.provo.novell.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
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
Powered by blists - more mailing lists