Re: [Xen-devel] [PATCH] x86emul: tighten CLFLUSH emulation

2015-01-12 Thread Andrew Cooper
On 12/01/15 08:23, Jan Beulich wrote: > While for us it's not as bad as it was for Linux, their commit > 13e457e0ee ("KVM: x86: Emulator does not decode clflush well", by > Nadav Amit ) nevertheless points out two > shortcomings in our code: opcode 0F AE /7 is clflush only when it uses > a memory m

[Xen-devel] [PATCH] x86emul: tighten CLFLUSH emulation

2015-01-12 Thread Jan Beulich
While for us it's not as bad as it was for Linux, their commit 13e457e0ee ("KVM: x86: Emulator does not decode clflush well", by Nadav Amit ) nevertheless points out two shortcomings in our code: opcode 0F AE /7 is clflush only when it uses a memory mode (otherwise it's SFENCE) and when there's no