Searched refs:check_msr (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | pmu_event_filter_test.c | 112 static void check_msr(uint32_t msr, uint64_t bits_to_flip) in check_msr() function 128 check_msr(MSR_CORE_PERF_GLOBAL_CTRL, 1); in intel_guest_code() 129 check_msr(MSR_P6_EVNTSEL0, 0xffff); in intel_guest_code() 130 check_msr(MSR_IA32_PMC0, 0xffff); in intel_guest_code() 154 check_msr(MSR_K7_EVNTSEL0, 0xffff); in amd_guest_code() 155 check_msr(MSR_K7_PERFCTR0, 0xffff); in amd_guest_code()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | core.c | 4981 static bool check_msr(unsigned long msr, u64 mask) in check_msr() function 5694 er->extra_msr_access = check_msr(er->msr, 0x11UL); in intel_pmu_check_extra_regs() 6571 if (x86_pmu.lbr_tos && !check_msr(x86_pmu.lbr_tos, 0x3UL)) in intel_pmu_init() 6574 if (!(check_msr(x86_pmu.lbr_from + i, 0xffffUL) && in intel_pmu_init() 6575 check_msr(x86_pmu.lbr_to + i, 0xffffUL))) in intel_pmu_init()
|