Home
last modified time | relevance | path

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

12345678910

/linux-6.3-rc2/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-6.3-rc2/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.h99 mfspr r10,SPRN_XER
122 mfspr r11, SPRN_SRR1
135 mfspr r9, SPRN_SRR1
142 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.S323 mfspr r12,SPRN_MMUCR
334 mfspr r12,SPRN_MMUCR
358 mfspr r12,SPRN_ESR
396 mfspr r10,SPRN_DEAR
437 mfspr r12,SPRN_MMUCR
448 mfspr r12,SPRN_MMUCR
495 mfspr r10,SPRN_SRR0
602 mfspr r12,SPRN_ESR
810 mfspr r3,SPRN_PVR
824 mfspr r3,SPRN_CCR0
[all …]
A Dhead_32.h22 mfspr r10, SPRN_SPRG_THREAD
25 mfspr r11, SPRN_DEAR
27 mfspr r11, SPRN_DAR
31 mfspr r11, SPRN_ESR
33 mfspr r11, SPRN_DSISR
37 mfspr r11, SPRN_SRR0
49 mfspr r1,SPRN_SPRG_THREAD
124 mfspr r2,SPRN_SPRG_THREAD
127 mfspr r10,SPRN_XER
149 mfspr r9, SPRN_SRR1
[all …]
A Dhead_40x.S113 mfspr r10,SPRN_SRR0
114 mfspr r11,SPRN_SRR1
117 mfspr r10,SPRN_DEAR
118 mfspr r11,SPRN_ESR
160 mfspr r12,SPRN_SRR2
161 mfspr r9,SPRN_SRR3
282 mfspr r9, SPRN_PID
301 mfspr r11,SPRN_SPRG_THREAD
366 mfspr r9, SPRN_PID
385 mfspr r11,SPRN_SPRG_THREAD
[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_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()
142 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __setup_cpu_power7()
156 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __restore_cpu_power7()
171 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __setup_cpu_power8()
192 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __restore_cpu_power8()
211 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power9()
233 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power9()
[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_6xx.S87 mfspr r11,SPRN_HID0
106 mfspr r11,SPRN_HID0
168 mfspr r11,SPRN_HID0
272 mfspr r3,SPRN_L2CR
337 mfspr r3,SPRN_HID0
341 mfspr r3,SPRN_PVR
367 mfspr r4,SPRN_HID1
378 mfspr r4,SPRN_HID1
381 mfspr r3,SPRN_PVR
412 mfspr r3,SPRN_PVR
[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 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 Dhead_8xx.S217 mfspr r10, SPRN_MD_TWC
235 mfspr r11, SPRN_M_TW
245 mfspr r11, SPRN_M_TW
294 mfspr r11, SPRN_M_TW
304 mfspr r11, SPRN_M_TW
332 mfspr r11, SPRN_DAR
359 mfspr r11, SPRN_SRR0
371 mfspr r4,SPRN_BAR
405 mfspr r10, SPRN_SRR0
509 mfspr r10,SPRN_M_TW
[all …]
A Dhead_85xx.S214 mfspr r24,SPRN_PIR
487 mfspr r12,SPRN_ESR
893 mfspr r9,SPRN_PID
900 mfspr r8,SPRN_MAS1
901 mfspr r12,SPRN_MAS3
910 mfspr r3,SPRN_MAS7
1139 mfspr r4,SPRN_PID
1147 mfspr r4,SPRN_MAS1
1156 mfspr r4,SPRN_MAS1
1160 mfspr r4,SPRN_MAS0
[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 …]
/linux-6.3-rc2/arch/powerpc/platforms/83xx/
A Dsuspend-asm.S69 mfspr r5, SPRN_HID0
70 mfspr r6, SPRN_HID1
71 mfspr r7, SPRN_HID2
77 mfspr r4, SPRN_IABR
78 mfspr r5, SPRN_IABR2
79 mfspr r6, SPRN_IBCR
80 mfspr r7, SPRN_DABR
81 mfspr r8, SPRN_DABR2
82 mfspr r9, SPRN_DBCR
91 mfspr r4, SPRN_SPRG0
[all …]
/linux-6.3-rc2/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-6.3-rc2/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()
182 iccfgr = mfspr(SPR_ICCFGR); in setup_cpuinfo()
189 dccfgr = mfspr(SPR_DCCFGR); in setup_cpuinfo()
204 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo()
314 vr = mfspr(SPR_VR); in show_cpuinfo()
315 cpucfgr = mfspr(SPR_CPUCFGR); in show_cpuinfo()
321 vr = mfspr(SPR_VR2); in show_cpuinfo()
323 avr = mfspr(SPR_AVR); in show_cpuinfo()
348 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-6.3-rc2/arch/powerpc/platforms/powernv/
A Didle.c345 sprs.rpr = mfspr(SPRN_RPR); in power7_idle_insn()
378 sprs.amr = mfspr(SPRN_AMR); in power7_idle_insn()
658 mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop()
665 sprs.pid = mfspr(SPRN_PID); in power9_idle_stop()
677 sprs.rpr = mfspr(SPRN_RPR); in power9_idle_stop()
687 sprs.amr = mfspr(SPRN_AMR); in power9_idle_stop()
697 psscr = mfspr(SPRN_PSSCR); in power9_idle_stop()
726 mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
933 psscr = mfspr(SPRN_PSSCR); in power10_idle_stop()
1013 psscr = mfspr(SPRN_PSSCR); in arch300_idle_type()
[all …]
/linux-6.3-rc2/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-6.3-rc2/arch/powerpc/mm/nohash/
A Dtlb_low_64e.S54 mfspr r11, SPRN_SRR1
65 mfspr r11, SPRN_SRR1
113 mfspr r11,SPRN_ESR
129 mfspr r10,SPRN_MAS1
210 mfspr r10,SPRN_MAS1
336 mfspr r15,SPRN_MAS1
341 mfspr r10,SPRN_MAS8
346 mfspr r10,SPRN_MAS1
349 mfspr r10,SPRN_MAS6
352 mfspr r15,SPRN_MAS2
[all …]

Completed in 43 milliseconds

12345678910