[PATCH 0/4] ASoC: SOF: Intel: Harden the IPC4 low level sequencing

Mark Brown broonie at kernel.org
Wed Oct 19 16:18:16 CEST 2022


On Tue, 18 Oct 2022 15:40:04 +0300, Peter Ujfalusi wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: SOF: ipc4: Log the tx message before sending it
      commit: 2d91d5715f5f3b24456ede20dbbe967a1d2a0a3e
[2/4] ASoC: SOF: Intel: ipc4: Read the interrupt reason registers at the same time
      commit: c8ed7ce242db83ca2c4e9eab557a88adbae5ef6a
[3/4] ASoC: SOF: Intel: ipc4: Wait for channel to be free before sending a message
      commit: 483e4cdfb502e6bea6b0a226a3ff7c22e60153de
[4/4] ASoC: SOF: Intel: ipc4: Ack a received reply or notification separately
      commit: 010c050fe9ea263e3fc17493822117610a23f662

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


More information about the Alsa-devel mailing list