| /linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
| H A D | reserved_bits_mmcra_sample_elig_mode_test.c | 24 int pvr = PVR_VER(mfspr(SPRN_PVR)); in reserved_bits_mmcra_sample_elig_mode() 66 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in reserved_bits_mmcra_sample_elig_mode()
|
| H A D | generic_events_valid_test.c | 20 int pvr = mfspr(SPRN_PVR); in generic_events_valid_test() 76 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in generic_events_valid_test()
|
| H A D | event_alternatives_tests_p10.c | 29 int pvr = PVR_VER(mfspr(SPRN_PVR)); 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/tools/perf/arch/powerpc/util/ |
| H A D | utils_header.h | 11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
|
| /linux/arch/powerpc/kernel/ |
| 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 | early_32.c | 33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
|
| H A D | setup_64.c | 279 (mfspr(SPRN_PVR) & 0xf00) == 0x100) in cpu_ready_for_interrupts() 375 identify_cpu(0, mfspr(SPRN_PVR)); in early_setup() 636 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/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 switch (PVR_VER(mfspr(SPRN_PVR))) { 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/perf/util/perf-regs-arch/ |
| H A D | perf_regs_powerpc.c | 155 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in __perf_reg_mask_powerpc()
|
| /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()
|
| /linux/arch/powerpc/kvm/ |
| H A D | emulate.c | 140 case SPRN_PVR: in kvmppc_emulate_mfspr()
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-hwbreak.c | 28 #define SPRN_PVR 0x11F macro 624 is_8xx = mfspr(SPRN_PVR) == PVR_8xx; in main()
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | pkeys.c | 89 unsigned long pvr = mfspr(SPRN_PVR); in scan_pkey_feature()
|