]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Fri, 7 Feb 2025 11:46:04 +0000 (13:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:19 +0000 (12:54 -0700)
commita14be80a82c8fbb1a9ceeebd8a8cf7c2ac45c5e3
tree0a4eae5953d0c72e52a62e0b6f64f9e5b5157605
parent985c2c69a5e45a63625d9a58ecc4305028038fbd
ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE

[ Upstream commit ac84ca815adb4171a4276b1d44096b75f6a150b7 ]

In some cases, e.g. during resuming from suspend, there is a possibility
that some IPC reply messages get received by the host while the DSP
firmware has not yet reached the complete boot state.

Detect when this happens and do not attempt to process the unexpected
replies from DSP.  Instead, provide proper debugging support.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20250207-sof-vangogh-fixes-v1-3-67824c1e4c9a@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/amd/acp-ipc.c