Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/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.6/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.S99 mtspr SPRN_SRR1,r0
102 mtspr SPRN_SRR0,r0
193 mtspr SPRN_SPRG_SCRATCH2, r10
194 mtspr SPRN_M_TW, r11
201 mtspr SPRN_MD_EPN, r10
215 mtspr SPRN_MD_TWC, r11
220 mtspr SPRN_MI_TWC, r11
230 mtspr SPRN_MI_RPN, r10 /* Update TLB entry */
249 mtspr SPRN_SPRG_SCRATCH2, r10
250 mtspr SPRN_M_TW, r11
[all …]
Dhead_book3s_32.S42 mtspr SPRN_IBAT##n##U,RA; \
43 mtspr SPRN_DBAT##n##U,RA; \
46 mtspr SPRN_IBAT##n##U,RA; \
47 mtspr SPRN_IBAT##n##L,RB; \
50 mtspr SPRN_DBAT##n##U,RA; \
51 mtspr SPRN_DBAT##n##L,RB
203 mtspr SPRN_SRR1,r0
206 mtspr SPRN_SRR0,r0
260 mtspr SPRN_SPRG_SCRATCH2,r1
281 mtspr SPRN_SPRG_SCRATCH2,r10
[all …]
Dentry_32.S152 mtspr SPRN_SRR0,r7
153 mtspr SPRN_SRR1,r8
232 mtspr SPRN_NRI, r0
234 mtspr SPRN_SRR1,r9
235 mtspr SPRN_SRR0,r12
268 mtspr SPRN_SRR0,r11
269 mtspr SPRN_SRR1,r12
293 mtspr SPRN_XER,r6
314 mtspr SPRN_SRR0,r11
315 mtspr SPRN_SRR1,r12
[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.S105 mtspr SPRN_SPRG_THREAD,r4
221 mtspr SPRN_MCSR,r0
228 mtspr SPRN_SRR0,r4
229 mtspr SPRN_SRR1,r3
305 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
306 mtspr SPRN_SPRG_WSCRATCH1, r11
307 mtspr SPRN_SPRG_WSCRATCH2, r12
308 mtspr SPRN_SPRG_WSCRATCH3, r13
310 mtspr SPRN_SPRG_WSCRATCH4, r11
342 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.S187 mtspr SPRN_IVPR,r4
191 mtspr SPRN_MAS4, r2
199 mtspr SPRN_DBCR0,r2
203 mtspr SPRN_DBSR,r2
227 mtspr SPRN_SPRG_THREAD,r4
290 mtspr SPRN_SRR0,r4
291 mtspr SPRN_SRR1,r3
424 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
457 mtspr SPRN_MAS1,r12
531 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */
[all …]
Dexceptions-64e.S87 mtspr SPRN_SPRG_TLB_EXFRAME,r10
121 mtspr SPRN_MAS5,r10
122 mtspr SPRN_MAS8,r10
149 mtspr SPRN_SPRG_TLB_EXFRAME,r10
170 mtspr SPRN_SRR0,r10
172 mtspr SPRN_SRR1,r10
174 mtspr SPRN_SPRG_GEN_SCRATCH,r10
176 mtspr SPRN_SPRG_TLB_SCRATCH,r10
178 mtspr SPRN_MAS0,r10
180 mtspr SPRN_MAS1,r10
[all …]
Dhead_40x.S73 mtspr SPRN_SRR1,r0
76 mtspr SPRN_SRR0,r0
132 mtspr SPRN_SRR1, r11
135 mtspr SPRN_SRR0, r11
276 mtspr SPRN_SPRG_SCRATCH5, r10 /* Save some working registers */
277 mtspr SPRN_SPRG_SCRATCH6, r11
278 mtspr SPRN_SPRG_SCRATCH3, r12
279 mtspr SPRN_SPRG_SCRATCH4, r9
294 mtspr SPRN_PID, r9 /* TLB will have 0 TID */
347 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.6/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.S97 mtspr SPRN_DABR,r5
98 mtspr SPRN_DABRX,r6
103 mtspr SPRN_SPRG_VDSO_WRITE,r3
115 mtspr SPRN_DEC, r4
152 mtspr SPRN_DEC, r3
164 mtspr SPRN_LPCR,r8
284 mtspr SPRN_SRR1,r3
342 mtspr SPRN_HDEC, r6
348 mtspr SPRN_RPR, r0
350 mtspr SPRN_PMMAR, r0
[all …]
De500mc.c73 mtspr(SPRN_MAS6, val); in kvmppc_e500_tlbil_one()
74 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_one()
79 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one()
82 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_one()
84 mtspr(SPRN_MAS8, 0); in kvmppc_e500_tlbil_one()
95 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_all()
101 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_all()
123 mtspr(SPRN_LPID, get_lpid(vcpu)); in kvmppc_core_vcpu_load_e500mc()
124 mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); in kvmppc_core_vcpu_load_e500mc()
125 mtspr(SPRN_GPIR, vcpu->vcpu_id); in kvmppc_core_vcpu_load_e500mc()
[all …]
/Linux-v6.6/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.6/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.6/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.6/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.6/arch/powerpc/include/asm/book3s/64/
Dkexec.h12 mtspr(SPRN_AMR, 0); in reset_sprs()
13 mtspr(SPRN_UAMOR, 0); in reset_sprs()
17 mtspr(SPRN_IAMR, 0); in reset_sprs()
19 mtspr(SPRN_CIABR, 0); in reset_sprs()
25 mtspr(SPRN_DEXCR, 0); in reset_sprs()
26 mtspr(SPRN_HASHKEYR, 0); in reset_sprs()

12345678