Searched refs:msr_data (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | kvm_pv_test.c | 15 struct msr_data { struct 28 static struct msr_data msrs_to_test[] = { argument 41 static void test_msr(struct msr_data *msr) in test_msr() 100 struct msr_data *msr = (struct msr_data *)uc->args[0]; in pr_msr()
|
D | hyperv_features.c | 24 struct msr_data { struct 42 static void guest_msr(struct msr_data *msr) in guest_msr() argument 138 struct msr_data *msr; in guest_test_msrs_access()
|
/linux-6.12.1/arch/x86/kvm/ |
D | pmu.h | 37 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); 268 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 269 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
D | emulate.c | 2361 u64 msr_data; in em_syscall() local 2386 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall() 2387 msr_data >>= 32; in em_syscall() 2388 cs_sel = (u16)(msr_data & 0xfffc); in em_syscall() 2389 ss_sel = (u16)(msr_data + 8); in em_syscall() 2405 MSR_LSTAR : MSR_CSTAR, &msr_data); in em_syscall() 2406 ctxt->_eip = msr_data; in em_syscall() 2408 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall() 2409 ctxt->eflags &= ~msr_data; in em_syscall() 2414 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall() [all …]
|
D | lapic.h | 121 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
D | pmu.c | 638 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_get_msr() 663 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_set_msr()
|
D | x86.c | 681 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base() 1754 static int set_efer(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_efer() 1849 struct msr_data msr; in __kvm_set_msr() 1930 struct msr_data msr; in __kvm_get_msr() 3478 static int set_msr_mce(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_msr_mce() 3772 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_msr_common() 4209 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_get_msr_common() 11891 struct msr_data apic_base_msr; in __set_sregs_common()
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | pmu.c | 127 static int amd_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_get_msr() 149 static int amd_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_set_msr()
|
D | svm.c | 2811 struct msr_data msr_info; in efer_trap() 2845 sev_es_prevent_msr_access(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in sev_es_prevent_msr_access() 2853 static int svm_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in svm_get_msr() 3011 static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr) in svm_set_msr()
|
/linux-6.12.1/arch/x86/kvm/vmx/ |
D | x86_ops.h | 33 int vmx_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 61 int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
D | pmu_intel.c | 262 struct msr_data *msr_info, bool read) in intel_pmu_handle_lbr_msrs_access() 298 static int intel_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_get_msr() 341 static int intel_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_set_msr()
|
D | vmx.c | 1976 struct msr_data *msr) in is_vmx_feature_control_msr_valid() 2016 int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_get_msr() 2197 int vmx_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_set_msr()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | kvm_host.h | 1603 struct msr_data { struct 1653 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); 1654 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); 2105 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr); 2106 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);
|