ASoC: SOF: Intel: Harden the IPC4 low level sequencing
authorMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 14:13:17 +0000 (15:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 14:13:17 +0000 (15:13 +0100)
commit3109bfda27561fece1cbf8cd367cf655d02c21dd
tree1d1ee7cb31253f2d74922a70ba707284c0a26421
parent4306fc8f8317f8e21d625733b1ad2d9f5265b441
parent010c050fe9ea263e3fc17493822117610a23f662
ASoC: SOF: Intel: Harden the IPC4 low level sequencing

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

Hi,

The IPC4 use of doorbell registers leaves some corner cases not well defined
and the 'correct sequences' are subjective in a sense.
The DSP doorbell registers are used as separate and independent channels and
the sequences for host -> DSP -> host (reply) can be racy.

For example:
The ACKing of a received message can happen before the firmware sends the reply
or it can as well happen after the reply has been sent and received by the host.
Both can be considered 'correct sequences' but they need different handling.

This series will allow the kernel to service any interpretation of the
sequencing on the firmware side.