On 2/25/2021 4:40 AM, Sean Christopherson wrote:
On Tue, Feb 23, 2021, Liu, Jing2 wrote:
XCOMP_BV[63] field indicates that the save area is in the
compacted format and XCOMP_BV[62:0] indicates the states that
have space allocated in the save area, including both XCR0
and XSS bits enable by
On Tue, Feb 23, 2021, Liu, Jing2 wrote:
> XCOMP_BV[63] field indicates that the save area is in the
> compacted format and XCOMP_BV[62:0] indicates the states that
> have space allocated in the save area, including both XCR0
> and XSS bits enable by the host kernel. Use xfeatures_mask_all
> for
On 2/23/2021 12:06 AM, Sean Christopherson wrote:
On Mon, Feb 22, 2021, Liu, Jing2 wrote:
On 2/9/2021 1:24 AM, Sean Christopherson wrote:
On Mon, Feb 08, 2021, Dave Hansen wrote:
On 2/8/21 8:16 AM, Jing Liu wrote:
-#define XSTATE_COMPACTION_ENABLED (1ULL << 63)
-
static void
On Mon, Feb 22, 2021, Liu, Jing2 wrote:
>
> On 2/9/2021 1:24 AM, Sean Christopherson wrote:
> > On Mon, Feb 08, 2021, Dave Hansen wrote:
> > > On 2/8/21 8:16 AM, Jing Liu wrote:
> > > > -#define XSTATE_COMPACTION_ENABLED (1ULL << 63)
> > > > -
> > > > static void fill_xsave(u8 *dest, struct
On 2/9/2021 1:24 AM, Sean Christopherson wrote:
On Mon, Feb 08, 2021, Dave Hansen wrote:
On 2/8/21 8:16 AM, Jing Liu wrote:
-#define XSTATE_COMPACTION_ENABLED (1ULL << 63)
-
static void fill_xsave(u8 *dest, struct kvm_vcpu *vcpu)
{
struct xregs_state *xsave =
On Mon, Feb 08, 2021, Dave Hansen wrote:
> On 2/8/21 8:16 AM, Jing Liu wrote:
> > -#define XSTATE_COMPACTION_ENABLED (1ULL << 63)
> > -
> > static void fill_xsave(u8 *dest, struct kvm_vcpu *vcpu)
> > {
> > struct xregs_state *xsave = >arch.guest_fpu->state.xsave;
> > @@ -4494,7 +4492,8 @@
On 2/8/21 8:16 AM, Jing Liu wrote:
> -#define XSTATE_COMPACTION_ENABLED (1ULL << 63)
> -
> static void fill_xsave(u8 *dest, struct kvm_vcpu *vcpu)
> {
> struct xregs_state *xsave = >arch.guest_fpu->state.xsave;
> @@ -4494,7 +4492,8 @@ static void load_xsave(struct kvm_vcpu *vcpu, u8 *src)
Bit 63 of the XCOMP_BV field indicates that the save area is in the
compacted format and the remaining bits indicate the states that have
space allocated in the save area, not only user states. Since
fpstate_init() has initialized xcomp_bv, let's just use that.
Signed-off-by: Jing Liu
---
8 matches
Mail list logo