Searched refs:msr_info (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | pmu_intel.c | 312 u32 index = msr_info->index; in intel_pmu_handle_lbr_msrs_access() 329 rdmsrl(index, msr_info->data); in intel_pmu_handle_lbr_msrs_access() 331 wrmsrl(index, msr_info->data); in intel_pmu_handle_lbr_msrs_access() 341 msr_info->data = 0; in intel_pmu_handle_lbr_msrs_access() 349 u32 msr = msr_info->index; in intel_pmu_get_msr() 362 msr_info->data = 0; in intel_pmu_get_msr() 368 msr_info->data = pmu->ds_area; in intel_pmu_get_msr() 377 msr_info->data = in intel_pmu_get_msr() 382 msr_info->data = in intel_pmu_get_msr() 399 u32 msr = msr_info->index; in intel_pmu_set_msr() [all …]
|
A D | vmx.c | 1968 switch (msr_info->index) { in vmx_get_msr() 1983 if (!msr_info->host_initiated && in vmx_get_msr() 1994 if (!msr_info->host_initiated && in vmx_get_msr() 2017 if (!msr_info->host_initiated && in vmx_get_msr() 2027 if (!msr_info->host_initiated && in vmx_get_msr() 2037 &msr_info->data)) in vmx_get_msr() 2048 &msr_info->data); in vmx_get_msr() 2102 msr_info->data = msr->data; in vmx_get_msr() 2146 u32 msr_index = msr_info->index; in vmx_set_msr() 2147 u64 data = msr_info->data; in vmx_set_msr() [all …]
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | msr-smp.c | 10 struct msr_info *rv = info; in __rdmsr_on_cpu() 24 struct msr_info *rv = info; in __wrmsr_on_cpu() 39 struct msr_info rv; in rdmsr_on_cpu() 55 struct msr_info rv; in rdmsrl_on_cpu() 70 struct msr_info rv; in wrmsr_on_cpu() 86 struct msr_info rv; in wrmsrl_on_cpu() 103 struct msr_info rv; in __rwmsr_on_cpus() 148 struct msr_info msr; 164 struct msr_info *rv = info; in __wrmsr_safe_on_cpu() 196 struct msr_info rv; in wrmsr_safe_on_cpu() [all …]
|
/linux-6.3-rc2/arch/x86/kvm/svm/ |
A D | pmu.c | 122 static int amd_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_get_msr() argument 126 u32 msr = msr_info->index; in amd_pmu_get_msr() 131 msr_info->data = pmc_read_counter(pmc); in amd_pmu_get_msr() 137 msr_info->data = pmc->eventsel; in amd_pmu_get_msr() 144 static int amd_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_set_msr() argument 148 u32 msr = msr_info->index; in amd_pmu_set_msr() 149 u64 data = msr_info->data; in amd_pmu_set_msr()
|
A D | svm.c | 2701 struct msr_data msr_info; in efer_trap() local 2710 msr_info.host_initiated = false; in efer_trap() 2711 msr_info.index = MSR_EFER; in efer_trap() 2738 switch (msr_info->index) { in svm_get_msr() 2775 msr_info->data = svm->tsc_aux; in svm_get_msr() 2782 msr_info->data = svm_get_lbr_msr(svm, msr_info->index); in svm_get_msr() 2791 if (!msr_info->host_initiated && in svm_get_msr() 2801 if (!msr_info->host_initiated && in svm_get_msr() 2817 msr_info->data = 0; in svm_get_msr() 2821 msr_info->data = 0x1E; in svm_get_msr() [all …]
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | pmu.h | 30 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 31 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 209 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 210 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
A D | x86.c | 1728 u64 efer = msr_info->data; in set_efer() 3282 u32 msr = msr_info->index; in set_msr_mce() 3998 msr_info->data = 0; in kvm_get_msr_common() 4006 msr_info->data = 0; in kvm_get_msr_common() 4052 return kvm_mtrr_get_msr(vcpu, msr_info->index, &msr_info->data); in kvm_get_msr_common() 4054 msr_info->data = 3; in kvm_get_msr_common() 4074 return kvm_x2apic_msr_read(vcpu, msr_info->index, &msr_info->data); in kvm_get_msr_common() 4141 msr_info->data = 0; in kvm_get_msr_common() 4168 return get_msr_mce(vcpu, msr_info->index, &msr_info->data, in kvm_get_msr_common() 4199 msr_info->index, &msr_info->data, in kvm_get_msr_common() [all …]
|
A D | pmu.c | 575 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_get_msr() argument 577 return static_call(kvm_x86_pmu_get_msr)(vcpu, msr_info); in kvm_pmu_get_msr() 580 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_set_msr() argument 582 kvm_pmu_mark_pmc_in_use(vcpu, msr_info->index); in kvm_pmu_set_msr() 583 return static_call(kvm_x86_pmu_set_msr)(vcpu, msr_info); in kvm_pmu_set_msr()
|
A D | lapic.h | 123 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | msr.h | 15 struct msr_info { struct 29 struct msr_info info; argument
|
Completed in 51 milliseconds