/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
H A D | header.c | 20 pvr = mfspr(SPRN_PVR); in get_cpuid() 37 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
|
H A D | utils_header.h | 11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/ |
H A D | header.c | 20 pvr = mfspr(SPRN_PVR); in get_cpuid() 37 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
|
H A D | utils_header.h | 11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
|
/kernel/linux/linux-6.6/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 | blacklisted_events_test.c | 82 pvr_min = PVR_MIN(mfspr(SPRN_PVR)); in check_for_power9_version()
|
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 | event_alternatives_tests_p9.c | 38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 128 #define SPRN_PVR 287 macro 153 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | early_32.c | 34 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
|
H A D | cpu_setup_6xx.S | 331 mfspr r3,SPRN_PVR 371 mfspr r3,SPRN_PVR 402 mfspr r3,SPRN_PVR 464 mfspr r3,SPRN_PVR
|
H A D | dawr.c | 101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
|
/kernel/linux/linux-6.6/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 | dawr.c | 101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
|
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | util.S | 17 #define SPRN_PVR 0x11F /* Processor Version Register */ define
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | util.S | 17 #define SPRN_PVR 0x11F /* Processor Version Register */ define
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
H A D | stx_gp3.c | 73 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo()
|
H A D | tqm85xx.c | 72 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | e500-pmu.c | 121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu()
|
H A D | e6500-pmu.c | 110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu()
|