]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: sof-client: Update for different IPC versions
authorMark Brown <broonie@kernel.org>
Mon, 9 May 2022 21:12:23 +0000 (22:12 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 21:12:23 +0000 (22:12 +0100)
commitd89e3e3783b128d25557fe4bad59c4d8634cf92c
tree122095f5375259648b82aa45fe61d66c565a5e19
parentdbdd91b5765c34c458365a09602f2a7e806c87d4
parentd4dad6964cadc632ec4c048814b0bbcb907a8c5b
ASoC: SOF: sof-client: Update for different IPC versions

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

Hi,

The current IPC client infrastructure can only be used with IPC3.
This series carries updates for the core side of the client support to handle
IPC4 messages and updates the ipc message injector to be usable with IPC4.

The IPC flood test is only supported by SOF_IPC (IPC3), we are not going to
create the aux device for it at all if the firmware is using IPC4.

Regards,
Peter
---
Peter Ujfalusi (8):
  ASoC: SOF: sof-client: Add API to get the maximum IPC payload size
  ASoC: SOF: ipc-msg-injector: Query the maximum IPC payload size
  ASoC: SOF: sof-client-probes: Query the maximum IPC payload size
  ASoC: SOF: sof-client: Add API to get the ipc_type
  ASoC: SOF: sof-client: Add support IPC4 message sending
  ASoC: SOF: ipc-msg-injector: Separate the message sending
  ASoC: SOF: ipc-msg-injector: Add support for IPC4 messages
  ASoC: SOF: sof-client: IPC flood test can only work with SOF_IPC

 sound/soc/sof/sof-client-ipc-msg-injector.c | 181 ++++++++++++++++++--
 sound/soc/sof/sof-client-probes.c           |   5 +-
 sound/soc/sof/sof-client.c                  |  66 ++++++-
 sound/soc/sof/sof-client.h                  |   2 +
 4 files changed, 227 insertions(+), 27 deletions(-)

--
2.36.0