[PATCH 00/11] ASoC: SOF: Extend the IPC ops optionality

Peter Ujfalusi peter.ujfalusi at linux.intel.com
Wed Dec 21 11:23:17 CET 2022


Hi,

This series will extend the IPC ops optionality to cover it up to the existence
of the top level ipc pointer itself. There is no functionality change.

The reason for the extended optionality is that we have "DSPless"
debug/development support coming up (currently it is in SOF's topic/sof-dev
stable branch) initially supporting Intel's HDA platforms.

As the name suggests, in this mode the DSP is completely ignored by the linux
driver stack (no firmware loaded, only using HDA directly).

The DSPless mode is aimed to help us to verify our Linux stack on new platforms
where the firmware is not yet in the state that we can reliably use it, but the
hardware and programming flows can be tested already.
There is no plan to make DSPless a production target for SOF Linux stack.

While this is preparatory series aimed to unblock the DSPless support, it has
been integrated into sof-dev separately and we have lots of new features
depending on it (went in between this set and the DSPless support).

I still have some minor tasks to complete for the DSPless to make it a bit more
versatile, but I don't want to block other, stable features for upstreaming.

Regards,
Peter
---
Peter Ujfalusi (11):
  ASoC: SOF: sof-audio: Treat tplg_ops->route_setup() as optional
  ASoC: SOF: sof-audio: Update documentation for sof_ipc_tplg_ops
  ASoC: SOF: Add helper macro to be used to get an IPC ops
  ASoC: SOF: pcm: Extend the optionality of IPC ops to IPC as well
  ASoC: SOF: control: Extend the optionality of IPC ops to IPC as well
  ASoC: SOF: sof-audio: Extend the optionality of IPC ops to IPC as well
  ASoC: SOF: topology: Extend the optionality of IPC ops to IPC as well
  ASoC: SOF: pm: Extend the optionality of IPC ops to IPC as well
  ASoC: SOF: sof-priv: Mark fw_tracing ops optional in documentation
  ASoC: SOF: trace: Use sof_ipc_get_ops() in sof_fw_trace_init
  ASoC: SOF: trace: No need to check for op pointer in
    sof_fw_trace_free()

 sound/soc/sof/control.c   | 44 +++++++++----------
 sound/soc/sof/pcm.c       | 18 ++++----
 sound/soc/sof/pm.c        | 12 +++---
 sound/soc/sof/sof-audio.c | 57 +++++++++++++-----------
 sound/soc/sof/sof-audio.h |  6 ++-
 sound/soc/sof/sof-priv.h  |  6 ++-
 sound/soc/sof/topology.c  | 91 +++++++++++++++++++++++----------------
 sound/soc/sof/trace.c     |  8 ++--
 8 files changed, 138 insertions(+), 104 deletions(-)

-- 
2.39.0



More information about the Alsa-devel mailing list