[meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: fix the kernel hang issue under binutils-2.26
Zhenhua Luo
zhenhua.luo at nxp.com
Sat Jun 11 23:08:03 PDT 2016
Skip the incorrect instructions for e500mc to fix kernel hang issue.
Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
...correct-instructions-to-fix-kernel-hang-i.patch | 25 ++++++++++++++++++++++
recipes-kernel/linux/linux-qoriq_3.12.bb | 1 +
2 files changed, 26 insertions(+)
create mode 100644 recipes-kernel/linux/files/skip-the-incorrect-instructions-to-fix-kernel-hang-i.patch
diff --git a/recipes-kernel/linux/files/skip-the-incorrect-instructions-to-fix-kernel-hang-i.patch b/recipes-kernel/linux/files/skip-the-incorrect-instructions-to-fix-kernel-hang-i.patch
new file mode 100644
index 0000000..cd65192
--- /dev/null
+++ b/recipes-kernel/linux/files/skip-the-incorrect-instructions-to-fix-kernel-hang-i.patch
@@ -0,0 +1,25 @@
+skip the incorrect instructions for e500mc to fix kernel hang issue
+
+Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
+
+Upstream-Status: Pending
+---
+ arch/powerpc/kernel/idle_e500.S | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/powerpc/kernel/idle_e500.S b/arch/powerpc/kernel/idle_e500.S
+index 1544866..4e835cd 100644
+--- a/arch/powerpc/kernel/idle_e500.S
++++ b/arch/powerpc/kernel/idle_e500.S
+@@ -26,7 +26,7 @@ _GLOBAL(e500_idle)
+ ori r4,r4,_TLF_NAPPING /* so when we take an exception */
+ stw r4,TI_LOCAL_FLAGS(r3) /* it will return to our caller */
+
+-#ifdef CONFIG_PPC_E500MC
++#ifdef FALSE
+ wrteei 1
+ 1: wait
+
+--
+2.5.0
+
diff --git a/recipes-kernel/linux/linux-qoriq_3.12.bb b/recipes-kernel/linux/linux-qoriq_3.12.bb
index 744aa4e..496d744 100644
--- a/recipes-kernel/linux/linux-qoriq_3.12.bb
+++ b/recipes-kernel/linux/linux-qoriq_3.12.bb
@@ -6,5 +6,6 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v1.9.x \
file://0001-powerpc-Align-TOC-to-256-bytes.patch \
file://fix-the-compile-issue-under-gcc6.patch \
file://module-remove-MODULE_GENERIC_TABLE.patch \
+ file://skip-the-incorrect-instructions-to-fix-kernel-hang-i.patch \
"
SRCREV = "43cecda943a6c40a833b588801b0929e8bd48813"
--
2.4.11
More information about the meta-freescale
mailing list