Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dreserved_bits_mmcra_sample_elig_mode_test.c24 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 Dgeneric_events_valid_test.c20 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 Devent_alternatives_tests_p10.c29 int pvr = PVR_VER(mfspr(SPRN_PVR)); 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/tools/perf/arch/powerpc/util/
H A Dutils_header.h11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
/linux/arch/powerpc/kernel/
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 Dearly_32.c33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
H A Dsetup_64.c279 (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 Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
/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 switch (PVR_VER(mfspr(SPRN_PVR))) { 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/perf/util/perf-regs-arch/
H A Dperf_regs_powerpc.c155 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in __perf_reg_mask_powerpc()
/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()
/linux/arch/powerpc/kvm/
H A Demulate.c140 case SPRN_PVR: in kvmppc_emulate_mfspr()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-hwbreak.c28 #define SPRN_PVR 0x11F macro
624 is_8xx = mfspr(SPRN_PVR) == PVR_8xx; in main()
/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c89 unsigned long pvr = mfspr(SPRN_PVR); in scan_pkey_feature()

123