Re: [Xen-devel] [PATCH 1/4] x86/xstate: fix xcomp_bv initialization

2016-01-29 Thread Andrew Cooper
On 29/01/16 10:26, Jan Beulich wrote: > We must not clear the compaction bit when using XSAVES/XRSTORS. And > we need to guarantee that xcomp_bv never has any bits clear which > are set in xstate_bv (which requires partly undoing commit 83ae0bb226 > ["x86/xsave: simplify xcomp_bv initialization"]).

[Xen-devel] [PATCH 1/4] x86/xstate: fix xcomp_bv initialization

2016-01-29 Thread Jan Beulich
We must not clear the compaction bit when using XSAVES/XRSTORS. And we need to guarantee that xcomp_bv never has any bits clear which are set in xstate_bv (which requires partly undoing commit 83ae0bb226 ["x86/xsave: simplify xcomp_bv initialization"]). Split initialization of xcomp_bv from the oth