Home
last modified time | relevance | path

Searched refs:mcg_cap (Results 1 – 7 of 7) sorted by relevance

/linux/arch/x86/kvm/
H A Dx86.c3546 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local
3547 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce()
3557 if (!(mcg_cap & MCG_CTL_P) && in set_msr_mce()
3569 if (!(mcg_cap & MCG_CMCI_P) && (data || !msr_info->host_initiated)) in set_msr_mce()
4294 u64 mcg_cap = vcpu->arch.mcg_cap; in get_msr_mce() local
4295 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce()
4304 data = vcpu->arch.mcg_cap; in get_msr_mce()
4307 if (!(mcg_cap & MCG_CTL_P) && !host) in get_msr_mce()
4319 if (!(mcg_cap & MCG_CMCI_P) && !host) in get_msr_mce()
5401 u64 mcg_cap) in kvm_vcpu_ioctl_x86_setup_mce() argument
[all …]
H A Dlapic.c544 return KVM_APIC_MAX_NR_LVT_ENTRIES - !(vcpu->arch.mcg_cap & MCG_CMCI_P); in kvm_apic_calc_nr_lvt_entries()
/linux/arch/x86/kvm/vmx/
H A Dtdx.c2166 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in tdx_get_msr()
2170 if (!msr->host_initiated && !(vcpu->arch.mcg_cap & MCG_LMCE_P)) in tdx_get_msr()
2186 if ((!msr->host_initiated && !(vcpu->arch.mcg_cap & MCG_LMCE_P)) || in tdx_set_msr()
H A Dvmx.c8288 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()
/linux/arch/x86/include/asm/
H A Dkvm_host.h989 u64 mcg_cap; member
/linux/arch/x86/kvm/svm/
H A Dsvm.c4648 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
/linux/Documentation/virt/kvm/
H A Dapi.rst4568 :Parameters: u64 mcg_cap (in)
4570 -EFAULT if u64 mcg_cap cannot be read,
4574 Initializes MCE support for use. The u64 mcg_cap parameter