From 5d3c50402a6302e0c7055c05a3e5e51a22b0b47a Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Tue, 5 Sep 2023 13:17:38 +0800 Subject: [PATCH] core: set timeout to 400ms for secondary core disabling The CONFIG_SECONDARY_CORE_DISABLING_TIMEOUT is for FW to do secondary core disabling check and set to 5000ms by default. Linux driver set ipc timeout duration to 500ms, but FW wait 5000ms in cpu_disable_core for SET_DX ipc message. This makes driver stop but fw is still waiting. Actually the disabling can be successful in far less than 5000ms and it was first designed for FPGA case. Now change it to 400ms to make debugging easier. Signed-off-by: Rander Wang --- src/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Kconfig b/src/platform/Kconfig index b560674d9b46..f36c5ac2b7e4 100644 --- a/src/platform/Kconfig +++ b/src/platform/Kconfig @@ -468,7 +468,7 @@ config SOF_STACK_SIZE config SECONDARY_CORE_DISABLING_TIMEOUT int - default 5000 + default 400 depends on MULTICORE help Timeout value (in ms) for secondary core to enter D3 state.