Searched refs:mcg_cap (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
H A Dx86.c1893 u64 mcg_cap = vcpu->arch.mcg_cap; set_msr_mce() local
1894 unsigned bank_num = mcg_cap & 0xff; set_msr_mce()
1901 if (!(mcg_cap & MCG_CTL_P)) set_msr_mce()
2422 u64 mcg_cap = vcpu->arch.mcg_cap; get_msr_mce() local
2423 unsigned bank_num = mcg_cap & 0xff; get_msr_mce()
2431 data = vcpu->arch.mcg_cap; get_msr_mce()
2434 if (!(mcg_cap & MCG_CTL_P)) get_msr_mce()
3023 u64 mcg_cap) kvm_vcpu_ioctl_x86_setup_mce()
3026 unsigned bank_num = mcg_cap & 0xff, bank; kvm_vcpu_ioctl_x86_setup_mce()
3031 if (mcg_cap & ~(KVM_MCE_CAP_SUPPORTED | 0xff | 0xff0000)) kvm_vcpu_ioctl_x86_setup_mce()
3034 vcpu->arch.mcg_cap = mcg_cap; kvm_vcpu_ioctl_x86_setup_mce()
3036 if (mcg_cap & MCG_CTL_P) kvm_vcpu_ioctl_x86_setup_mce()
3048 u64 mcg_cap = vcpu->arch.mcg_cap; kvm_vcpu_ioctl_x86_set_mce() local
3049 unsigned bank_num = mcg_cap & 0xff; kvm_vcpu_ioctl_x86_set_mce()
3058 if ((mce->status & MCI_STATUS_UC) && (mcg_cap & MCG_CTL_P) && kvm_vcpu_ioctl_x86_set_mce()
3489 u64 mcg_cap; kvm_arch_vcpu_ioctl() local
3492 if (copy_from_user(&mcg_cap, argp, sizeof mcg_cap)) kvm_arch_vcpu_ioctl()
3494 r = kvm_vcpu_ioctl_x86_setup_mce(vcpu, mcg_cap); kvm_arch_vcpu_ioctl()
7360 vcpu->arch.mcg_cap = KVM_MAX_MCE_BANKS; kvm_arch_vcpu_init()
3022 kvm_vcpu_ioctl_x86_setup_mce(struct kvm_vcpu *vcpu, u64 mcg_cap) kvm_vcpu_ioctl_x86_setup_mce() argument
/linux-4.1.27/arch/x86/include/asm/
H A Dkvm_host.h485 u64 mcg_cap; member in struct:kvm_vcpu_arch

Completed in 132 milliseconds