Re: [Xen-devel] [PATCH] x86emul: LOCK check adjustments

2017-01-20 Thread Andrew Cooper
On 20/01/17 10:10, Jan Beulich wrote: > BT, being encoded as DstBitBase just like BT{C,R,S}, nevertheless does > not write its (register or memory) operand and hence also doesn't allow > a LOCK prefix to be used. > > At the same time CLAC/STAC have no need to explicitly check lock_prefix > - this i

[Xen-devel] [PATCH] x86emul: LOCK check adjustments

2017-01-20 Thread Jan Beulich
BT, being encoded as DstBitBase just like BT{C,R,S}, nevertheless does not write its (register or memory) operand and hence also doesn't allow a LOCK prefix to be used. At the same time CLAC/STAC have no need to explicitly check lock_prefix - this is being taken care of by generic code. Signed-of