From: Takuma Ueba <ueba.takuma@jp.fujitsu.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc: mpc85xx: Improve Work-around for Erratum A005125
Date: Mon, 23 Apr 2018 14:28:52 +0900 [thread overview]
Message-ID: <20180423052852.1767-1-ueba.takuma@jp.fujitsu.com> (raw)
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
next reply other threads:[~2018-04-23 5:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 5:28 Takuma Ueba [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-23 4:27 [U-Boot] [PATCH] powerpc: mpc85xx: Improve Work-around for Erratum A005125 Takuma Ueba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180423052852.1767-1-ueba.takuma@jp.fujitsu.com \
--to=ueba.takuma@jp.fujitsu.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.