aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2017-02-03 03:58:03 -0500
committerIngo Molnar <mingo@kernel.org>2017-03-01 04:16:30 -0500
commitfdbd518adfaf2c10903250dffe70c61ed90b7dd7 (patch)
treefc0431d79f205d3b720eb477319eedd91958f52b
parent2d6be4abf514fc26c83d239c7f31da1f95e4a31d (diff)
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@suse.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/5894542B02000078001366C5@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--arch/x86/entry/entry_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S
index 57f7ec35216e..5553475f6008 100644
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
@@ -585,7 +585,7 @@ ENTRY(iret_exc )
585 * will soon execute iret and the tracer was already set to 585 * will soon execute iret and the tracer was already set to
586 * the irqstate after the IRET: 586 * the irqstate after the IRET:
587 */ 587 */
588 DISABLE_INTERRUPTS(CLBR_EAX) 588 DISABLE_INTERRUPTS(CLBR_ANY)
589 lss (%esp), %esp /* switch to espfix segment */ 589 lss (%esp), %esp /* switch to espfix segment */
590 jmp .Lrestore_nocheck 590 jmp .Lrestore_nocheck
591#endif 591#endif