Skip to content

Commit

Permalink
core: set timeout to 400ms for secondary core disabling
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
RanderWang committed Sep 5, 2023
1 parent d964b7b commit 5d3c504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d3c504

Please sign in to comment.