Home
last modified time | relevance | path

Searched refs:SPRN_PVR (Results 1 – 25 of 60) sorted by relevance

123

/linux/tools/perf/arch/powerpc/util/
H A Dheader.c20 pvr = mfspr(SPRN_PVR); in get_cpuid()
37 if (asprintf(&bufp, "0x%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
H A Dutils_header.h11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
H A Dperf_regs.c207 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in arch__intr_reg_mask()
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dreserved_bits_mmcra_sample_elig_mode_test.c62 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 Dgeneric_events_valid_test.c34 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 Devent_alternatives_tests_p10.c39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
H A Dblacklisted_events_test.c82 pvr_min = PVR_MIN(mfspr(SPRN_PVR)); in check_for_power9_version()
H A Devent_alternatives_tests_p9.c38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
/linux/arch/powerpc/kernel/
H A Dearly_32.c33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
H A Dcpu_setup_6xx.S360 mfspr r3,SPRN_PVR
400 mfspr r3,SPRN_PVR
431 mfspr r3,SPRN_PVR
493 mfspr r3,SPRN_PVR
H A Dsetup_64.c282 (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 Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
/linux/drivers/cpufreq/
H A Dpmac32-cpufreq.c592 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 Dmaple-cpufreq.c183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
/linux/arch/powerpc/platforms/85xx/
H A Dstx_gp3.c72 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo()
H A Dtqm85xx.c71 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo()
H A Dksi8560.c152 pvid = mfspr(SPRN_PVR); in ksi8560_show_cpuinfo()
/linux/arch/powerpc/boot/
H A Dutil.S17 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dbhrb_filter_map_test.c86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
/linux/arch/powerpc/perf/
H A De6500-pmu.c110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu()
H A De500-pmu.c121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu()
H A Dpower10-pmu.c612 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 Dreg.h60 #define SPRN_PVR 0x11F macro
/linux/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
/linux/arch/powerpc/platforms/powernv/
H A Dsubcore.c424 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()

123