Home
last modified time | relevance | path

Searched refs:mtspr (Results 1 – 25 of 184) sorted by relevance

12345678

/Linux-v6.1/arch/powerpc/boot/
Dwii-head.S44 mtspr 0x210, 8 /* IBAT0U */
45 mtspr 0x212, 8 /* IBAT1U */
46 mtspr 0x214, 8 /* IBAT2U */
47 mtspr 0x216, 8 /* IBAT3U */
48 mtspr 0x218, 8 /* DBAT0U */
49 mtspr 0x21a, 8 /* DBAT1U */
50 mtspr 0x21c, 8 /* DBAT2U */
51 mtspr 0x21e, 8 /* DBAT3U */
53 mtspr 0x230, 8 /* IBAT4U */
54 mtspr 0x232, 8 /* IBAT5U */
[all …]
Dgamecube-head.S43 mtspr 0x210, 8 /* IBAT0U */
44 mtspr 0x212, 8 /* IBAT1U */
45 mtspr 0x214, 8 /* IBAT2U */
46 mtspr 0x216, 8 /* IBAT3U */
47 mtspr 0x218, 8 /* DBAT0U */
48 mtspr 0x21a, 8 /* DBAT1U */
49 mtspr 0x21c, 8 /* DBAT2U */
50 mtspr 0x21e, 8 /* DBAT3U */
54 mtspr 0x211, 9 /* IBAT0L */
55 mtspr 0x210, 8 /* IBAT0U */
[all …]
/Linux-v6.1/arch/powerpc/kernel/
Dcpu_setup_power.c37 mtspr(SPRN_LPCR, lpcr); in init_LPCR_ISA300()
66 mtspr(SPRN_FSCR, fscr); in init_FSCR()
75 mtspr(SPRN_FSCR, fscr); in init_FSCR_power9()
85 mtspr(SPRN_FSCR, fscr); in init_FSCR_power10()
96 mtspr(SPRN_HFSCR, hfscr); in init_HFSCR()
101 mtspr(SPRN_MMCRC, 0); in init_PMU_HV()
106 mtspr(SPRN_MMCRH, 0); in init_PMU_HV_ISA207()
111 mtspr(SPRN_MMCRA, 0); in init_PMU()
112 mtspr(SPRN_MMCR0, MMCR0_FC); in init_PMU()
113 mtspr(SPRN_MMCR1, 0); in init_PMU()
[all …]
D85xx_entry_mapping.S11 mtspr SPRN_MAS6,r7
25 mtspr SPRN_MAS6,r7
33 mtspr SPRN_MAS6,r7
42 mtspr SPRN_MAS1,r7
51 mtspr SPRN_MAS0,r7
57 mtspr SPRN_MAS1,r7
78 mtspr SPRN_MAS0,r7
105 mtspr SPRN_MAS0,r7
110 mtspr SPRN_MAS1,r6
114 mtspr SPRN_MAS2,r7
[all …]
Dhead_8xx.S98 mtspr SPRN_SRR1,r0
101 mtspr SPRN_SRR0,r0
192 mtspr SPRN_SPRG_SCRATCH2, r10
193 mtspr SPRN_M_TW, r11
200 mtspr SPRN_MD_EPN, r10
214 mtspr SPRN_MD_TWC, r11
219 mtspr SPRN_MI_TWC, r11
229 mtspr SPRN_MI_RPN, r10 /* Update TLB entry */
248 mtspr SPRN_SPRG_SCRATCH2, r10
249 mtspr SPRN_M_TW, r11
[all …]
Dhead_book3s_32.S41 mtspr SPRN_IBAT##n##U,RA; \
42 mtspr SPRN_DBAT##n##U,RA; \
45 mtspr SPRN_IBAT##n##U,RA; \
46 mtspr SPRN_IBAT##n##L,RB; \
49 mtspr SPRN_DBAT##n##U,RA; \
50 mtspr SPRN_DBAT##n##L,RB
202 mtspr SPRN_SRR1,r0
205 mtspr SPRN_SRR0,r0
259 mtspr SPRN_SPRG_SCRATCH2,r1
280 mtspr SPRN_SPRG_SCRATCH2,r10
[all …]
Dentry_32.S149 mtspr SPRN_SRR0,r7
150 mtspr SPRN_SRR1,r8
237 mtspr SPRN_SPRG_THREAD,r0 /* Update current THREAD phys addr */
271 mtspr SPRN_NRI, r0
273 mtspr SPRN_SRR1,r9
274 mtspr SPRN_SRR0,r12
307 mtspr SPRN_SRR0,r11
308 mtspr SPRN_SRR1,r12
332 mtspr SPRN_XER,r6
353 mtspr SPRN_SRR0,r11
[all …]
Ddt_cpu_ftrs.c80 mtspr(SPRN_LPCR, system_registers.lpcr); in __restore_cpu_cpufeatures()
82 mtspr(SPRN_LPID, 0); in __restore_cpu_cpufeatures()
83 mtspr(SPRN_AMOR, ~0); in __restore_cpu_cpufeatures()
84 mtspr(SPRN_HFSCR, system_registers.hfscr); in __restore_cpu_cpufeatures()
85 mtspr(SPRN_PCR, system_registers.pcr); in __restore_cpu_cpufeatures()
87 mtspr(SPRN_FSCR, system_registers.fscr); in __restore_cpu_cpufeatures()
122 mtspr(SPRN_HFSCR, 0); in cpufeatures_setup_cpu()
124 mtspr(SPRN_FSCR, 0); in cpufeatures_setup_cpu()
125 mtspr(SPRN_PCR, PCR_MASK); in cpufeatures_setup_cpu()
140 mtspr(SPRN_HFSCR, hfscr); in feat_try_enable_unknown()
[all …]
Dcpu_setup_ppc970.S29 mtspr SPRN_HID4,r3
35 mtspr SPRN_HID5,r3
44 mtspr SPRN_HID1,r0
45 mtspr SPRN_HID1,r0
51 mtspr SPRN_HIOR,0 /* Clear interrupt prefix */
97 mtspr SPRN_HID0,r0
112 mtspr SPRN_HID4,r0
156 mtspr SPRN_HID4,r3
163 mtspr SPRN_HIOR,0
170 mtspr SPRN_HID0,r3
[all …]
Dhead_44x.S106 mtspr SPRN_SPRG_THREAD,r4
222 mtspr SPRN_MCSR,r0
229 mtspr SPRN_SRR0,r4
230 mtspr SPRN_SRR1,r3
306 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
307 mtspr SPRN_SPRG_WSCRATCH1, r11
308 mtspr SPRN_SPRG_WSCRATCH2, r12
309 mtspr SPRN_SPRG_WSCRATCH3, r13
311 mtspr SPRN_SPRG_WSCRATCH4, r11
343 mtspr SPRN_MMUCR,r12
[all …]
Dl2cr_6xx.S119 mtspr SPRN_HID0,r4 /* Disable DPM */
157 mtspr SPRN_MSSCR0,r4
197 mtspr SPRN_L2CR,r3
210 mtspr SPRN_L2CR,r3
230 mtspr SPRN_L2CR,r3
239 mtspr SPRN_L2CR,r3
247 mtspr SPRN_MSSCR0,r3
255 mtspr 1008,r8
327 mtspr SPRN_L3CR,r3
331 mtspr SPRN_L3CR,r3
[all …]
Dhead_85xx.S186 mtspr SPRN_IVPR,r4
190 mtspr SPRN_MAS4, r2
198 mtspr SPRN_DBCR0,r2
202 mtspr SPRN_DBSR,r2
226 mtspr SPRN_SPRG_THREAD,r4
289 mtspr SPRN_SRR0,r4
290 mtspr SPRN_SRR1,r3
423 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
456 mtspr SPRN_MAS1,r12
530 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
[all …]
Dexceptions-64e.S86 mtspr SPRN_SPRG_TLB_EXFRAME,r10
120 mtspr SPRN_MAS5,r10
121 mtspr SPRN_MAS8,r10
147 mtspr SPRN_SPRG_TLB_EXFRAME,r10
168 mtspr SPRN_SRR0,r10
170 mtspr SPRN_SRR1,r10
172 mtspr SPRN_SPRG_GEN_SCRATCH,r10
174 mtspr SPRN_SPRG_TLB_SCRATCH,r10
176 mtspr SPRN_MAS0,r10
178 mtspr SPRN_MAS1,r10
[all …]
Dhead_40x.S72 mtspr SPRN_SRR1,r0
75 mtspr SPRN_SRR0,r0
131 mtspr SPRN_SRR1, r11
134 mtspr SPRN_SRR0, r11
275 mtspr SPRN_SPRG_SCRATCH5, r10 /* Save some working registers */
276 mtspr SPRN_SPRG_SCRATCH6, r11
277 mtspr SPRN_SPRG_SCRATCH3, r12
278 mtspr SPRN_SPRG_SCRATCH4, r9
293 mtspr SPRN_PID, r9 /* TLB will have 0 TID */
346 mtspr SPRN_PID, r12
[all …]
Dswsusp_85xx.S154 mtspr SPRN_SPRG0,r4
156 mtspr SPRN_SPRG1,r4
158 mtspr SPRN_SPRG2,r4
160 mtspr SPRN_SPRG3,r4
162 mtspr SPRN_SPRG4,r4
164 mtspr SPRN_SPRG5,r4
166 mtspr SPRN_SPRG6,r4
168 mtspr SPRN_SPRG7,r4
176 mtspr SPRN_TBWL,r3
179 mtspr SPRN_TBWU,r3
[all …]
/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c30 mtspr(SPRN_MMCR0, mmcr0); in freeze_pmu()
31 mtspr(SPRN_MMCRA, mmcra); in freeze_pmu()
88 mtspr(SPRN_PMC1, vcpu->arch.pmc[0]); in switch_pmu_to_guest()
89 mtspr(SPRN_PMC2, vcpu->arch.pmc[1]); in switch_pmu_to_guest()
90 mtspr(SPRN_PMC3, vcpu->arch.pmc[2]); in switch_pmu_to_guest()
91 mtspr(SPRN_PMC4, vcpu->arch.pmc[3]); in switch_pmu_to_guest()
92 mtspr(SPRN_PMC5, vcpu->arch.pmc[4]); in switch_pmu_to_guest()
93 mtspr(SPRN_PMC6, vcpu->arch.pmc[5]); in switch_pmu_to_guest()
94 mtspr(SPRN_MMCR1, vcpu->arch.mmcr[1]); in switch_pmu_to_guest()
95 mtspr(SPRN_MMCR2, vcpu->arch.mmcr[2]); in switch_pmu_to_guest()
[all …]
Dbook3s_hv_p9_entry.c14 mtspr(SPRN_TAR, vcpu->arch.tar); in load_spr_state()
19 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in load_spr_state()
24 mtspr(SPRN_EBBHR, vcpu->arch.ebbhr); in load_spr_state()
26 mtspr(SPRN_EBBRR, vcpu->arch.ebbrr); in load_spr_state()
28 mtspr(SPRN_BESCR, vcpu->arch.bescr); in load_spr_state()
33 mtspr(SPRN_TIDR, vcpu->arch.tid); in load_spr_state()
35 mtspr(SPRN_IAMR, vcpu->arch.iamr); in load_spr_state()
37 mtspr(SPRN_AMR, vcpu->arch.amr); in load_spr_state()
39 mtspr(SPRN_UAMOR, vcpu->arch.uamor); in load_spr_state()
41 mtspr(SPRN_FSCR, vcpu->arch.fscr); in load_spr_state()
[all …]
Dbook3s_hv_rmhandlers.S95 mtspr SPRN_DABR,r5
96 mtspr SPRN_DABRX,r6
101 mtspr SPRN_SPRG_VDSO_WRITE,r3
113 mtspr SPRN_DEC, r4
150 mtspr SPRN_DEC, r3
162 mtspr SPRN_LPCR,r8
282 mtspr SPRN_SRR1,r3
340 mtspr SPRN_HDEC, r6
346 mtspr SPRN_RPR, r0
348 mtspr SPRN_PMMAR, r0
[all …]
De500mc.c72 mtspr(SPRN_MAS6, val); in kvmppc_e500_tlbil_one()
73 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_one()
78 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one()
81 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_one()
83 mtspr(SPRN_MAS8, 0); in kvmppc_e500_tlbil_one()
94 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_all()
96 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_all()
118 mtspr(SPRN_LPID, get_lpid(vcpu)); in kvmppc_core_vcpu_load_e500mc()
119 mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); in kvmppc_core_vcpu_load_e500mc()
120 mtspr(SPRN_GPIR, vcpu->vcpu_id); in kvmppc_core_vcpu_load_e500mc()
[all …]
/Linux-v6.1/arch/powerpc/platforms/83xx/
Dsuspend-asm.S239 mtspr SPRN_DBAT0L, r4
242 mtspr SPRN_DBAT0U, r4
249 mtspr SPRN_DBAT1L, r4
252 mtspr SPRN_DBAT1U, r4
261 mtspr SPRN_DBAT2L, r4
264 mtspr SPRN_DBAT2U, r4
279 mtspr SPRN_HID0, r3
347 mtspr SPRN_HID0, r5
397 mtspr SPRN_HID0, r5
398 mtspr SPRN_HID1, r6
[all …]
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dsubcore-asm.S36 mtspr SPRN_SRR0,r4
37 mtspr SPRN_SRR1,r5
71 mtspr SPRN_LPID, r4
72 mtspr SPRN_PCR, r4
73 mtspr SPRN_HDEC, r4
76 mtspr SPRN_LDBAR, r6
77 mtspr SPRN_PMMAR, r7
78 mtspr SPRN_PMCR, r8
79 mtspr SPRN_RPR, r9
80 mtspr SPRN_SDR1, r10
[all …]
/Linux-v6.1/arch/powerpc/platforms/powermac/
Dcache.S59 mtspr SPRN_HID0,r4 /* Disable DPM */
87 mtspr SPRN_HID0,r3
93 mtspr SPRN_HID0,r3
95 mtspr SPRN_HID0,r3
105 1: mtspr SPRN_L2CR,r3
139 1: mtspr SPRN_L2CR,r5
151 mtspr SPRN_L2CR,r4
163 mtspr SPRN_L2CR,r4
169 mtspr SPRN_HID0,r0
177 mtspr SPRN_HID0,r0
[all …]
/Linux-v6.1/arch/powerpc/mm/nohash/
Dtlb_low.S47 mtspr SPRN_PID,r4
49 mtspr SPRN_PID,r6
91 mtspr SPRN_MMUCR,r5
185 mtspr SPRN_MMUCR,r5
238 mtspr SPRN_MMUCSR0, r3
256 mtspr SPRN_MAS6,r3
258 mtspr SPRN_MAS6,r4 /* restore MAS6 */
262 mtspr SPRN_MMUCSR0, r3
281 mtspr SPRN_MAS6,r4 /* assume AS=0 for now */
288 mtspr SPRN_MAS1,r4
[all …]
Dtlb_low_64e.S44 mtspr SPRN_SPRG_GEN_SCRATCH,r12
190 mtspr SPRN_MAS2,r11
199 mtspr SPRN_MAS7_MAS3,r15
215 mtspr SPRN_MAS1,r10
333 mtspr SPRN_MAS0,r10
343 mtspr SPRN_MAS5,r10
350 mtspr SPRN_MAS6,r15
357 mtspr SPRN_MAS6,r10
362 mtspr SPRN_MAS8,r10
363 mtspr SPRN_MAS5,r10
[all …]
/Linux-v6.1/arch/powerpc/include/asm/nohash/
Dkup-booke.h30 mtspr(SPRN_PID, 0);
37 mtspr(SPRN_PID, 0);
46 mtspr(SPRN_PID, current->thread.pid);
54 mtspr(SPRN_PID, current->thread.pid);
72 mtspr(SPRN_PID, current->thread.pid);
78 mtspr(SPRN_PID, 0);
86 mtspr(SPRN_PID, 0);
95 mtspr(SPRN_PID, current->thread.pid);

12345678