Home
last modified time | relevance | path

Searched refs:msr_data (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dkvm_pv_test.c64 struct msr_data { struct
77 static struct msr_data msrs_to_test[] = { argument
90 static void test_msr(struct msr_data *msr) in test_msr()
156 struct msr_data *msr = (struct msr_data *)uc->args[0]; in pr_msr()
Dhyperv_features.c90 struct msr_data { struct
103 static void guest_msr(struct msr_data *msr) in guest_msr() argument
168 static void guest_test_msrs_access(struct kvm_vm *vm, struct msr_data *msr, in guest_test_msrs_access()
/Linux-v5.15/arch/x86/kvm/
Dpmu.h37 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
38 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
154 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
155 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
Demulate.c2683 u64 msr_data; in em_syscall() local
2700 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2701 msr_data >>= 32; in em_syscall()
2702 cs_sel = (u16)(msr_data & 0xfffc); in em_syscall()
2703 ss_sel = (u16)(msr_data + 8); in em_syscall()
2719 MSR_LSTAR : MSR_CSTAR, &msr_data); in em_syscall()
2720 ctxt->_eip = msr_data; in em_syscall()
2722 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
2723 ctxt->eflags &= ~msr_data; in em_syscall()
2728 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
[all …]
Dpmu.c411 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_get_msr()
416 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_set_msr()
Dlapic.h108 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
Dx86.c465 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base()
1568 static int set_efer(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_efer()
1660 struct msr_data msr; in __kvm_set_msr()
1743 struct msr_data msr; in __kvm_get_msr()
3053 static int set_msr_mce(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_msr_mce()
3252 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_msr_common()
3588 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_get_msr_common()
10350 struct msr_data apic_base_msr; in __set_sregs_common()
/Linux-v5.15/arch/x86/kvm/svm/
Dpmu.c226 static int amd_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_get_msr()
248 static int amd_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_set_msr()
Dsvm.c2620 struct msr_data msr_info; in efer_trap()
2655 static int svm_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in svm_get_msr()
2801 static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr) in svm_set_msr()
/Linux-v5.15/arch/x86/kvm/vmx/
Dpmu_intel.c315 struct msr_data *msr_info, bool read) in intel_pmu_handle_lbr_msrs_access()
351 static int intel_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_get_msr()
392 static int intel_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_set_msr()
Dvmx.c1762 static int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_get_msr()
1941 static int vmx_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_set_msr()
/Linux-v5.15/arch/x86/include/asm/
Dkvm_host.h1277 struct msr_data { struct
1321 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr);
1322 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr);
1704 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);
1705 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);