Home
last modified time | relevance | path

Searched refs:xstate (Results 1 – 6 of 6) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/
A Dcpuid.c77 unsigned int i, Da1 = p->xstate.Da1; in recalculate_xstate()
83 memset(&p->xstate, 0, sizeof(p->xstate)); in recalculate_xstate()
128 p->xstate.max_size = xstate_size; in recalculate_xstate()
132 p->xstate.Da1 = Da1; in recalculate_xstate()
133 if ( p->xstate.xsaves ) in recalculate_xstate()
148 p->xstate.comp[i].size = xstate_sizes[i]; in recalculate_xstate()
149 p->xstate.comp[i].offset = xstate_offsets[i]; in recalculate_xstate()
286 xstates = ((uint64_t)(p->xstate.xcr0_high | p->xstate.xss_high) << 32) | in calculate_raw_policy()
287 (p->xstate.xcr0_low | p->xstate.xss_low); in calculate_raw_policy()
641 *res = p->xstate.raw[subleaf]; in guest_cpuid()
[all …]
A Dxstate.c747 struct xsave_struct *xstate in read_bndcfgu() local
757 : "=m" (*xstate) in read_bndcfgu()
758 : "a" (XSTATE_BNDCSR), "d" (0), "D" (xstate) ); in read_bndcfgu()
760 bndcsr = (void *)(xstate + 1); in read_bndcfgu()
765 : "=m" (*xstate) in read_bndcfgu()
766 : "a" (XSTATE_BNDCSR), "d" (0), "D" (xstate) ); in read_bndcfgu()
768 bndcsr = (void *)xstate + xstate_offsets[_XSTATE_BNDCSR]; in read_bndcfgu()
774 return xstate->xsave_hdr.xstate_bv & XSTATE_BNDCSR ? bndcsr->bndcfgu : 0; in read_bndcfgu()
782 struct xsave_struct *xstate = v->arch.xsave_area; in xstate_set_init() local
795 memset(&xstate->xsave_hdr, 0, sizeof(xstate->xsave_hdr)); in xstate_set_init()
A Ddomctl.c73 BUILD_BUG_ON(ARRAY_SIZE(p->xstate.raw) < 2); in update_domain_cpuid_info()
104 p->xstate.raw[ctl->input[1]] = leaf; in update_domain_cpuid_info()
249 uint32_t eax = p->xstate.Da1; in update_domain_cpuid_info()
A DMakefile71 obj-y += xstate.o
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dcpuid.h167 } xstate; member
229 fs[FEATURESET_Da1] = p->xstate.Da1; in cpuid_policy_to_featureset()
245 p->xstate.Da1 = fs[FEATURESET_Da1]; in cpuid_featureset_to_policy()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dhvm.c3494 if ( !d->arch.cpuid->xstate.xsaves ) in hvm_msr_read_intercept()
3651 if ( !d->arch.cpuid->xstate.xsaves || msr_content != 0 ) in hvm_msr_write_intercept()

Completed in 16 milliseconds