Home
last modified time | relevance | path

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

123456789

/Linux-v5.15/arch/powerpc/kernel/
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 …]
Dhead_booke.h49 mfspr r10, SPRN_SPRG_THREAD; \
53 mfspr r11, SPRN_SRR1; \
68 mfspr r13, SPRN_SPRG_RSCRATCH0; \
75 mfspr r12,SPRN_SRR0; \
77 mfspr r9,SPRN_SRR1; \
97 mfspr r2,SPRN_SPRG_THREAD
100 mfspr r10,SPRN_XER
116 mfspr r10, SPRN_SPRG_THREAD
123 mfspr r11, SPRN_SRR1
136 mfspr r9, SPRN_SRR1
[all …]
Dhead_44x.S312 mfspr r10, SPRN_DEAR /* Get faulting address */
323 mfspr r12,SPRN_MMUCR
330 mfspr r11,SPRN_SPRG_THREAD
334 mfspr r12,SPRN_MMUCR
335 mfspr r13,SPRN_PID /* Get PID */
354 mfspr r12,SPRN_ESR
392 mfspr r10,SPRN_DEAR
401 mfspr r11, SPRN_SPRG_RSCRATCH4
403 mfspr r13, SPRN_SPRG_RSCRATCH3
404 mfspr r12, SPRN_SPRG_RSCRATCH2
[all …]
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
39 mfspr r11, SPRN_SRR1 /* check whether user or kernel */
49 mfspr r1,SPRN_SPRG_THREAD
71 mfspr r11, SPRN_SPRG_SCRATCH2
83 mfspr r10,SPRN_SPRG_SCRATCH0
[all …]
Dhead_40x.S110 mfspr r10,SPRN_SRR0
111 mfspr r11,SPRN_SRR1
114 mfspr r10,SPRN_DEAR
115 mfspr r11,SPRN_ESR
119 mfspr r11,SPRN_SRR3 /* check whether user or kernel */
125 mfspr r11,SPRN_SPRG_THREAD /* if from user, start at top of */
157 mfspr r12,SPRN_SRR2
158 mfspr r9,SPRN_SRR3
279 mfspr r9, SPRN_PID
281 mfspr r10, SPRN_DEAR /* Get faulting address */
[all …]
Dfsl_booke_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
40 mfspr r7,SPRN_MAS1 /* Insure IPROT set */
46 mfspr r9,SPRN_TLB1CFG
53 mfspr r7,SPRN_MAS1
[all …]
Dcpu_setup_fsl_booke.S20 mfspr r0, SPRN_L1CSR1
30 mfspr r0, SPRN_L1CSR0
42 1: mfspr r0, SPRN_L1CSR0
59 mfspr r3, SPRN_PWRMGTCR0
78 mfspr r3, SPRN_PWRMGTCR0
97 mfspr r10,SPRN_MMUCFG
121 mfspr r3,SPRN_HID1
139 mfspr r3, SPRN_MMUCFG
167 mfspr r10,SPRN_MMUCFG
190 mfspr r10,SPRN_MMUCFG
[all …]
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()
141 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __setup_cpu_power7()
154 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __restore_cpu_power7()
168 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __setup_cpu_power8()
188 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __restore_cpu_power8()
206 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power9()
227 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power9()
[all …]
Dcpu_setup_6xx.S85 mfspr r11,SPRN_HID0
103 mfspr r11,SPRN_HID0
140 mfspr r11,SPRN_MSSSR0
162 mfspr r11,SPRN_HID0
186 mfspr r10, SPRN_HID1
221 mfspr r11,SPRN_L3CR
232 mfspr r11,SPRN_HID0
263 mfspr r3,SPRN_L2CR
266 mfspr r3,SPRN_MSSCR0
327 mfspr r3,SPRN_HID0
[all …]
Dexceptions-64e.S84 mfspr r10,SPRN_SPRG_TLB_EXFRAME
92 mfspr r10,SPRN_SRR0
94 mfspr r10,SPRN_SRR1
96 mfspr r10,SPRN_SPRG_GEN_SCRATCH
98 mfspr r10,SPRN_SPRG_TLB_SCRATCH
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
[all …]
Dswsusp_booke.S65 mfspr r4,SPRN_TCR
69 1: mfspr r4,SPRN_TBRU
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
[all …]
Dhead_8xx.S198 mfspr r10, SPRN_SRR0 /* Get effective address of fault */
205 mfspr r10, SPRN_M_TWB /* Get level 1 table */
215 mfspr r10, SPRN_MD_TWC
232 0: mfspr r10, SPRN_SPRG_SCRATCH2
233 mfspr r11, SPRN_M_TW
242 mfspr r10, SPRN_SPRG_SCRATCH2
243 mfspr r11, SPRN_M_TW
255 mfspr r10, SPRN_MD_EPN
257 mfspr r10, SPRN_M_TWB /* Get level 1 table */
266 mfspr r10, SPRN_MD_TWC
[all …]
Dhead_fsl_booke.S212 mfspr r24,SPRN_PIR
367 mfspr r5,SPRN_ESR /* Grab the ESR, save it */
369 mfspr r4,SPRN_DEAR /* Grab the DEAR, save it */
424 mfspr r10, SPRN_SPRG_THREAD
428 mfspr r11, SPRN_SRR1
437 mfspr r11, SPRN_SRR1
443 mfspr r10, SPRN_DEAR /* Get faulting address */
454 mfspr r12,SPRN_MAS1 /* Set TID to 0 */
462 mfspr r11,SPRN_SPRG_THREAD
479 mfspr r12,SPRN_ESR
[all …]
Dl2cr_6xx.S116 mfspr r8,SPRN_HID0 /* Save HID0 in r8 */
123 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
[all …]
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S46 mfspr r3, SPRN_DSCR
51 mfspr r3, SPRN_DABR
70 mfspr r8,SPRN_DEC
112 mfspr r8, SPRN_MMCR2
118 mfspr r7, SPRN_MMCR0 /* save MMCR0 */
120 mfspr r6, SPRN_MMCRA
128 mfspr r5, SPRN_MMCR1
129 mfspr r9, SPRN_SIAR
130 mfspr r10, SPRN_SDAR
137 mfspr r9, SPRN_SIER
[all …]
Dbook3s_hv_p9_entry.c228 host_hfscr = mfspr(SPRN_HFSCR); in kvmhv_vcpu_entry_p9()
229 host_ciabr = mfspr(SPRN_CIABR); in kvmhv_vcpu_entry_p9()
230 host_dawr0 = mfspr(SPRN_DAWR0); in kvmhv_vcpu_entry_p9()
231 host_dawrx0 = mfspr(SPRN_DAWRX0); in kvmhv_vcpu_entry_p9()
232 host_psscr = mfspr(SPRN_PSSCR); in kvmhv_vcpu_entry_p9()
233 host_pidr = mfspr(SPRN_PID); in kvmhv_vcpu_entry_p9()
235 host_dawr1 = mfspr(SPRN_DAWR1); in kvmhv_vcpu_entry_p9()
236 host_dawrx1 = mfspr(SPRN_DAWRX1); in kvmhv_vcpu_entry_p9()
244 local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); in kvmhv_vcpu_entry_p9()
245 local_paca->kvm_hstate.host_spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
[all …]
Dbookehv_interrupts.S71 mfspr r10, SPRN_PID
82 1: mfspr r7, SPRN_TBRU
83 mfspr r8, SPRN_TBRL
84 mfspr r9, SPRN_TBRU
146 mfspr r8, SPRN_ESR
151 mfspr r9, SPRN_DEAR
188 mfspr r12, \scratch
190 mfspr r5, \scratch
202 mfspr r5, \srr0
203 mfspr r6, \srr1
[all …]
/Linux-v5.15/arch/powerpc/platforms/83xx/
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-v5.15/tools/testing/selftests/powerpc/pmu/ebb/
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()
236 mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), in dump_ebb_hw_state()
237 mfspr(SPRN_EBBHR), bescr, decode_bescr(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()
[all …]
/Linux-v5.15/arch/powerpc/platforms/powernv/
Didle.c75 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
76 uint64_t hid0_val = mfspr(SPRN_HID0); in pnv_save_sprs_for_deep_states()
77 uint64_t hmeer_val = mfspr(SPRN_HMEER); in pnv_save_sprs_for_deep_states()
118 uint64_t hid1_val = mfspr(SPRN_HID1); in pnv_save_sprs_for_deep_states()
119 uint64_t hid4_val = mfspr(SPRN_HID4); in pnv_save_sprs_for_deep_states()
120 uint64_t hid5_val = mfspr(SPRN_HID5); in pnv_save_sprs_for_deep_states()
342 sprs.tscr = mfspr(SPRN_TSCR); in power7_idle_insn()
343 sprs.worc = mfspr(SPRN_WORC); in power7_idle_insn()
345 sprs.sdr1 = mfspr(SPRN_SDR1); in power7_idle_insn()
346 sprs.rpr = mfspr(SPRN_RPR); in power7_idle_insn()
[all …]
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-v5.15/arch/openrisc/kernel/
Dsetup.c98 unsigned long upr = mfspr(SPR_UPR); in print_cpuinfo()
99 unsigned long vr = mfspr(SPR_VR); in print_cpuinfo()
133 1 << ((mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTS) >> 2), in print_cpuinfo()
134 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); in print_cpuinfo()
137 1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> 2), in print_cpuinfo()
138 1 + (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTW)); 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()
[all …]
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dcache.S56 mfspr r8,SPRN_HID0 /* Save SPRN_HID0 in r8 */
85 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
291 3: mfspr r0,SPRN_L2CR /* wait for it to go to 0 */
[all …]
Dsleep.S136 mfspr r4,SPRN_DBAT4U
138 mfspr r4,SPRN_DBAT4L
140 mfspr r4,SPRN_DBAT5U
142 mfspr r4,SPRN_DBAT5L
144 mfspr r4,SPRN_DBAT6U
146 mfspr r4,SPRN_DBAT6L
148 mfspr r4,SPRN_DBAT7U
150 mfspr r4,SPRN_DBAT7L
152 mfspr r4,SPRN_IBAT4U
154 mfspr r4,SPRN_IBAT4L
[all …]
/Linux-v5.15/arch/powerpc/include/asm/book3s/64/
Dkup.h31 mfspr \gpr2, SPRN_AMR
49 mfspr \gpr2, SPRN_IAMR
71 mfspr \gpr1, SPRN_AMR
89 mfspr \gpr1, SPRN_AMR
152 mfspr \gpr1, SPRN_AMR
176 mfspr \gpr1, SPRN_IAMR
241 amr = mfspr(SPRN_AMR);
249 iamr = mfspr(SPRN_IAMR);
293 unsigned long amr = mfspr(SPRN_AMR);
304 WARN_ON_ONCE(mfspr(SPRN_AMR) != AMR_KUAP_BLOCKED);
[all …]

123456789