Searched refs:check_msr (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_event_filter_test.c | 78 static void check_msr(uint32_t msr, uint64_t bits_to_flip) in check_msr() function 105 check_msr(MSR_CORE_PERF_GLOBAL_CTRL, 1); in intel_guest_code() 106 check_msr(MSR_P6_EVNTSEL0, 0xffff); in intel_guest_code() 107 check_msr(MSR_IA32_PMC0, 0xffff); in intel_guest_code() 130 check_msr(MSR_K7_EVNTSEL0, 0xffff); in amd_guest_code() 131 check_msr(MSR_K7_PERFCTR0, 0xffff); in amd_guest_code()
|
/linux/arch/x86/events/intel/ |
H A D | core.c | 5428 static bool check_msr(unsigned long msr, u64 mask) in check_msr() function 6228 er->extra_msr_access = check_msr(er->msr, 0x11UL); in intel_pmu_check_extra_regs() 7185 if (x86_pmu.lbr_tos && !check_msr(x86_pmu.lbr_tos, 0x3UL)) in intel_pmu_init() 7188 if (!(check_msr(x86_pmu.lbr_from + i, 0xffffUL) && in intel_pmu_init() 7189 check_msr(x86_pmu.lbr_to + i, 0xffffUL))) in intel_pmu_init()
|