summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/hw_breakpoint.h
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-06-15 16:13:00 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-19 12:52:10 +0200
commit140bad89fd25db1aab60f80ed7874e9a9bdbae3b (patch)
tree804730300e75d1574caacd63a89fee2c0896894e /arch/x86/include/asm/hw_breakpoint.h
parent9e8919ae793f4edfaa29694a70f71a515ae9942a (diff)
downloadblackbird-op-linux-140bad89fd25db1aab60f80ed7874e9a9bdbae3b.tar.gz
blackbird-op-linux-140bad89fd25db1aab60f80ed7874e9a9bdbae3b.zip
KVM: x86: emulation of dword cmov on long-mode should clear [63:32]
Even if the condition of cmov is not satisfied, bits[63:32] should be cleared. This is clearly stated in Intel's CMOVcc documentation. The solution is to reassign the destination onto itself if the condition is unsatisfied. For that matter the original destination value needs to be read. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/hw_breakpoint.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud