Home
last modified time | relevance | path

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

12345678

/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 …]
/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 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 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 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 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 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 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 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 …]
/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 …]
/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()
119 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); in print_cpuinfo()
123 1 + (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTW)); in print_cpuinfo()
158 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo()
271 vr = mfspr(SPR_VR); in show_cpuinfo()
272 cpucfgr = mfspr(SPR_CPUCFGR); in show_cpuinfo()
275 vr = mfspr(SPR_VR2); in show_cpuinfo()
277 avr = mfspr(SPR_AVR); in show_cpuinfo()
294 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); in show_cpuinfo()
[all …]
A Dhead.S624 l.mfspr r30,r0,SPR_SR
731 l.mfspr r25,r0,SPR_UPR
743 l.mfspr r25,r0,SPR_SR
753 l.mfspr r25,r0,SPR_PMR
798 l.mfspr r30,r0,SPR_SR
830 l.mfspr r24,r0,SPR_UPR
837 l.mfspr r6,r0,SPR_SR
877 l.mfspr r6,r0,SPR_SR
896 l.mfspr r24,r0,SPR_UPR
903 l.mfspr r6,r0,SPR_SR
[all …]
/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
/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 …]
/arch/powerpc/perf/
A Dperf_regs.c81 return mfspr(SPRN_MMCR0); in get_ext_regs_value()
83 return mfspr(SPRN_MMCR1); in get_ext_regs_value()
85 return mfspr(SPRN_MMCR2); in get_ext_regs_value()
88 return mfspr(SPRN_MMCR3); in get_ext_regs_value()
90 return mfspr(SPRN_SIER2); in get_ext_regs_value()
92 return mfspr(SPRN_SIER3); in get_ext_regs_value()
94 return mfspr(SPRN_SDAR); in get_ext_regs_value()
97 return mfspr(SPRN_SIAR); in get_ext_regs_value()
/arch/powerpc/mm/nohash/
A Dtlb_64e.c88 unsigned int mmucfg = mfspr(SPRN_MMUCFG); in setup_page_sizes()
91 unsigned int tlb1cfg = mfspr(SPRN_TLB1CFG); in setup_page_sizes()
120 tlb0cfg = mfspr(SPRN_TLB0CFG); in setup_page_sizes()
121 tlb1cfg = mfspr(SPRN_TLB1CFG); in setup_page_sizes()
122 tlb1ps = mfspr(SPRN_TLB1PS); in setup_page_sizes()
123 eptcfg = mfspr(SPRN_EPTCFG); in setup_page_sizes()
201 num_cams = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) / 4; in early_init_this_mmu()
307 num_cams = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) / 4; in setup_initial_memory_limit()
/arch/powerpc/xmon/
A Dxmon.c2006 mfspr(SPRN_SRR0), mfspr(SPRN_SRR1), mfspr(SPRN_DSISR)); in dump_206_sprs()
2008 mfspr(SPRN_DSCR), mfspr(SPRN_PPR), mfspr(SPRN_PIR)); in dump_206_sprs()
2016 mfspr(SPRN_SDR1), mfspr(SPRN_HDAR), mfspr(SPRN_HDSISR)); in dump_206_sprs()
2018 mfspr(SPRN_HSRR0), mfspr(SPRN_HSRR1), mfspr(SPRN_HDEC)); in dump_206_sprs()
2020 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()
2037 mfspr(SPRN_DPDES), mfspr(SPRN_TIR), mfspr(SPRN_CIR)); in dump_207_sprs()
2040 mfspr(SPRN_FSCR), mfspr(SPRN_TAR), mfspr(SPRN_PSPB)); in dump_207_sprs()
2051 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
2056 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()
2058 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()
[all …]

Completed in 50 milliseconds

12345678