Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kvm/
Dx86.c2797 u64 mcg_cap = vcpu->arch.mcg_cap; in set_msr_mce() local
2798 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce()
2807 if (!(mcg_cap & MCG_CTL_P) && in set_msr_mce()
3304 u64 mcg_cap = vcpu->arch.mcg_cap; in get_msr_mce() local
3305 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce()
3313 data = vcpu->arch.mcg_cap; in get_msr_mce()
3316 if (!(mcg_cap & MCG_CTL_P) && !host) in get_msr_mce()
4125 u64 mcg_cap) in kvm_vcpu_ioctl_x86_setup_mce() argument
4128 unsigned bank_num = mcg_cap & 0xff, bank; in kvm_vcpu_ioctl_x86_setup_mce()
4133 if (mcg_cap & ~(kvm_mce_cap_supported | 0xff | 0xff0000)) in kvm_vcpu_ioctl_x86_setup_mce()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h702 u64 mcg_cap; member
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c3988 vcpu->arch.mcg_cap &= 0x1ff; in svm_setup_mce()
/Linux-v5.10/Documentation/virt/kvm/
Dapi.rst3972 :Parameters: u64 mcg_cap (in)
3974 -EFAULT if u64 mcg_cap cannot be read,
3978 Initializes MCE support for use. The u64 mcg_cap parameter
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c7504 if (vcpu->arch.mcg_cap & MCG_LMCE_P) in vmx_setup_mce()