Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/arch/powerpc/kernel/
Dcpu_setup_ppc970.S30 mfspr r3,SPRN_HID4
37 mfspr r3,SPRN_HID5
45 mfspr r0,SPRN_HID1
81 mfspr r0,SPRN_HID0
95 mfspr r0,SPRN_HID0
103 mfspr r0,SPRN_HID0
104 mfspr r0,SPRN_HID0
105 mfspr r0,SPRN_HID0
106 mfspr r0,SPRN_HID0
107 mfspr r0,SPRN_HID0
[all …]
Dhead_40x.S114 mfspr r11,SPRN_SRR1; /* check whether user or kernel */\
117 mfspr r1,SPRN_SPRG_THREAD; /* if from user, start at top of */\
125 mfspr r10,SPRN_SPRG_SCRATCH0; \
127 mfspr r12,SPRN_SPRG_SCRATCH1; \
131 mfspr r10,SPRN_SPRG_SCRATCH2; \
132 mfspr r12,SPRN_SRR0; \
134 mfspr r9,SPRN_SRR1; \
153 mfspr r11,SPRN_SRR3; /* check whether user or kernel */\
160 mfspr r11,SPRN_SPRG_THREAD; /* if from user, start at top of */\
169 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
[all …]
Dhead_44x.S315 mfspr r10, SPRN_DEAR /* Get faulting address */
326 mfspr r12,SPRN_MMUCR
333 mfspr r11,SPRN_SPRG_THREAD
337 mfspr r12,SPRN_MMUCR
338 mfspr r13,SPRN_PID /* Get PID */
357 mfspr r12,SPRN_ESR
396 mfspr r10,SPRN_DEAR
405 mfspr r11, SPRN_SPRG_RSCRATCH4
407 mfspr r13, SPRN_SPRG_RSCRATCH3
408 mfspr r12, SPRN_SPRG_RSCRATCH2
[all …]
Dhead_8xx.S122 mfspr r11,SPRN_SRR1; /* check whether user or kernel */ \
126 mfspr r11,SPRN_SPRG_THREAD; \
137 mfspr r10,SPRN_SPRG_SCRATCH0; \
139 mfspr r12,SPRN_SPRG_SCRATCH1; \
143 mfspr r12,SPRN_SRR0; \
144 mfspr r9,SPRN_SRR1; \
208 mfspr r4,SPRN_DAR
212 mfspr r5,SPRN_DSISR
236 mfspr r4,SPRN_DAR
240 mfspr r5,SPRN_DSISR
[all …]
Dhead_booke.h37 mfspr r10, SPRN_SPRG_THREAD; \
41 mfspr r11, SPRN_SRR1; \
53 mfspr r13, SPRN_SPRG_RSCRATCH0; \
60 mfspr r12,SPRN_SRR0; \
62 mfspr r9,SPRN_SRR1; \
101 mfspr r8,SPRN_PIR; \
129 mfspr r11,exc_level_srr1; /* check whether user or kernel */\
132 mfspr r11,SPRN_SPRG_THREAD; /* if from user, start at top of */\
153 2: mfspr r8,SPRN_SPRG_RSCRATCH_##exc_level; \
157 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
[all …]
Dcpu_setup_fsl_booke.S25 mfspr r0, SPRN_L1CSR1
35 mfspr r0, SPRN_L1CSR0
47 1: mfspr r0, SPRN_L1CSR0
64 mfspr r3, SPRN_PWRMGTCR0
83 mfspr r3, SPRN_PWRMGTCR0
102 mfspr r10,SPRN_MMUCFG
119 mfspr r3,SPRN_HID0
135 mfspr r3,SPRN_HID1
153 mfspr r3, SPRN_MMUCFG
181 mfspr r10,SPRN_MMUCFG
[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_6xx.S89 mfspr r11,SPRN_HID0
107 mfspr r11,SPRN_HID0
144 mfspr r11,SPRN_MSSSR0
166 mfspr r11,SPRN_HID0
190 mfspr r10, SPRN_HID1
225 mfspr r11,SPRN_L3CR
236 mfspr r11,SPRN_HID0
267 mfspr r3,SPRN_L2CR
270 mfspr r3,SPRN_MSSCR0
330 mfspr r3,SPRN_HID0
[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_fsl_booke.S199 mfspr r2,SPRN_HID0
224 mfspr r24,SPRN_PIR
381 mfspr r5,SPRN_ESR /* Grab the ESR, save it, pass arg3 */
383 mfspr r4,SPRN_DEAR /* Grab the DEAR, save it, pass arg2 */
444 mfspr r10, SPRN_SPRG_THREAD
448 mfspr r11, SPRN_SRR1
456 mfspr r10, SPRN_DEAR /* Get faulting address */
467 mfspr r12,SPRN_MAS1 /* Set TID to 0 */
475 mfspr r11,SPRN_SPRG_THREAD
492 mfspr r12,SPRN_ESR
[all …]
Dexceptions-64e.S97 mfspr r10,SPRN_SPRG_TLB_EXFRAME
105 mfspr r10,SPRN_SRR0
107 mfspr r10,SPRN_SRR1
109 mfspr r10,SPRN_SPRG_GEN_SCRATCH
111 mfspr r10,SPRN_SPRG_TLB_SCRATCH
113 mfspr r10,SPRN_MAS0
115 mfspr r10,SPRN_MAS1
117 mfspr r10,SPRN_MAS2
119 mfspr r10,SPRN_MAS3
121 mfspr r10,SPRN_MAS6
[all …]
Dl2cr_6xx.S128 mfspr r8,SPRN_HID0 /* Save HID0 in r8 */
135 mfspr r4,SPRN_L2CR
166 mfspr r4,SPRN_MSSCR0
229 10: mfspr r3,SPRN_L2CR
236 3: mfspr r3,SPRN_L2CR
256 mfspr r3,SPRN_MSSCR0
282 mfspr r3,SPRN_L2CR
312 mfspr r4,SPRN_L3CR
363 10: mfspr r3,SPRN_L3CR
401 mfspr r3,SPRN_L3CR
[all …]
Didle_book3s.S66 mfspr r3,SPRN_PTCR
68 mfspr r3,SPRN_LPCR
71 mfspr r3,SPRN_SDR1
74 mfspr r3,SPRN_RPR
76 mfspr r3,SPRN_SPURR
78 mfspr r3,SPRN_PURR
80 mfspr r3,SPRN_TSCR
82 mfspr r3,SPRN_DSCR
84 mfspr r3,SPRN_AMOR
86 mfspr r3,SPRN_WORT
[all …]
Dhead_32.S259 mfspr r11,SPRN_SRR1; /* check whether user or kernel */ \
263 mfspr r11,SPRN_SPRG_THREAD; \
274 mfspr r10,SPRN_SPRG_SCRATCH0; \
276 mfspr r12,SPRN_SPRG_SCRATCH1; \
280 mfspr r12,SPRN_SRR0; \
281 mfspr r9,SPRN_SRR1; \
368 mfspr r11,SPRN_SPRG_RTAS
376 mfspr r4,SPRN_SPRG_RTAS
390 mfspr r10,SPRN_DSISR
394 mfspr r4,SPRN_DAR /* into the hash table */
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S57 mfspr r3, SPRN_DSCR
62 mfspr r3, SPRN_DABR
71 mfspr r8, SPRN_MMCR2
77 mfspr r7, SPRN_MMCR0 /* save MMCR0 */
79 mfspr r6, SPRN_MMCRA
87 mfspr r5, SPRN_MMCR1
88 mfspr r9, SPRN_SIAR
89 mfspr r10, SPRN_SDAR
96 mfspr r9, SPRN_SIER
100 mfspr r3, SPRN_PMC1
[all …]
Dbookehv_interrupts.S78 mfspr r10, SPRN_PID
89 1: mfspr r7, SPRN_TBRU
90 mfspr r8, SPRN_TBRL
91 mfspr r9, SPRN_TBRU
153 mfspr r8, SPRN_ESR
158 mfspr r9, SPRN_DEAR
195 mfspr r12, \scratch
197 mfspr r5, \scratch
209 mfspr r5, \srr0
210 mfspr r6, \srr1
[all …]
De500mc.c79 val = mfspr(SPRN_MAS1); in kvmppc_e500_tlbil_one()
145 if (vcpu->arch.oldpir != mfspr(SPRN_PIR) || in kvmppc_core_vcpu_load_e500mc()
154 vcpu->arch.eplc = mfspr(SPRN_EPLC); in kvmppc_core_vcpu_put_e500mc()
155 vcpu->arch.epsc = mfspr(SPRN_EPSC); in kvmppc_core_vcpu_put_e500mc()
157 vcpu->arch.shared->sprg0 = mfspr(SPRN_GSPRG0); in kvmppc_core_vcpu_put_e500mc()
158 vcpu->arch.shared->sprg1 = mfspr(SPRN_GSPRG1); in kvmppc_core_vcpu_put_e500mc()
159 vcpu->arch.shared->sprg2 = mfspr(SPRN_GSPRG2); in kvmppc_core_vcpu_put_e500mc()
160 vcpu->arch.shared->sprg3 = mfspr(SPRN_GSPRG3); in kvmppc_core_vcpu_put_e500mc()
162 vcpu->arch.shared->srr0 = mfspr(SPRN_GSRR0); in kvmppc_core_vcpu_put_e500mc()
163 vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); in kvmppc_core_vcpu_put_e500mc()
[all …]
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dsuspend-asm.S72 mfspr r5, SPRN_HID0
73 mfspr r6, SPRN_HID1
74 mfspr r7, SPRN_HID2
80 mfspr r4, SPRN_IABR
81 mfspr r5, SPRN_IABR2
82 mfspr r6, SPRN_IBCR
83 mfspr r7, SPRN_DABR
84 mfspr r8, SPRN_DABR2
85 mfspr r9, SPRN_DBCR
94 mfspr r4, SPRN_SPRG0
[all …]
/Linux-v4.19/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-v4.19/arch/powerpc/include/asm/
Doprofile_impl.h75 return mfspr(SPRN_PMC1); in classic_ctr_read()
77 return mfspr(SPRN_PMC2); in classic_ctr_read()
79 return mfspr(SPRN_PMC3); in classic_ctr_read()
81 return mfspr(SPRN_PMC4); in classic_ctr_read()
83 return mfspr(SPRN_PMC5); in classic_ctr_read()
85 return mfspr(SPRN_PMC6); in classic_ctr_read()
90 return mfspr(SPRN_PMC7); in classic_ctr_read()
92 return mfspr(SPRN_PMC8); in classic_ctr_read()
/Linux-v4.19/arch/powerpc/oprofile/
Dop_model_pa6t.c45 return mfspr(SPRN_PA6T_PMC0); in ctr_read()
47 return mfspr(SPRN_PA6T_PMC1); in ctr_read()
49 return mfspr(SPRN_PA6T_PMC2); in ctr_read()
51 return mfspr(SPRN_PA6T_PMC3); in ctr_read()
53 return mfspr(SPRN_PA6T_PMC4); in ctr_read()
55 return mfspr(SPRN_PA6T_PMC5); in ctr_read()
155 mfspr(SPRN_PA6T_MMCR0)); in pa6t_cpu_setup()
157 mfspr(SPRN_PA6T_MMCR1)); in pa6t_cpu_setup()
189 mmcr0 = mfspr(SPRN_PA6T_MMCR0); in pa6t_stop()
202 unsigned long pc = mfspr(SPRN_PA6T_SIAR); in pa6t_handle_interrupt()
[all …]
/Linux-v4.19/arch/openrisc/kernel/
Dsetup.c100 unsigned long upr = mfspr(SPR_UPR); in print_cpuinfo()
101 unsigned long vr = mfspr(SPR_VR); in print_cpuinfo()
135 1 << ((mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTS) >> 2), in print_cpuinfo()
136 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); in print_cpuinfo()
139 1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> 2), in print_cpuinfo()
140 1 + (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTW)); in print_cpuinfo()
185 iccfgr = mfspr(SPR_ICCFGR); in setup_cpuinfo()
192 dccfgr = mfspr(SPR_DCCFGR); in setup_cpuinfo()
207 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo()
335 vr = mfspr(SPR_VR); in show_cpuinfo()
[all …]
Dhead.S59 #define EMERGENCY_PRINT_LOAD_GPR4 l.mfspr r4,r0,SPR_SHADOW_GPR(14)
62 #define EMERGENCY_PRINT_LOAD_GPR5 l.mfspr r5,r0,SPR_SHADOW_GPR(15)
65 #define EMERGENCY_PRINT_LOAD_GPR6 l.mfspr r6,r0,SPR_SHADOW_GPR(16)
68 #define EMERGENCY_PRINT_LOAD_GPR7 l.mfspr r7,r0,SPR_SHADOW_GPR(7)
71 #define EMERGENCY_PRINT_LOAD_GPR8 l.mfspr r8,r0,SPR_SHADOW_GPR(8)
74 #define EMERGENCY_PRINT_LOAD_GPR9 l.mfspr r9,r0,SPR_SHADOW_GPR(9)
102 #define EXCEPTION_LOAD_GPR2 l.mfspr r2,r0,SPR_SHADOW_GPR(2)
105 #define EXCEPTION_LOAD_GPR3 l.mfspr r3,r0,SPR_SHADOW_GPR(3)
108 #define EXCEPTION_LOAD_GPR4 l.mfspr r4,r0,SPR_SHADOW_GPR(4)
111 #define EXCEPTION_LOAD_GPR5 l.mfspr r5,r0,SPR_SHADOW_GPR(5)
[all …]
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dcache.S61 mfspr r8,SPRN_HID0 /* Save SPRN_HID0 in r8 */
90 mfspr r3,SPRN_HID0
104 mfspr r5,SPRN_L2CR
161 1: mfspr r3,SPRN_L2CR
172 mfspr r0,SPRN_HID0
180 mfspr r0,SPRN_HID0
208 mfspr r0,SPRN_MSSCR0
250 mfspr r6,SPRN_LDSTCR
275 mfspr r3,SPRN_L2CR
295 3: mfspr r0,SPRN_L2CR /* wait for it to go to 0 */
[all …]
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dsubcore-asm.S47 mfspr r6, SPRN_LDBAR
48 mfspr r7, SPRN_PMMAR
49 mfspr r8, SPRN_PMCR
50 mfspr r9, SPRN_RPR
51 mfspr r10, SPRN_SDR1
64 1: mfspr r4, SPRN_HID0

123456789