Re: [PATCH AUTOSEL 6.1 1/7] ASoC: SOF: Revert: "core: unregister clients and machine drivers in .shutdown"

From: Sasha Levin
Date: Mon Jan 09 2023 - 07:35:39 EST


On Wed, Jan 04, 2023 at 02:34:55PM +0200, Kai Vehmanen wrote:
Hi,

On Sat, 31 Dec 2022, Sasha Levin wrote:

From: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>

[ Upstream commit 44fda61d2bcfb74a942df93959e083a4e8eff75f ]

The unregister machine drivers call is not safe to do when
kexec is used. Kexec-lite gets blocked with following backtrace:

this should be picked together with commit 2aa2a5ead0e ("ASoC: SOF: Intel:
pci-tgl: unblock S5 entry if DMA stop has failed"), to not bring back old
bugs (system failures to enter S5 on shutdown). The revert patch
unfortunately fails to mention this dependency.

If I'm too late with my reply, I can send the second patch separately to
stable.

I took 2aa2a5ead0e along with this patch, thanks!

--
Thanks,
Sasha