Home
last modified time | relevance | path

Searched refs:MSR_IA32_PERF_CAPABILITIES (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_caps_test.c56 uint8_t vector = wrmsr_safe(MSR_IA32_PERF_CAPABILITIES, val); in guest_test_perf_capabilities_gp()
91 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_guest_wrmsr_perf_capabilities()
106 TEST_ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), in test_guest_wrmsr_perf_capabilities()
109 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_guest_wrmsr_perf_capabilities()
111 r = _vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, 0); in test_guest_wrmsr_perf_capabilities()
115 r = _vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, in test_guest_wrmsr_perf_capabilities()
133 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, 0); in test_basic_perf_capabilities()
134 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_basic_perf_capabilities()
148 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, BIT_ULL(bit)); in test_fungible_perf_capabilities()
149 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, in test_fungible_perf_capabilities()
[all …]
/linux-6.6.21/tools/arch/x86/include/asm/
Dmsr-index.h256 #define MSR_IA32_PERF_CAPABILITIES 0x00000345 macro
/linux-6.6.21/arch/x86/include/asm/
Dmsr-index.h256 #define MSR_IA32_PERF_CAPABILITIES 0x00000345 macro
/linux-6.6.21/arch/x86/kvm/
Dx86.c1531 MSR_IA32_PERF_CAPABILITIES,
1581 MSR_IA32_PERF_CAPABILITIES,
1687 case MSR_IA32_PERF_CAPABILITIES: in kvm_get_msr_feature()
3657 case MSR_IA32_PERF_CAPABILITIES: in kvm_set_msr_common()
4101 case MSR_IA32_PERF_CAPABILITIES: in kvm_get_msr_common()
/linux-6.6.21/arch/x86/events/intel/
Dcore.c4727 rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap.capabilities); in intel_pmu_cpu_starting()
5994 rdmsrl(MSR_IA32_PERF_CAPABILITIES, capabilities); in intel_pmu_init()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c2432 case MSR_IA32_PERF_CAPABILITIES: in vmx_set_msr()
7851 rdmsrl(MSR_IA32_PERF_CAPABILITIES, host_perf_cap); in vmx_get_perf_capabilities()