Searched refs:msr_index (Results 1 – 4 of 4) sorted by relevance
/arch/x86/xen/ |
D | pmu.c | 135 static int is_intel_pmu_msr(u32 msr_index, int *type, int *index) in is_intel_pmu_msr() argument 139 switch (msr_index) { in is_intel_pmu_msr() 154 if ((msr_index >= MSR_CORE_PERF_FIXED_CTR0) && in is_intel_pmu_msr() 155 (msr_index < MSR_CORE_PERF_FIXED_CTR0 + in is_intel_pmu_msr() 157 *index = msr_index - MSR_CORE_PERF_FIXED_CTR0; in is_intel_pmu_msr() 162 if ((msr_index >= MSR_P6_EVNTSEL0) && in is_intel_pmu_msr() 163 (msr_index < MSR_P6_EVNTSEL0 + intel_num_arch_counters)) { in is_intel_pmu_msr() 164 *index = msr_index - MSR_P6_EVNTSEL0; in is_intel_pmu_msr() 169 msr_index_pmc = msr_index & MSR_PMC_ALIAS_MASK; in is_intel_pmu_msr()
|
/arch/x86/include/asm/ |
D | kvm_emulate.h | 210 int (*set_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 data); 211 int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata);
|
/arch/x86/kvm/ |
D | vmx.c | 2738 static int vmx_get_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in vmx_get_vmx_msr() argument 2742 switch (msr_index) { in vmx_get_vmx_msr() 2925 u32 msr_index = msr_info->index; in vmx_set_msr() local 2928 switch (msr_index) { in vmx_set_msr() 3072 msr = find_msr_entry(vmx, msr_index); in vmx_set_msr() 7693 u32 msr_index = vcpu->arch.regs[VCPU_REGS_RCX]; in nested_vmx_exit_handled_msr() local 7707 if (msr_index >= 0xc0000000) { in nested_vmx_exit_handled_msr() 7708 msr_index -= 0xc0000000; in nested_vmx_exit_handled_msr() 7713 if (msr_index < 1024*8) { in nested_vmx_exit_handled_msr() 7715 if (kvm_vcpu_read_guest(vcpu, bitmap + msr_index/8, &b, 1)) in nested_vmx_exit_handled_msr() [all …]
|
D | x86.c | 5042 u32 msr_index, u64 *pdata) in emulator_get_msr() argument 5047 msr.index = msr_index; in emulator_get_msr() 5058 u32 msr_index, u64 data) in emulator_set_msr() argument 5063 msr.index = msr_index; in emulator_set_msr()
|