|
@@ -22,6 +22,7 @@
|
|
|
#define GCR_CL_COHERENCE_OFS 0x2008
|
|
|
#define GCR_CL_ID_OFS 0x2028
|
|
|
|
|
|
+#define CPC_CL_VC_STOP_OFS 0x2020
|
|
|
#define CPC_CL_VC_RUN_OFS 0x2028
|
|
|
|
|
|
.extern mips_cm_base
|
|
@@ -376,8 +377,12 @@ LEAF(mips_cps_boot_vpes)
|
|
|
PTR_LI t2, UNCAC_BASE
|
|
|
PTR_ADD t1, t1, t2
|
|
|
|
|
|
- /* Set VC_RUN to the VPE mask */
|
|
|
+ /* Start any other VPs that ought to be running */
|
|
|
PTR_S ta2, CPC_CL_VC_RUN_OFS(t1)
|
|
|
+
|
|
|
+ /* Ensure this VP stops running if it shouldn't be */
|
|
|
+ not ta2
|
|
|
+ PTR_S ta2, CPC_CL_VC_STOP_OFS(t1)
|
|
|
ehb
|
|
|
|
|
|
#elif defined(CONFIG_MIPS_MT)
|