ASoC: SOF: Add support ctx_save with IPC4
authorMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 17:28:20 +0000 (18:28 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 17:28:20 +0000 (18:28 +0100)
commit55e1c007e1bd3b30efac683f6d7eba6d4a13928d
treec88329ded80fb262cbb7678b43e0d0bb08638619
parent25ebeeebcb5493b42b6d43e4f4c49823782b83af
parent63b9069653a710b08d5fd174ac05d43711356541
ASoC: SOF: Add support ctx_save with IPC4

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

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.
sound/soc/sof/ipc3.c
sound/soc/sof/sof-priv.h