Skip to content

ASoC: SOF: Add support ctx_save with IPC4

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: SOF: make ctx_store and ctx_restore as optionalsound/soc/sof/sof-priv.h+2 -20 replies
2/6ASoC: SOF: sof_ipc_pm_ops: Add support for DSP core power managementsound/soc/sof/sof-priv.h+2 -00 replies
3/6ASoC: SOF: ipc3: Add set_core_state pm_ops implementationsound/soc/sof/ipc3.c+18 -00 replies
4/6ASoC: SOF: ipc4: Add set_core_state pm_ops implementationinclude/sound/sof/ipc4/header.h sound/soc/sof/ipc4.c+34 -00 replies
5/6ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_statesound/soc/sof/intel/hda-dsp.c sound/soc/sof/intel/tgl.c+16 -290 replies
6/6ASoC: SOF: ipc4: implement pm ctx_save callbacksound/soc/sof/ipc4.c+15 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchRanjani SridharanBard LiaoPierre-Louis Bossart
1/6R-b R-b R-b
2/6R-b R-b R-b
3/6R-b R-b R-b
4/6R-b R-b R-b
5/6R-b R-b R-b
6/6R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] ASoC: SOF: Add support ctx_save with IPC4

Hi,

The context save functionality with IPC4 is triggered by sending a message to the firmware about the pending power down of the primary core by the host.

In order to have this functionality implemented in a clean way we need to introduce a new IPC level PM ops for core state management and use that instead of open coding IPC messages here and there.

The first patch updates the ctx store/ctx_restore documentation to clarify that they are optional.

Regards,
Peter
---
Peter Ujfalusi (6):
ASoC: SOF: make ctx_store and ctx_restore as optional
ASoC: SOF: sof_ipc_pm_ops: Add support for DSP core power management
ASoC: SOF: ipc3: Add set_core_state pm_ops implementation
ASoC: SOF: ipc4: Add set_core_state pm_ops implementation
ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_state
ASoC: SOF: ipc4: implement pm ctx_save callback

 include/sound/sof/ipc4/header.h |  8 +++++++
 sound/soc/sof/intel/hda-dsp.c   | 15 +++++-------
 sound/soc/sof/intel/tgl.c       | 30 ++++++++----------------
 sound/soc/sof/ipc3.c            | 18 +++++++++++++++
 sound/soc/sof/ipc4.c            | 41 +++++++++++++++++++++++++++++++++
 sound/soc/sof/sof-priv.h        |  6 +++--
 6 files changed, 87 insertions(+), 31 deletions(-)
Signature · 1 line
2.36.1