Skip to content

Commit 33b880e

Browse files
committed
ipc: rework Zephyr IPC interface
This reworks the Zephyr IPC interface to utilize the generic IPC service and backend. So we no longer have to maintain a SoC specific IPC driver. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
1 parent b3ce1f5 commit 33b880e

14 files changed

+136
-26
lines changed

app/boards/intel_adsp/Kconfig.defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ config DAI_INTEL_SSP
115115
default y
116116

117117
config INTEL_ADSP_IPC
118+
bool
118119
default y
120+
depends on IPC_SERVICE_BACKEND_INTEL_ADSP_HOST_IPC
119121

120122
config INTEL_ADSP_TIMER
121123
default y

app/boards/intel_adsp_ace15_mtpm.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ CONFIG_LOG_BACKEND_SOF_PROBE=n
8484
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
8585
CONFIG_WINSTREAM_CONSOLE=n
8686
CONFIG_LOG_FLUSH_SLEEP_US=5000
87+
88+
# Use the new IPC message service in Zephyr
89+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace20_lnl.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ CONFIG_LOG_BACKEND_ADSP=n
6262
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
6363
CONFIG_WINSTREAM_CONSOLE=n
6464
CONFIG_LOG_FLUSH_SLEEP_US=5000
65+
66+
# Use the new IPC message service in Zephyr
67+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace30_ptl.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ CONFIG_LOG_BACKEND_ADSP=n
6464
CONFIG_LOG_FLUSH_SLEEP_US=5000
6565
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
6666
CONFIG_WINSTREAM_CONSOLE=n
67+
68+
# Use the new IPC message service in Zephyr
69+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace30_ptl_sim.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ CONFIG_SOF_LOG_LEVEL_INF=n
3535
CONFIG_SOF_LOG_LEVEL_OFF=y
3636
CONFIG_ZEPHYR_LOG=n
3737

38-
CONFIG_INTEL_ADSP_IPC=y
3938

4039

4140
# Temporary disabled options
@@ -45,3 +44,6 @@ CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
4544
CONFIG_COMP_KPB=n
4645

4746
CONFIG_USERSPACE=y
47+
48+
# Use the new IPC message service in Zephyr
49+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace30_wcl.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ CONFIG_LOG_BACKEND_ADSP=n
5151
CONFIG_LOG_FLUSH_SLEEP_US=5000
5252
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
5353
CONFIG_WINSTREAM_CONSOLE=n
54+
55+
# Use the new IPC message service in Zephyr
56+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace30_wcl_sim.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
4141
CONFIG_COMP_KPB=n
4242

4343
CONFIG_USERSPACE=y
44+
45+
# Use the new IPC message service in Zephyr
46+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace40_nvl.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ CONFIG_SRAM_RETENTION_MODE=n
4545
# Zephyr / logging
4646
CONFIG_LOG_BACKEND_ADSP=n
4747
CONFIG_WINSTREAM_CONSOLE=n
48+
49+
# Use the new IPC message service in Zephyr
50+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_ace40_nvls.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ CONFIG_SRAM_RETENTION_MODE=n
4545
# Zephyr / logging
4646
CONFIG_LOG_BACKEND_ADSP=n
4747
CONFIG_WINSTREAM_CONSOLE=n
48+
49+
# Use the new IPC message service in Zephyr
50+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

app/boards/intel_adsp_cavs25.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y
5656
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
5757
CONFIG_LOG_TIMESTAMP_64BIT=y
5858
CONFIG_WINSTREAM_CONSOLE=n
59+
60+
# Use the new IPC message service in Zephyr
61+
CONFIG_INTEL_ADSP_IPC_OLD_INTERFACE=n

0 commit comments

Comments
 (0)