@@ -250,25 +250,25 @@ LEAF(mips_cps_core_init)
250
250
mfc0 t0, CP0_MVPCONF0
251
251
srl t0, t0, MVPCONF0_PVPE_SHIFT
252
252
andi t0, t0, (MVPCONF0_PVPE >> MVPCONF0_PVPE_SHIFT)
253
- addiu t7 , t0, 1
253
+ addiu ta3 , t0, 1
254
254
255
255
/* If there's only 1, we're done */
256
256
beqz t0, 2f
257
257
nop
258
258
259
259
/* Loop through each VPE within this core */
260
- li t5 , 1
260
+ li ta1 , 1
261
261
262
262
1: /* Operate on the appropriate TC */
263
- mtc0 t5 , CP0_VPECONTROL
263
+ mtc0 ta1 , CP0_VPECONTROL
264
264
ehb
265
265
266
266
/* Bind TC to VPE (1:1 TC:VPE mapping) */
267
- mttc0 t5 , CP0_TCBIND
267
+ mttc0 ta1 , CP0_TCBIND
268
268
269
269
/* Set exclusive TC, non-active, master */
270
270
li t0, VPECONF0_MVP
271
- sll t1, t5 , VPECONF0_XTC_SHIFT
271
+ sll t1, ta1 , VPECONF0_XTC_SHIFT
272
272
or t0, t0, t1
273
273
mttc0 t0, CP0_VPECONF0
274
274
@@ -280,8 +280,8 @@ LEAF(mips_cps_core_init)
280
280
mttc0 t0, CP0_TCHALT
281
281
282
282
/* Next VPE */
283
- addiu t5, t5 , 1
284
- slt t0, t5, t7
283
+ addiu ta1, ta1 , 1
284
+ slt t0, ta1, ta3
285
285
bnez t0, 1b
286
286
nop
287
287
@@ -310,7 +310,7 @@ LEAF(mips_cps_boot_vpes)
310
310
addu t0, t0, t1
311
311
312
312
/* Calculate this VPEs ID. If the core doesn't support MT use 0 */
313
- has_mt t6 , 1f
313
+ has_mt ta2 , 1f
314
314
li t9, 0
315
315
316
316
/* Find the number of VPEs present in the core */
@@ -334,13 +334,13 @@ LEAF(mips_cps_boot_vpes)
334
334
1: /* Calculate a pointer to this VPEs struct vpe_boot_config */
335
335
li t1, VPEBOOTCFG_SIZE
336
336
mul v0, t9, t1
337
- lw t7 , COREBOOTCFG_VPECONFIG(t0)
338
- addu v0, v0, t7
337
+ lw ta3 , COREBOOTCFG_VPECONFIG(t0)
338
+ addu v0, v0, ta3
339
339
340
340
#ifdef CONFIG_MIPS_MT
341
341
342
342
/* If the core doesn't support MT then return */
343
- bnez t6 , 1f
343
+ bnez ta2 , 1f
344
344
nop
345
345
jr ra
346
346
nop
@@ -360,20 +360,20 @@ LEAF(mips_cps_boot_vpes)
360
360
ehb
361
361
362
362
/* Loop through each VPE */
363
- lw t6 , COREBOOTCFG_VPEMASK(t0)
364
- move t8, t6
365
- li t5 , 0
363
+ lw ta2 , COREBOOTCFG_VPEMASK(t0)
364
+ move t8, ta2
365
+ li ta1 , 0
366
366
367
367
/* Check whether the VPE should be running. If not, skip it */
368
- 1: andi t0, t6 , 1
368
+ 1: andi t0, ta2 , 1
369
369
beqz t0, 2f
370
370
nop
371
371
372
372
/* Operate on the appropriate TC */
373
373
mfc0 t0, CP0_VPECONTROL
374
374
ori t0, t0, VPECONTROL_TARGTC
375
375
xori t0, t0, VPECONTROL_TARGTC
376
- or t0, t0, t5
376
+ or t0, t0, ta1
377
377
mtc0 t0, CP0_VPECONTROL
378
378
ehb
379
379
@@ -384,8 +384,8 @@ LEAF(mips_cps_boot_vpes)
384
384
385
385
/* Calculate a pointer to the VPEs struct vpe_boot_config */
386
386
li t0, VPEBOOTCFG_SIZE
387
- mul t0, t0, t5
388
- addu t0, t0, t7
387
+ mul t0, t0, ta1
388
+ addu t0, t0, ta3
389
389
390
390
/* Set the TC restart PC */
391
391
lw t1, VPEBOOTCFG_PC(t0)
@@ -423,9 +423,9 @@ LEAF(mips_cps_boot_vpes)
423
423
mttc0 t0, CP0_VPECONF0
424
424
425
425
/* Next VPE */
426
- 2: srl t6, t6 , 1
427
- addiu t5, t5 , 1
428
- bnez t6 , 1b
426
+ 2: srl ta2, ta2 , 1
427
+ addiu ta1, ta1 , 1
428
+ bnez ta2 , 1b
429
429
nop
430
430
431
431
/* Leave VPE configuration state */
0 commit comments