Re: [Xen-devel] [PATCH 1/2] x86/hvm: Correct the position of the %cs L/D checks

2016-10-14 Thread Konrad Rzeszutek Wilk
On Fri, Oct 14, 2016 at 11:06:55AM +0100, Andrew Cooper wrote: > Contrary to the description in the software manuals, in Long Mode, attempts to > load %cs check that D is not set in combination with L before the present flag > is checked. > > This can be observed because the L/D check fails with

Re: [Xen-devel] [PATCH 1/2] x86/hvm: Correct the position of the %cs L/D checks

2016-10-14 Thread Andrew Cooper
On 14/10/16 11:28, Jan Beulich wrote: On 14.10.16 at 12:06, wrote: >> Contrary to the description in the software manuals, in Long Mode, attempts >> to >> load %cs check that D is not set in combination with L before the present >> flag >> is checked. >> >> This

Re: [Xen-devel] [PATCH 1/2] x86/hvm: Correct the position of the %cs L/D checks

2016-10-14 Thread Jan Beulich
>>> On 14.10.16 at 12:06, wrote: > Contrary to the description in the software manuals, in Long Mode, attempts to > load %cs check that D is not set in combination with L before the present flag > is checked. > > This can be observed because the L/D check fails with

[Xen-devel] [PATCH 1/2] x86/hvm: Correct the position of the %cs L/D checks

2016-10-14 Thread Andrew Cooper
Contrary to the description in the software manuals, in Long Mode, attempts to load %cs check that D is not set in combination with L before the present flag is checked. This can be observed because the L/D check fails with #GP before the presence check failes with #NP Signed-off-by: Andrew