Searched refs:mcg_cap (Results 1 – 7 of 7) sorted by relevance
3546 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local3547 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() local4295 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 …]
544 return KVM_APIC_MAX_NR_LVT_ENTRIES - !(vcpu->arch.mcg_cap & MCG_CMCI_P); in kvm_apic_calc_nr_lvt_entries()
2166 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()
8288 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()
989 u64 mcg_cap; member
4648 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
4568 :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