Home
last modified time | relevance | path

Searched refs:vmce (Results 1 – 9 of 9) sorted by relevance

/xen/xen/arch/x86/cpu/mcheck/
A Dvmce.c65 v->arch.vmce.mcg_status = 0; in vmce_init_vcpu()
71 spin_lock_init(&v->arch.vmce.lock); in vmce_init_vcpu()
92 v->arch.vmce.mcg_cap = ctxt->caps; in vmce_restore_vcpu()
184 spin_lock(&cur->arch.vmce.lock); in vmce_rdmsr()
196 *val = cur->arch.vmce.mcg_cap; in vmce_rdmsr()
231 spin_unlock(&cur->arch.vmce.lock); in vmce_rdmsr()
313 spin_lock(&cur->arch.vmce.lock); in vmce_wrmsr()
351 spin_unlock(&cur->arch.vmce.lock); in vmce_wrmsr()
359 .caps = v->arch.vmce.mcg_cap, in vmce_save_vcpu_ctxt()
447 spin_lock(&v->arch.vmce.lock); in vcpu_fill_mc_msrs()
[all …]
A DMakefile11 obj-y += vmce.o
A Dmce.h170 msr < MSR_IA32_MCx_CTL2(v->arch.vmce.mcg_cap & MCG_CAP_COUNT) ) in mce_vendor_bank_msr()
189 msr < MSR_IA32_MCx_CTL(v->arch.vmce.mcg_cap & MCG_CAP_COUNT)) || in mce_bank_msr()
A Dmcaction.c112 !(d->vcpu[mc_vcpuid]->arch.vmce.mcg_ext_ctl & in mc_memerr_dhandler()
A Dmce_intel.c995 v->arch.vmce.bank[bank].mci_ctl2 = val; in vmce_intel_wrmsr()
1008 *val = v->arch.vmce.bank[bank].mci_ctl2; in vmce_intel_rdmsr()
1017 return v->arch.vmce.mcg_cap & MCG_LMCE_P; in vmce_has_lmce()
/xen/xen/arch/x86/
A Ddomctl.c287 (offsetof(typeof(evc->vmce), field) + sizeof(evc->vmce.field)) in vcpu_set_vmce()
290 sizeof(evc->vmce), in vcpu_set_vmce()
296 struct hvm_vmce_vcpu vmce = { }; in vcpu_set_vmce() local
298 min(evc->size - offsetof(typeof(*evc), vmce), sizeof(evc->vmce)); in vcpu_set_vmce()
302 offsetof(typeof(*evc), vmce.caps)); in vcpu_set_vmce()
311 memcpy(&vmce, &evc->vmce, valid_sizes[i]); in vcpu_set_vmce()
313 return vmce_restore_vcpu(v, &vmce); in vcpu_set_vmce()
844 evc->vmce.caps = v->arch.vmce.mcg_cap; in arch_do_domctl()
845 evc->vmce.mci_ctl2_bank0 = v->arch.vmce.bank[0].mci_ctl2; in arch_do_domctl()
846 evc->vmce.mci_ctl2_bank1 = v->arch.vmce.bank[1].mci_ctl2; in arch_do_domctl()
[all …]
/xen/xen/include/asm-x86/
A Dmce.h28 struct vmce { struct
A Ddomain.h631 struct vmce vmce; member
/xen/xen/include/public/
A Ddomctl.h651 struct hvm_vmce_vcpu vmce; member
654 struct hvm_vmce_vcpu vmce; member

Completed in 21 milliseconds