Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dx86.c3325 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local
3326 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce()
3336 if (!(mcg_cap & MCG_CTL_P) && in set_msr_mce()
3348 if (!(mcg_cap & MCG_CMCI_P) && (data || !msr_info->host_initiated)) in set_msr_mce()
4003 u64 mcg_cap = vcpu->arch.mcg_cap; in get_msr_mce() local
4004 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce()
4013 data = vcpu->arch.mcg_cap; in get_msr_mce()
4016 if (!(mcg_cap & MCG_CTL_P) && !host) in get_msr_mce()
4028 if (!(mcg_cap & MCG_CMCI_P) && !host) in get_msr_mce()
5026 u64 mcg_cap) in kvm_vcpu_ioctl_x86_setup_mce() argument
[all …]
Dlapic.c567 return KVM_APIC_MAX_NR_LVT_ENTRIES - !(vcpu->arch.mcg_cap & MCG_CMCI_P); in kvm_apic_calc_nr_lvt_entries()
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h912 u64 mcg_cap; member
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c4573 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c8116 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst4428 :Parameters: u64 mcg_cap (in)
4430 -EFAULT if u64 mcg_cap cannot be read,
4434 Initializes MCE support for use. The u64 mcg_cap parameter