Searched refs:mcg_cap (Results 1 – 7 of 7) sorted by relevance
3559 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local3560 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce()3570 if (!(mcg_cap & MCG_CTL_P) && in set_msr_mce()3582 if (!(mcg_cap & MCG_CMCI_P) && (data || !msr_info->host_initiated)) in set_msr_mce()4308 u64 mcg_cap = vcpu->arch.mcg_cap; in get_msr_mce() local4309 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce()4318 data = vcpu->arch.mcg_cap; in get_msr_mce()4321 if (!(mcg_cap & MCG_CTL_P) && !host) in get_msr_mce()4333 if (!(mcg_cap & MCG_CMCI_P) && !host) in get_msr_mce()5416 u64 mcg_cap) in kvm_vcpu_ioctl_x86_setup_mce() argument[all …]
601 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()
8482 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()
1001 u64 mcg_cap; member
4752 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
4567 :Parameters: u64 mcg_cap (in)4569 -EFAULT if u64 mcg_cap cannot be read,4573 Initializes MCE support for use. The u64 mcg_cap parameter