ASoC: SOF: ipc4/Intel: Support for partial context
authorMark Brown <broonie@kernel.org>
Fri, 20 Jun 2025 10:33:01 +0000 (11:33 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jun 2025 10:33:01 +0000 (11:33 +0100)
commit07651feeeefbc65e6dae4fbb6fc8d8c785bea574
tree78693dab3b385d98320350e5901d397abf4c4b57
parent820e04cb8cae4904d670b5eca7feaeb07020debe
parentace9b3daf2b4778358573d3698e34cb1c0fa7e14
ASoC: SOF: ipc4/Intel: Support for partial context

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

The firmware will be able to only save and restore the context related to
library management.
This means that even without a full context save, the libraries do not
need to be re-loaded to the firmware after second or consecutive boots.

This is reported via the FW_READY notification, where BIT(15) indicates:
0 - the library restore is not done
1 - library restore is done

This bit is only valid if full context save is not enabled, full context
save is by definition saves and restores the library related book-keeping
as well.

Add a new flag to tell the platform code if the libraries have been
restored, no need to reload them after boot.