Searched refs:mcg_cap (Results 1 – 6 of 6) sorted by relevance
3258 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local3259 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce()3269 if (!(mcg_cap & MCG_CTL_P) && in set_msr_mce()3281 if (!(mcg_cap & MCG_CMCI_P) && (data || !msr_info->host_initiated)) in set_msr_mce()3891 u64 mcg_cap = vcpu->arch.mcg_cap; in get_msr_mce() local3892 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce()3901 data = vcpu->arch.mcg_cap; in get_msr_mce()3904 if (!(mcg_cap & MCG_CTL_P) && !host) in get_msr_mce()3916 if (!(mcg_cap & MCG_CMCI_P) && !host) in get_msr_mce()4917 u64 mcg_cap) in kvm_vcpu_ioctl_x86_setup_mce() argument[all …]
411 return KVM_APIC_MAX_NR_LVT_ENTRIES - !(vcpu->arch.mcg_cap & MCG_CMCI_P); in kvm_apic_calc_nr_lvt_entries()
837 u64 mcg_cap; member
4358 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
7901 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()
4430 :Parameters: u64 mcg_cap (in)4432 -EFAULT if u64 mcg_cap cannot be read,4436 Initializes MCE support for use. The u64 mcg_cap parameter