Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/perf/arch/powerpc/util/
Dheader.c20 pvr = mfspr(SPRN_PVR); in get_cpuid()
37 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
Dutils_header.h11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
Dperf_regs.c206 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in arch__intr_reg_mask()
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/event_code_tests/
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()
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()
Dblacklisted_events_test.c82 pvr_min = PVR_MIN(mfspr(SPRN_PVR)); in check_for_power9_version()
Devent_alternatives_tests_p10.c39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
Devent_alternatives_tests_p9.c38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
/linux-6.1.9/arch/powerpc/kernel/
Dearly_32.c33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
Dcpu_setup_6xx.S331 mfspr r3,SPRN_PVR
371 mfspr r3,SPRN_PVR
402 mfspr r3,SPRN_PVR
464 mfspr r3,SPRN_PVR
Dsetup_64.c282 (mfspr(SPRN_PVR) & 0xf00) == 0x100) in cpu_ready_for_interrupts()
378 identify_cpu(0, mfspr(SPRN_PVR)); in early_setup()
635 pvr = PVR_VER(mfspr(SPRN_PVR)); in initialize_cache_info()
Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
/linux-6.1.9/drivers/cpufreq/
Dpmac32-cpufreq.c593 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX()
636 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup()
674 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
Dmaple-cpufreq.c183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
/linux-6.1.9/arch/powerpc/platforms/85xx/
Dstx_gp3.c72 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo()
Dtqm85xx.c71 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo()
Dksi8560.c151 pvid = mfspr(SPRN_PVR); in ksi8560_show_cpuinfo()
Dmpc85xx_ads.c140 pvid = mfspr(SPRN_PVR); in mpc85xx_ads_show_cpuinfo()
/linux-6.1.9/arch/powerpc/boot/
Dutil.S17 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dbhrb_filter_map_test.c86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
/linux-6.1.9/arch/powerpc/perf/
De6500-pmu.c110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu()
De500-pmu.c121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu()
/linux-6.1.9/tools/testing/selftests/powerpc/include/
Dreg.h56 #define SPRN_PVR 0x11F macro
/linux-6.1.9/tools/testing/selftests/powerpc/security/
Dspectre_v2.c151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dsubcore.c420 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()

123