Home
last modified time | relevance | path

Searched refs:mfspr (Results 1 - 25 of 469) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c49 host_os_sprs->mmcr0 = mfspr(SPRN_MMCR0); in switch_pmu_to_guest()
50 host_os_sprs->mmcra = mfspr(SPRN_MMCRA); in switch_pmu_to_guest()
54 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()
60 host_os_sprs->mmcr1 = mfspr(SPRN_MMCR1); in switch_pmu_to_guest()
61 host_os_sprs->mmcr2 = mfspr(SPRN_MMCR in switch_pmu_to_guest()
[all...]
H A Dbook3s_hv_interrupts.S47 mfspr r3, SPRN_DSCR
52 mfspr r3, SPRN_DABR
71 mfspr r8,SPRN_DEC
116 mfspr r8, SPRN_MMCR2
122 mfspr r7, SPRN_MMCR0 /* save MMCR0 */
124 mfspr r6, SPRN_MMCRA
132 mfspr r5, SPRN_MMCR1
133 mfspr r9, SPRN_SIAR
134 mfspr r10, SPRN_SDAR
141 mfspr r
[all...]
H A Dbook3s_hv_p9_entry.c60 vcpu->arch.tar = mfspr(SPRN_TAR); in store_spr_state()
64 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in store_spr_state()
68 vcpu->arch.ebbhr = mfspr(SPRN_EBBHR); in store_spr_state()
69 vcpu->arch.ebbrr = mfspr(SPRN_EBBRR); in store_spr_state()
70 vcpu->arch.bescr = mfspr(SPRN_BESCR); in store_spr_state()
74 vcpu->arch.tid = mfspr(SPRN_TIDR); in store_spr_state()
75 vcpu->arch.iamr = mfspr(SPRN_IAMR); in store_spr_state()
76 vcpu->arch.amr = mfspr(SPRN_AMR); in store_spr_state()
77 vcpu->arch.uamor = mfspr(SPRN_UAMOR); in store_spr_state()
78 vcpu->arch.fscr = mfspr(SPRN_FSC in store_spr_state()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H 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 r
[all...]
H A Dhead_44x.S314 mfspr r10, SPRN_DEAR /* Get faulting address */
325 mfspr r12,SPRN_MMUCR
332 mfspr r11,SPRN_SPRG_THREAD
336 mfspr r12,SPRN_MMUCR
337 mfspr r13,SPRN_PID /* Get PID */
353 * TODO: Is it worth doing that mfspr & rlwimi in the first
356 mfspr r12,SPRN_ESR
394 mfspr r10,SPRN_DEAR
403 mfspr r11, SPRN_SPRG_RSCRATCH4
405 mfspr r1
[all...]
H A Dhead_40x.S108 mfspr r11,SPRN_SRR3; /* check whether user or kernel */\
115 mfspr r11,SPRN_SPRG_THREAD; /* if from user, start at top of */\
124 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
126 mfspr r9,SPRN_ESR; /* in them at the point where the */\
128 mfspr r12,SPRN_SRR2; \
130 mfspr r9,SPRN_SRR3; \
183 mfspr r5, SPRN_ESR /* Grab the ESR, save it, pass arg3 */
185 mfspr r4, SPRN_DEAR /* Grab the DEAR, save it, pass arg2 */
206 mfspr r4,SPRN_DEAR /* Grab the DEAR and save it */
214 mfspr r
[all...]
H A Dhead_booke.h49 mfspr r10, SPRN_SPRG_THREAD; \
53 mfspr r11, SPRN_SRR1; \
66 mfspr r13, SPRN_SPRG_RSCRATCH0; \
73 mfspr r12,SPRN_SRR0; \
75 mfspr r9,SPRN_SRR1; \
87 mfspr r10, SPRN_SPRG_THREAD
94 mfspr r11, SPRN_SRR1
107 mfspr r9, SPRN_SRR1
117 mfspr r12,SPRN_SRR0
211 mfspr r
[all...]
H A 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 r
[all...]
H A 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
114 mfspr r3,SPRN_HID0
130 mfspr r3,SPRN_HID1
148 mfspr r3, SPRN_MMUCFG
176 mfspr r1
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H 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 r
[all...]
H A Dhead_44x.S311 mfspr r10, SPRN_DEAR /* Get faulting address */
322 mfspr r12,SPRN_MMUCR
329 mfspr r11,SPRN_SPRG_THREAD
333 mfspr r12,SPRN_MMUCR
334 mfspr r13,SPRN_PID /* Get PID */
354 * TODO: Is it worth doing that mfspr & rlwimi in the first
357 mfspr r12,SPRN_ESR
395 mfspr r10,SPRN_DEAR
404 mfspr r11, SPRN_SPRG_RSCRATCH4
406 mfspr r1
[all...]
H A Dhead_booke.h50 mfspr r10, SPRN_SPRG_THREAD; \
54 mfspr r11, SPRN_SRR1; \
69 mfspr r13, SPRN_SPRG_RSCRATCH0; \
76 mfspr r12,SPRN_SRR0; \
78 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 r
[all...]
H 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
39 mfspr r11, SPRN_SRR1 /* check whether user or kernel */
49 mfspr r1,SPRN_SPRG_THREAD
71 mfspr r11, SPRN_SPRG_SCRATCH2
83 mfspr r1
[all...]
H A Dhead_40x.S112 mfspr r10,SPRN_SRR0
113 mfspr r11,SPRN_SRR1
116 mfspr r10,SPRN_DEAR
117 mfspr r11,SPRN_ESR
121 mfspr r11,SPRN_SRR3 /* check whether user or kernel */
127 mfspr r11,SPRN_SPRG_THREAD /* if from user, start at top of */
159 mfspr r12,SPRN_SRR2
160 mfspr r9,SPRN_SRR3
281 mfspr r9, SPRN_PID
283 mfspr r1
[all...]
H 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
40 mfspr r7,SPRN_MAS1 /* Insure IPROT set */
46 mfspr r9,SPRN_TLB1CFG
53 mfspr r
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_interrupts.S46 mfspr r3, SPRN_DSCR
51 mfspr r3, SPRN_DABR
71 mfspr r8,SPRN_DEC
117 mfspr r8, SPRN_MMCR2
123 mfspr r7, SPRN_MMCR0 /* save MMCR0 */
125 mfspr r6, SPRN_MMCRA
133 mfspr r5, SPRN_MMCR1
134 mfspr r9, SPRN_SIAR
135 mfspr r10, SPRN_SDAR
142 mfspr r
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
H 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 r
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/83xx/
H 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 r
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
H 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()
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_PMC in dump_ebb_hw_state()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H 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()
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_PMC in dump_ebb_hw_state()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Didle.c74 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
75 uint64_t hid0_val = mfspr(SPRN_HID0); in pnv_save_sprs_for_deep_states()
76 uint64_t hmeer_val = mfspr(SPRN_HMEER); in pnv_save_sprs_for_deep_states()
117 uint64_t hid1_val = mfspr(SPRN_HID1); in pnv_save_sprs_for_deep_states()
118 uint64_t hid4_val = mfspr(SPRN_HID4); in pnv_save_sprs_for_deep_states()
119 uint64_t hid5_val = mfspr(SPRN_HID5); in pnv_save_sprs_for_deep_states()
341 sprs.tscr = mfspr(SPRN_TSCR); in power7_idle_insn()
342 sprs.worc = mfspr(SPRN_WORC); in power7_idle_insn()
344 sprs.sdr1 = mfspr(SPRN_SDR1); in power7_idle_insn()
345 sprs.rpr = mfspr(SPRN_RP in power7_idle_insn()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Didle.c74 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
75 uint64_t hid0_val = mfspr(SPRN_HID0); in pnv_save_sprs_for_deep_states()
76 uint64_t hmeer_val = mfspr(SPRN_HMEER); in pnv_save_sprs_for_deep_states()
117 uint64_t hid1_val = mfspr(SPRN_HID1); in pnv_save_sprs_for_deep_states()
118 uint64_t hid4_val = mfspr(SPRN_HID4); in pnv_save_sprs_for_deep_states()
119 uint64_t hid5_val = mfspr(SPRN_HID5); in pnv_save_sprs_for_deep_states()
343 sprs.tscr = mfspr(SPRN_TSCR); in power7_idle_insn()
344 sprs.worc = mfspr(SPRN_WORC); in power7_idle_insn()
346 sprs.sdr1 = mfspr(SPRN_SDR1); in power7_idle_insn()
347 sprs.rpr = mfspr(SPRN_RP in power7_idle_insn()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Doprofile_impl.h71 return mfspr(SPRN_PMC1); in classic_ctr_read()
73 return mfspr(SPRN_PMC2); in classic_ctr_read()
75 return mfspr(SPRN_PMC3); in classic_ctr_read()
77 return mfspr(SPRN_PMC4); in classic_ctr_read()
79 return mfspr(SPRN_PMC5); in classic_ctr_read()
81 return mfspr(SPRN_PMC6); in classic_ctr_read()
86 return mfspr(SPRN_PMC7); in classic_ctr_read()
88 return mfspr(SPRN_PMC8); in classic_ctr_read()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
H A 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()
331 vr = mfspr(SPR_V in show_cpuinfo()
[all...]
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A 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()
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_V in show_cpuinfo()
[all...]

Completed in 10 milliseconds

12345678910>>...19