/linux/tools/perf/arch/powerpc/util/ |
H A D | header.c | 20 pvr = mfspr(SPRN_PVR); in get_cpuid() 37 if (asprintf(&bufp, "0x%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
|
H A D | utils_header.h | 11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
|
H A D | perf_regs.c | 207 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in arch__intr_reg_mask()
|
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | reserved_bits_mmcra_sample_elig_mode_test.c | 62 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in reserved_bits_mmcra_sample_elig_mode() 65 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in reserved_bits_mmcra_sample_elig_mode()
|
H A D | generic_events_valid_test.c | 34 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in generic_events_valid_test() 75 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in generic_events_valid_test()
|
H A D | event_alternatives_tests_p10.c | 39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
|
H A D | blacklisted_events_test.c | 82 pvr_min = PVR_MIN(mfspr(SPRN_PVR)); in check_for_power9_version()
|
H A D | event_alternatives_tests_p9.c | 38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
|
/linux/arch/powerpc/kernel/ |
H A D | early_32.c | 33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
|
H A D | cpu_setup_6xx.S | 360 mfspr r3,SPRN_PVR 400 mfspr r3,SPRN_PVR 431 mfspr r3,SPRN_PVR 493 mfspr r3,SPRN_PVR
|
H A D | setup_64.c | 282 (mfspr(SPRN_PVR) & 0xf00) == 0x100) in cpu_ready_for_interrupts() 378 identify_cpu(0, mfspr(SPRN_PVR)); in early_setup() 639 pvr = PVR_VER(mfspr(SPRN_PVR)); in initialize_cache_info()
|
H A D | dawr.c | 101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
|
/linux/drivers/cpufreq/ |
H A D | pmac32-cpufreq.c | 592 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX() 635 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup() 673 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
|
H A D | maple-cpufreq.c | 183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
|
/linux/arch/powerpc/platforms/85xx/ |
H A D | stx_gp3.c | 72 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo()
|
H A D | tqm85xx.c | 71 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo()
|
H A D | ksi8560.c | 152 pvid = mfspr(SPRN_PVR); in ksi8560_show_cpuinfo()
|
/linux/arch/powerpc/boot/ |
H A D | util.S | 17 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
|
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | bhrb_filter_map_test.c | 86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
|
/linux/arch/powerpc/perf/ |
H A D | e6500-pmu.c | 110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu()
|
H A D | e500-pmu.c | 121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu()
|
H A D | power10-pmu.c | 612 pvr = mfspr(SPRN_PVR); in init_power10_pmu() 646 pvr = mfspr(SPRN_PVR); in init_power11_pmu()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 60 #define SPRN_PVR 0x11F macro
|
/linux/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 424 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()
|