aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2015-11-03 12:43:05 +0000
committerPaolo Bonzini <[email protected]>2015-11-04 15:24:38 +0000
commit89651a3decbe03754f304a0b248f27eeb9a37937 (patch)
tree9a97a14cb71b3695b8da048829bddfa3ad5d2dee /lib/mpi/mpicoder.c
parentKVM: VMX: fix SMEP and SMAP without EPT (diff)
downloadkernel-89651a3decbe03754f304a0b248f27eeb9a37937.tar.gz
kernel-89651a3decbe03754f304a0b248f27eeb9a37937.zip
KVM: x86: allow RSM from 64-bit mode
The SDM says that exiting system management mode from 64-bit mode is invalid, but that would be too good to be true. But actually, most of the code is already there to support exiting from compat mode (EFER.LME=1, EFER.LMA=0). Getting all the way from 64-bit mode to real mode only requires clearing CS.L and CR4.PCIDE. Cc: [email protected] Fixes: 660a5d517aaab9187f93854425c4c63f4a09195c Tested-by: Laszlo Ersek <[email protected]> Cc: Radim Krčmář <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions