Home
last modified time | relevance | path

Searched refs:check_msr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dpmu_event_filter_test.c133 static void check_msr(uint32_t msr, uint64_t bits_to_flip) in check_msr() function
160 check_msr(MSR_CORE_PERF_GLOBAL_CTRL, 1); in intel_guest_code()
161 check_msr(MSR_P6_EVNTSEL0, 0xffff); in intel_guest_code()
162 check_msr(MSR_IA32_PMC0, 0xffff); in intel_guest_code()
185 check_msr(MSR_K7_EVNTSEL0, 0xffff); in amd_guest_code()
186 check_msr(MSR_K7_PERFCTR0, 0xffff); in amd_guest_code()
/openbmc/linux/arch/x86/events/intel/
H A Dcore.c5152 static bool check_msr(unsigned long msr, u64 mask) in check_msr() function
5899 er->extra_msr_access = check_msr(er->msr, 0x11UL); in intel_pmu_check_extra_regs()
6836 if (x86_pmu.lbr_tos && !check_msr(x86_pmu.lbr_tos, 0x3UL)) in intel_pmu_init()
6839 if (!(check_msr(x86_pmu.lbr_from + i, 0xffffUL) && in intel_pmu_init()
6840 check_msr(x86_pmu.lbr_to + i, 0xffffUL))) in intel_pmu_init()