Skip to content

Commit 46e12d7

Browse files
serhiy-katsyuba-intelabonislawski
authored andcommitted
intel: Increase IDC timeout for FPGAs
Blocking IDC is used to call comp_free() for a DP component instantiated on a different core than its pipeline. On FPGA, unloading an LLEXT module takes almost 10 ms (for the SRC module, which has a lot of rodata). In addition, log_flush() takes at least 5 ms if there are some logs to flush. However, FPGA seems to have a tendency to have more deferred logs, and log_flush() could take even more time. Let's increase the IDC timeout for FPGA to 50 ms, compared to 15 ms on silicon. Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
1 parent 85b1b0e commit 46e12d7

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

app/overlays/lnl/fpga_overlay.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ CONFIG_XTENSA_CCOUNT_HZ=40000000
44

55
# improves LPSRAM and HPSRAM access time
66
CONFIG_SRAM_RETENTION_MODE=n
7+
8+
CONFIG_IDC_TIMEOUT_US=50000

app/overlays/mtl/fpga_overlay.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ CONFIG_XTENSA_CCOUNT_HZ=40000000
44

55
# improves LPSRAM and HPSRAM access time
66
CONFIG_SRAM_RETENTION_MODE=n
7+
8+
CONFIG_IDC_TIMEOUT_US=50000

app/overlays/nvl/fpga_overlay.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ CONFIG_XTENSA_CCOUNT_HZ=40105000
44

55
# limit logs to minimize runtime overhead of logging
66
CONFIG_SOF_LOG_LEVEL_ERR=y
7+
8+
CONFIG_IDC_TIMEOUT_US=50000

app/overlays/ptl/fpga_overlay.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ CONFIG_SOF_LOG_LEVEL_ERR=y
66

77
# improves LPSRAM and HPSRAM access time
88
CONFIG_SRAM_RETENTION_MODE=n
9+
10+
CONFIG_IDC_TIMEOUT_US=50000

app/overlays/wcl/fpga_overlay.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ CONFIG_SOF_LOG_LEVEL_ERR=y
66

77
# improves LPSRAM and HPSRAM access time
88
CONFIG_SRAM_RETENTION_MODE=n
9+
10+
CONFIG_IDC_TIMEOUT_US=50000

0 commit comments

Comments
 (0)