Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99898c7

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 <[email protected]>
1 parent 1f83b15 commit 99898c7

14 files changed

+143
-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
@@ -85,3 +85,6 @@ CONFIG_LOG_BACKEND_SOF_PROBE=n
8585
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
8686
CONFIG_WINSTREAM_CONSOLE=n
8787
CONFIG_LOG_FLUSH_SLEEP_US=5000
88+
89+
# Use the new IPC message service in Zephyr
90+
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
@@ -63,3 +63,6 @@ CONFIG_LOG_BACKEND_ADSP=n
6363
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
6464
CONFIG_WINSTREAM_CONSOLE=n
6565
CONFIG_LOG_FLUSH_SLEEP_US=5000
66+
67+
# Use the new IPC message service in Zephyr
68+
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
@@ -65,3 +65,6 @@ CONFIG_LOG_BACKEND_ADSP=n
6565
CONFIG_LOG_FLUSH_SLEEP_US=5000
6666
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
6767
CONFIG_WINSTREAM_CONSOLE=n
68+
69+
# Use the new IPC message service in Zephyr
70+
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
@@ -58,3 +58,6 @@ CONFIG_LOG_BACKEND_ADSP=n
5858
CONFIG_LOG_FLUSH_SLEEP_US=5000
5959
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
6060
CONFIG_WINSTREAM_CONSOLE=n
61+
62+
# Use the new IPC message service in Zephyr
63+
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
@@ -54,3 +54,6 @@ CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
5454
# Zephyr / logging
5555
CONFIG_LOG_BACKEND_ADSP=n
5656
CONFIG_WINSTREAM_CONSOLE=n
57+
58+
# Use the new IPC message service in Zephyr
59+
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
@@ -54,3 +54,6 @@ CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
5454
# Zephyr / logging
5555
CONFIG_LOG_BACKEND_ADSP=n
5656
CONFIG_WINSTREAM_CONSOLE=n
57+
58+
# Use the new IPC message service in Zephyr
59+
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)