]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00277201-1 3.10 kernel panic when running gpu stress test
authorLoren HUANG <b02279@freescale.com>
Thu, 29 Aug 2013 03:18:18 +0000 (11:18 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:22 +0000 (10:06 +0200)
commit114386d3c100bdd2c29407eb71d7dcbfc3491b14
treea73f42a177ff17a6c1e240f66d315bd71def89b1
parent0d6bc16fcbb4d015702f8a7b1c83072a85731a4f
ENGR00277201-1 3.10 kernel panic when running gpu stress test

The kernel panic is caused by gcc 4.8.1 build logic.
8044b000:       e24bd010        sub     sp, fp, #16
8044b004:       e1500004        cmp     r0, r4
8044b008:       b1a00004        movlt   r0, r4
8044b00c:       a51b0018        ldrge   r0, [fp, #-24]
8044b010:       e89da810        ldm     sp, {r4, fp, sp, pc}
With this logic, r0 may return 0xffffffff randomly in Cortex A9 processor.

Current workaround is enable ARM_UNWIND to avoid such disassemble logic.

Signed-off-by: Loren HUANG <b02279@freescale.com>
arch/arm/configs/imx_v7_defconfig