x86/entry: Clarify the RF saving/restoring situation with SYSCALL/SYSRET
authorBorislav Petkov <bp@alien8.de>
Wed, 3 Aug 2016 17:14:29 +0000 (19:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Aug 2016 13:53:43 +0000 (15:53 +0200)
commit3e035305875cfa8a58c1ca573d0cfa6a7f201f27
tree36abe0cf08dfd0b70504ce5c23c167e767a6dd83
parent5cf0791da5c162ebc14b01eb01631cfa7ed4fa6e
x86/entry: Clarify the RF saving/restoring situation with SYSCALL/SYSRET

Clarify why exactly RF cannot be restored properly by SYSRET to avoid
confusion.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Andy Lutomirski <luto@amacapital.net>
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/20160803171429.GA2590@nazgul.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S