All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] powerpc: mpc85xx: Improve Work-around for Erratum A005125
@ 2018-04-23  4:27 Takuma Ueba
  2018-05-09 18:15 ` [U-Boot] " York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Takuma Ueba @ 2018-04-23  4:27 UTC (permalink / raw)
  To: u-boot

powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores.

Signed-off-by: Yoshihisa Morizumi <yoshi.morizumi@jp.fujitsu.com>
Signed-off-by: Takuma Ueba <ueba.takuma@jp.fujitsu.com>
---
 arch/powerpc/cpu/mpc85xx/release.S | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/powerpc/cpu/mpc85xx/release.S b/arch/powerpc/cpu/mpc85xx/release.S
index e1f12089c3..39e2119f34 100644
--- a/arch/powerpc/cpu/mpc85xx/release.S
+++ b/arch/powerpc/cpu/mpc85xx/release.S
@@ -27,6 +27,13 @@
 	.globl	__secondary_start_page
 	.align	12
 __secondary_start_page:
+#ifdef CONFIG_SYS_FSL_ERRATUM_A005125
+	msync
+	isync
+	mfspr	r3, SPRN_HDBCR0
+	oris	r3, r3, 0x0080
+	mtspr	SPRN_HDBCR0, r3
+#endif
 /* First do some preliminary setup */
 	lis	r3, HID0_EMCP at h		/* enable machine check */
 #ifndef CONFIG_E500MC
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] powerpc: mpc85xx: Improve Work-around for Erratum A005125
  2018-04-23  4:27 [U-Boot] [PATCH] powerpc: mpc85xx: Improve Work-around for Erratum A005125 Takuma Ueba
@ 2018-05-09 18:15 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2018-05-09 18:15 UTC (permalink / raw)
  To: u-boot

On 04/22/2018 11:27 PM, Takuma Ueba wrote:
> powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores.
> 
> Signed-off-by: Yoshihisa Morizumi <yoshi.morizumi@jp.fujitsu.com>
> Signed-off-by: Takuma Ueba <ueba.takuma@jp.fujitsu.com>
> ---

Applied to fsl-qoriq master, awaiting upstream.
Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-09 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23  4:27 [U-Boot] [PATCH] powerpc: mpc85xx: Improve Work-around for Erratum A005125 Takuma Ueba
2018-05-09 18:15 ` [U-Boot] " York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.