diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-05 17:13:17 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-05 17:22:17 +0200 |
commit | a8944b6664b41d72522342690794bef5b864af8f (patch) | |
tree | a21a6a5ac5a11ee9828d7832a36e0d477c6d0ab3 | |
parent | a2bc7116a3fdf2363208d68e8c639d0aa4ed145d (diff) |
arm64: toradex_defconfig: disable HDMI CEC driver
The Cadence MHDP HDMI CEC driver is not synchronized with HDMI
firmware loading and tries to read hdmi state immediately.
Disabling the HDMI CEC driver fixes the panics [1] on boot.
Note that this is a workaround and the full solution should include
reworking of synchronization between Cadence HDMI CEC and HDMI DRM
drivers.
[1]
========================
[ 8.368373] SError Interrupt on CPU4, code 0xbf000002 -- SError
[ 8.368376] CPU: 4 PID: 469 Comm: cdns-mhdp-cec Tainted: G O 5.4.91-5.2.0-devel+git.a2bc7116a3fd #1
[ 8.368377] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board (DT)
[ 8.368378] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 8.368379] pc : cdns_mhdp_bus_read+0xa8/0xe8
[ 8.368380] lr : cdns_mhdp_bus_read+0x24/0xe8
...
[ 8.368414] Kernel panic - not syncing: Asynchronous SError Interrupt
[ 8.368415] CPU: 4 PID: 469 Comm: cdns-mhdp-cec Tainted: G O 5.4.91-5.2.0-devel+git.a2bc7116a3fd #1
[ 8.368416] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board (DT)
[ 8.368417] Call trace:
[ 8.368418] dump_backtrace+0x0/0x140
[ 8.368419] show_stack+0x14/0x20
[ 8.368420] dump_stack+0xb4/0x110
[ 8.368420] panic+0x158/0x324
[ 8.368421] nmi_panic+0x84/0x88
[ 8.368422] arm64_serror_panic+0x74/0x80
[ 8.368423] do_serror+0x80/0x138
[ 8.368424] el1_error+0x84/0xf8
[ 8.368425] cdns_mhdp_bus_read+0xa8/0xe8
[ 8.368426] mhdp_cec_poll_worker+0x58/0x278
[ 8.368427] kthread+0x138/0x158
[ 8.368427] ret_from_fork+0x10/0x1c
[ 8.368444] SMP: stopping secondary CPUs
[ 8.368445] Kernel Offset: disabled
[ 8.368446] CPU features: 0x0002,2100600c
[ 8.368447] Memory Limit: none
========================
Related-to: ELB-3406
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r-- | arch/arm64/configs/toradex_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/configs/toradex_defconfig b/arch/arm64/configs/toradex_defconfig index 184b6bed7fec..b8d893d63d87 100644 --- a/arch/arm64/configs/toradex_defconfig +++ b/arch/arm64/configs/toradex_defconfig @@ -677,7 +677,6 @@ CONFIG_DRM_CDNS_MHDP=y CONFIG_DRM_CDNS_HDMI=y CONFIG_DRM_CDNS_DP=y CONFIG_DRM_CDNS_AUDIO=y -CONFIG_DRM_CDNS_HDMI_CEC=y CONFIG_DRM_DW_HDMI_AHB_AUDIO=m CONFIG_DRM_DW_HDMI_I2S_AUDIO=m CONFIG_DRM_DW_HDMI_GP_AUDIO=y |