Skip to contentSkip to conversation

powerpc/corenet: CPC1 speculation disable

PATCH New shh.xie at gmail.com 2 participants 2 messages Nov 28, 2013 – Dec 4, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/corenet: CPC1 speculation disable

From: Dave Liu <[email protected]>

In PBL RAMBOOT(SPI/SD/NAND boot) mode, CPC1 used as SRAM, should disable CPC1 speculation and keep it till relocation. Otherwise, speculation transactions will go to DDR controller, it will cause problem.

---
 arch/powerpc/cpu/mpc85xx/start.S | 4 ++++
 1 file changed, 4 insertions(+)
arch/powerpc/cpu/mpc85xx/start.S +4 -0
index 6a81fa7..db84d10 100644
@@ -886,7 +886,11 @@ delete_ccsr_l2_tlb:
 	erratum_set_dcsr 0xb0008 0x00900000
 	erratum_set_dcsr 0xb0e40 0xe00a0000
 	erratum_set_ccsr 0x18600 CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY
+#ifdef  CONFIG_RAMBOOT_PBL
+	erratum_set_ccsr 0x10f00 0x495e5000
+#else
 	erratum_set_ccsr 0x10f00 0x415e5000
+#endif
 	erratum_set_ccsr 0x11f00 0x415e5000
 
 	/* Make temp mapping uncacheable again, if it was initially */
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 powerpc/corenet: CPC1 speculation disable

Quoted 9 lines · shh.xie at gmail.com

From: Dave Liu <[email protected]>

In PBL RAMBOOT(SPI/SD/NAND boot) mode, CPC1 used as SRAM, should disable CPC1 speculation and keep it till relocation. Otherwise, speculation transactions will go to DDR controller, it will cause problem.

---

Applied to u-boot-mpc85xx/master. Thanks.

York