]> Git Repo - linux.git/commit
x86/asm/entry/64: Always set up SYSENTER MSRs
authorIngo Molnar <[email protected]>
Tue, 24 Mar 2015 13:41:37 +0000 (14:41 +0100)
committerIngo Molnar <[email protected]>
Tue, 24 Mar 2015 19:57:25 +0000 (20:57 +0100)
commitd56fe4bf5f3cc30d455c80520f7b71da36ae00e6
tree387fd11f1700ccdabc517ec0a6d75d4d64fb30fc
parent84f53788458c95309b88948b69ff95921e9c74a8
x86/asm/entry/64: Always set up SYSENTER MSRs

On CONFIG_IA32_EMULATION=y kernels we set up
MSR_IA32_SYSENTER_CS/ESP/EIP, but on !CONFIG_IA32_EMULATION
kernels we leave them unchanged.

Clear them to make sure the instruction is disabled properly.

SYSCALL is set up properly in both cases.

Acked-by: Denys Vlasenko <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Will Drewry <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/common.c
This page took 0.056172 seconds and 4 git commands to generate.