Home
last modified time | relevance | path

Searched refs:mfspr (Results 1 – 25 of 246) sorted by relevance

12345678910

/linux/arch/powerpc/kvm/
A Dbook3s_hv_p9_perf.c54 host_os_sprs->pmc1 = mfspr(SPRN_PMC1); in switch_pmu_to_guest()
55 host_os_sprs->pmc2 = mfspr(SPRN_PMC2); in switch_pmu_to_guest()
56 host_os_sprs->pmc3 = mfspr(SPRN_PMC3); in switch_pmu_to_guest()
57 host_os_sprs->pmc4 = mfspr(SPRN_PMC4); in switch_pmu_to_guest()
58 host_os_sprs->pmc5 = mfspr(SPRN_PMC5); in switch_pmu_to_guest()
59 host_os_sprs->pmc6 = mfspr(SPRN_PMC6); in switch_pmu_to_guest()
62 host_os_sprs->sdar = mfspr(SPRN_SDAR); in switch_pmu_to_guest()
63 host_os_sprs->siar = mfspr(SPRN_SIAR); in switch_pmu_to_guest()
150 vcpu->arch.sdar = mfspr(SPRN_SDAR); in switch_pmu_to_host()
151 vcpu->arch.siar = mfspr(SPRN_SIAR); in switch_pmu_to_host()
[all …]
A Dbook3s_hv_interrupts.S47 mfspr r3, SPRN_DSCR
52 mfspr r3, SPRN_DABR
71 mfspr r8,SPRN_DEC
133 mfspr r9, SPRN_SIAR
141 mfspr r9, SPRN_SIER
145 mfspr r3, SPRN_PMC1
146 mfspr r5, SPRN_PMC2
147 mfspr r6, SPRN_PMC3
148 mfspr r7, SPRN_PMC4
149 mfspr r8, SPRN_PMC5
[all …]
A Dbook3s_hv_p9_entry.c60 vcpu->arch.tar = mfspr(SPRN_TAR); in store_spr_state()
74 vcpu->arch.tid = mfspr(SPRN_TIDR); in store_spr_state()
76 vcpu->arch.amr = mfspr(SPRN_AMR); in store_spr_state()
566 host_hfscr = mfspr(SPRN_HFSCR); in kvmhv_vcpu_entry_p9()
567 host_ciabr = mfspr(SPRN_CIABR); in kvmhv_vcpu_entry_p9()
571 host_pidr = mfspr(SPRN_PID); in kvmhv_vcpu_entry_p9()
823 purr = mfspr(SPRN_PURR); in kvmhv_vcpu_entry_p9()
824 spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
839 dpdes = mfspr(SPRN_DPDES); in kvmhv_vcpu_entry_p9()
843 vc->vtb = mfspr(SPRN_VTB); in kvmhv_vcpu_entry_p9()
[all …]
A Dbookehv_interrupts.S71 mfspr r10, SPRN_PID
83 mfspr r8, SPRN_TBRL
84 mfspr r9, SPRN_TBRU
146 mfspr r8, SPRN_ESR
190 mfspr r5, \scratch
202 mfspr r5, \srr0
203 mfspr r6, \srr1
289 mfspr r5, \srr0
294 mfspr r6, \srr1
316 mfspr r5, \srr0
[all …]
/linux/arch/powerpc/kernel/
A Dcpu_setup_ppc970.S25 mfspr r3,SPRN_HID4
32 mfspr r3,SPRN_HID5
40 mfspr r0,SPRN_HID1
76 mfspr r0,SPRN_HID0
90 mfspr r0,SPRN_HID0
98 mfspr r0,SPRN_HID0
99 mfspr r0,SPRN_HID0
100 mfspr r0,SPRN_HID0
101 mfspr r0,SPRN_HID0
102 mfspr r0,SPRN_HID0
[all …]
A Dhead_booke.h100 mfspr r10,SPRN_XER
123 mfspr r11, SPRN_SRR1
136 mfspr r9, SPRN_SRR1
143 mfspr r12,SPRN_SRR0
246 mfspr r0,SPRN_MAS0
248 mfspr r0,SPRN_MAS1
250 mfspr r0,SPRN_MAS2
252 mfspr r0,SPRN_MAS3
254 mfspr r0,SPRN_MAS6
257 mfspr r0,SPRN_MAS7
[all …]
A Dhead_44x.S322 mfspr r12,SPRN_MMUCR
333 mfspr r12,SPRN_MMUCR
357 mfspr r12,SPRN_ESR
395 mfspr r10,SPRN_DEAR
436 mfspr r12,SPRN_MMUCR
447 mfspr r12,SPRN_MMUCR
494 mfspr r10,SPRN_SRR0
601 mfspr r12,SPRN_ESR
809 mfspr r3,SPRN_PVR
823 mfspr r3,SPRN_CCR0
[all …]
A Dhead_32.h22 mfspr r10, SPRN_SPRG_THREAD
24 mfspr r11, SPRN_DAR
26 mfspr r11, SPRN_DSISR
29 mfspr r11, SPRN_SRR0
41 mfspr r1,SPRN_SPRG_THREAD
81 mfspr r12, SPRN_SPRG_THREAD
114 mfspr r2,SPRN_SPRG_THREAD
117 mfspr r10,SPRN_XER
139 mfspr r9, SPRN_SRR1
140 mfspr r12, SPRN_SRR0
[all …]
A Dhead_8xx.S213 mfspr r11, SPRN_M_TW
223 mfspr r11, SPRN_M_TW
265 mfspr r11, SPRN_M_TW
275 mfspr r11, SPRN_M_TW
303 mfspr r11, SPRN_DAR
311 mfspr r11, SPRN_DAR
334 mfspr r11, SPRN_SRR0
346 mfspr r4,SPRN_BAR
375 mfspr r10, SPRN_DAR
503 mfspr r10,SPRN_M_TW
[all …]
A D85xx_entry_mapping.S8 mfspr r7, SPRN_PID0
13 mfspr r7,SPRN_MAS1
17 mfspr r7,SPRN_MMUCFG
22 mfspr r7,SPRN_PID1
27 mfspr r7,SPRN_MAS1
30 mfspr r7, SPRN_PID2
37 mfspr r7,SPRN_MAS0
53 mfspr r7,SPRN_MAS1
91 mfspr r8,SPRN_MAS3
111 mfspr r6,SPRN_MAS2
[all …]
A Dcpu_setup_e500.S22 mfspr r0, SPRN_L1CSR1
32 mfspr r0, SPRN_L1CSR0
44 1: mfspr r0, SPRN_L1CSR0
99 mfspr r10,SPRN_MMUCFG
123 mfspr r3,SPRN_HID1
141 mfspr r3, SPRN_MMUCFG
169 mfspr r10,SPRN_MMUCFG
192 mfspr r10,SPRN_MMUCFG
232 mfspr r3,SPRN_L1CFG0
250 mfspr r8,SPRN_HID0
[all …]
A Dcpu_setup_power.c64 fscr = mfspr(SPRN_FSCR); in init_FSCR()
73 fscr = mfspr(SPRN_FSCR); in init_FSCR_power9()
83 fscr = mfspr(SPRN_FSCR); in init_FSCR_power10()
93 hfscr = mfspr(SPRN_HFSCR); in init_HFSCR()
148 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __setup_cpu_power7()
162 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __restore_cpu_power7()
177 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __setup_cpu_power8()
198 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __restore_cpu_power8()
217 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power9()
239 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power9()
[all …]
A Dexceptions-64e.S92 mfspr r10,SPRN_SRR0
94 mfspr r10,SPRN_SRR1
100 mfspr r10,SPRN_MAS0
102 mfspr r10,SPRN_MAS1
104 mfspr r10,SPRN_MAS2
106 mfspr r10,SPRN_MAS3
108 mfspr r10,SPRN_MAS6
110 mfspr r10,SPRN_MAS7
113 mfspr r10,SPRN_MAS5
115 mfspr r10,SPRN_MAS8
[all …]
A Dcpu_setup_6xx.S96 mfspr r11,SPRN_HID0
115 mfspr r11,SPRN_HID0
187 mfspr r11,SPRN_HID0
291 mfspr r3,SPRN_L2CR
356 mfspr r3,SPRN_HID0
360 mfspr r3,SPRN_PVR
386 mfspr r4,SPRN_HID1
397 mfspr r4,SPRN_HID1
400 mfspr r3,SPRN_PVR
431 mfspr r3,SPRN_PVR
[all …]
A Dswsusp_85xx.S65 mfspr r4,SPRN_TCR
71 mfspr r5,SPRN_TBRL
73 mfspr r3,SPRN_TBRU
78 mfspr r4,SPRN_SPRG0
80 mfspr r4,SPRN_SPRG1
82 mfspr r4,SPRN_SPRG2
84 mfspr r4,SPRN_SPRG3
86 mfspr r4,SPRN_SPRG4
88 mfspr r4,SPRN_SPRG5
90 mfspr r4,SPRN_SPRG6
[all …]
A Dl2cr_6xx.S123 mfspr r4,SPRN_L2CR
154 mfspr r4,SPRN_MSSCR0
217 10: mfspr r3,SPRN_L2CR
224 3: mfspr r3,SPRN_L2CR
244 mfspr r3,SPRN_MSSCR0
269 mfspr r3,SPRN_L2CR
299 mfspr r4,SPRN_L3CR
350 10: mfspr r3,SPRN_L3CR
388 mfspr r3,SPRN_L3CR
432 mfspr r3,SPRN_HID0
[all …]
A Dhead_85xx.S213 mfspr r24,SPRN_PIR
430 mfspr r11, SPRN_SRR1
874 mfspr r9,SPRN_PID
881 mfspr r8,SPRN_MAS1
882 mfspr r12,SPRN_MAS3
891 mfspr r3,SPRN_MAS7
1120 mfspr r4,SPRN_PID
1128 mfspr r4,SPRN_MAS1
1137 mfspr r4,SPRN_MAS1
1141 mfspr r4,SPRN_MAS0
[all …]
/linux/arch/powerpc/platforms/83xx/
A Dsuspend-asm.S69 mfspr r5, SPRN_HID0
70 mfspr r6, SPRN_HID1
78 mfspr r4, SPRN_IABR
79 mfspr r5, SPRN_IABR2
80 mfspr r6, SPRN_IBCR
81 mfspr r7, SPRN_DABR
82 mfspr r8, SPRN_DABR2
83 mfspr r9, SPRN_DBCR
92 mfspr r4, SPRN_SPRG0
93 mfspr r5, SPRN_SPRG1
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
A Debb.c39 val = mfspr(SPRN_MMCR0); in reset_ebb_with_clear_mask()
61 val = mfspr(SPRN_MMCR0); in ebb_check_mmcr0()
104 val = mfspr(SPRN_BESCR); in standard_ebb_callee()
113 val = mfspr(SPRN_MMCR0); in standard_ebb_callee()
221 mmcr0 = mfspr(SPRN_MMCR0); in dump_ebb_hw_state()
222 bescr = mfspr(SPRN_BESCR); in dump_ebb_hw_state()
238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
240 mfspr(SPRN_SIAR)); in dump_ebb_hw_state()
391 val = mfspr(SPRN_MMCRA); in ebb_child()
[all …]
/linux/arch/openrisc/kernel/
A Dsetup.c98 unsigned long upr = mfspr(SPR_UPR); in print_cpuinfo()
99 unsigned long vr = mfspr(SPR_VR); in print_cpuinfo()
167 iccfgr = mfspr(SPR_ICCFGR); in setup_cpuinfo()
174 dccfgr = mfspr(SPR_DCCFGR); in setup_cpuinfo()
189 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo()
299 vr = mfspr(SPR_VR); in show_cpuinfo()
300 cpucfgr = mfspr(SPR_CPUCFGR); in show_cpuinfo()
306 vr = mfspr(SPR_VR2); in show_cpuinfo()
308 avr = mfspr(SPR_AVR); in show_cpuinfo()
333 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); in show_cpuinfo()
[all …]
A Dhead.S622 l.mfspr r30,r0,SPR_SR
729 l.mfspr r25,r0,SPR_UPR
741 l.mfspr r25,r0,SPR_SR
751 l.mfspr r25,r0,SPR_PMR
796 l.mfspr r30,r0,SPR_SR
828 l.mfspr r24,r0,SPR_UPR
835 l.mfspr r6,r0,SPR_SR
875 l.mfspr r6,r0,SPR_SR
894 l.mfspr r24,r0,SPR_UPR
901 l.mfspr r6,r0,SPR_SR
[all …]
/linux/arch/powerpc/platforms/powernv/
A Didle.c347 sprs.rpr = mfspr(SPRN_RPR); in power7_idle_insn()
380 sprs.amr = mfspr(SPRN_AMR); in power7_idle_insn()
660 mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop()
667 sprs.pid = mfspr(SPRN_PID); in power9_idle_stop()
679 sprs.rpr = mfspr(SPRN_RPR); in power9_idle_stop()
689 sprs.amr = mfspr(SPRN_AMR); in power9_idle_stop()
699 psscr = mfspr(SPRN_PSSCR); in power9_idle_stop()
728 mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
935 psscr = mfspr(SPRN_PSSCR); in power10_idle_stop()
1015 psscr = mfspr(SPRN_PSSCR); in arch300_idle_type()
[all …]
A Dsubcore-asm.S43 mfspr r6, SPRN_LDBAR
44 mfspr r7, SPRN_PMMAR
45 mfspr r8, SPRN_PMCR
46 mfspr r9, SPRN_RPR
47 mfspr r10, SPRN_SDR1
60 1: mfspr r4, SPRN_HID0
/linux/arch/powerpc/platforms/powermac/
A Dcache.S85 mfspr r3,SPRN_HID0
99 mfspr r5,SPRN_L2CR
156 1: mfspr r3,SPRN_L2CR
167 mfspr r0,SPRN_HID0
175 mfspr r0,SPRN_HID0
204 mfspr r0,SPRN_MSSCR0
246 mfspr r6,SPRN_LDSTCR
271 mfspr r3,SPRN_L2CR
313 1: mfspr r4,SPRN_L2CR
320 4: mfspr r3,SPRN_L3CR
[all …]
/linux/tools/testing/selftests/powerpc/dexcr/
A Ddexcr_test.c18 unsigned long dexcr = mfspr(SPRN_DEXCR_RO); in dexcr_prctl_onexec_test_child()
78 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "setting aspect did not take effect"); in dexcr_prctl_aspect_test()
87 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "clearing aspect did not take effect"); in dexcr_prctl_aspect_test()
97 …FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "scheduling aspect to set on exec should not change it … in dexcr_prctl_aspect_test()
107 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
116 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "process aspect should be set"); in dexcr_prctl_aspect_test()
124 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should be clear"); in dexcr_prctl_aspect_test()
138 FAIL_IF_EXIT_MSG(mfspr(SPRN_DEXCR_RO) & aspect, in dexcr_prctl_aspect_test()
160 FAIL_IF_EXIT_MSG(!(mfspr(SPRN_DEXCR_RO) & aspect), in dexcr_prctl_aspect_test()

Completed in 713 milliseconds

12345678910