]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/entry/64: Relax pvops stub clobber specifications
authorJan Beulich <JBeulich@suse.com>
Fri, 3 Feb 2017 09:03:25 +0000 (02:03 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 1 Mar 2017 09:16:35 +0000 (10:16 +0100)
commit2140a9942b84dd4bf559dd1215b8f43c36ece5b5
treebcb70908e5e9a332da019ff33ce2e1aec21f1533
parentfdbd518adfaf2c10903250dffe70c61ed90b7dd7
x86/entry/64: Relax pvops stub clobber specifications

Except for the error_exit case, none of the code paths following the
{DIS,EN}ABLE_INTERRUPTS() invocations being modified here make any
assumptions on register values, so all registers can be clobbered
there. In the error_exit case a minor adjustment to register usage
(at once eliminating an instruction) also allows for this to be true.

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/5894556D02000078001366D3@prv-mh.provo.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S