Kai Vehmanen
44fda61d2b
ASoC: SOF: Revert: "core: unregister clients and machine drivers in .shutdown"
...
The unregister machine drivers call is not safe to do when
kexec is used. Kexec-lite gets blocked with following backtrace:
[ 84.943749] Freezing user space processes ... (elapsed 0.111 seconds) done.
[ 246.784446] INFO: task kexec-lite:5123 blocked for more than 122 seconds.
[ 246.819035] Call Trace:
[ 246.821782] <TASK>
[ 246.824186] __schedule+0x5f9/0x1263
[ 246.828231] schedule+0x87/0xc5
[ 246.831779] snd_card_disconnect_sync+0xb5/0x127
...
[ 246.889249] snd_sof_device_shutdown+0xb4/0x150
[ 246.899317] pci_device_shutdown+0x37/0x61
[ 246.903990] device_shutdown+0x14c/0x1d6
[ 246.908391] kernel_kexec+0x45/0xb9
This reverts commit 83bfc7e793b555291785136c3ae86abcdc046887.
Reported-by: Ricardo Ribalda <ribalda@chromium.org>
Cc: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20221209114529.3909192-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-12-12 15:44:21 +00:00
..
2022-12-05 14:05:37 +00:00
2022-08-24 12:21:28 +01:00
2022-12-12 15:44:20 +00:00
2022-11-30 11:35:43 +00:00
2021-12-23 13:38:25 +00:00
2022-08-31 12:12:59 +01:00
2022-04-27 14:15:24 +01:00
2022-12-12 15:44:21 +00:00
2022-08-05 12:57:23 +01:00
2022-02-10 15:19:04 +00:00
2022-05-04 15:31:18 +01:00
2022-06-17 10:46:41 +01:00
2022-10-21 13:04:54 +01:00
2022-11-29 12:56:09 +00:00
2022-05-19 16:44:17 +01:00
2022-11-29 12:56:09 +00:00
2022-10-18 19:16:47 +01:00
2022-06-16 09:31:17 +01:00
2022-11-09 13:44:18 +00:00
2022-10-18 21:17:21 +01:00
2022-11-09 13:44:20 +00:00
2022-11-09 13:44:18 +00:00
2022-11-10 17:50:14 +00:00
2022-07-15 20:11:33 +01:00
2022-10-21 20:04:19 +01:00
2022-10-31 13:20:20 +00:00
2022-11-28 13:04:35 +00:00
2022-10-21 13:05:10 +01:00
2022-10-31 13:20:22 +00:00
2022-09-19 17:52:36 +01:00
2022-05-19 16:44:15 +01:00
2022-10-31 21:15:19 +00:00
2022-09-19 15:44:07 +01:00
2022-06-17 10:46:13 +01:00
2022-04-19 12:03:34 +01:00
2021-03-02 15:31:40 +01:00
2022-10-28 13:05:01 +01:00
2022-11-29 12:56:09 +00:00
2022-05-19 16:44:29 +01:00
2022-07-14 13:26:37 +01:00
2022-10-31 13:20:18 +00:00
2022-10-31 13:20:22 +00:00
2022-11-17 13:58:43 +00:00
2022-10-31 13:20:22 +00:00
2022-10-31 13:20:21 +00:00
2022-10-31 13:20:21 +00:00
2022-04-19 12:03:34 +01:00
2022-08-23 18:22:29 +01:00
2022-10-21 13:05:03 +01:00
2021-03-02 15:32:00 +01:00
2022-10-31 21:15:19 +00:00
2022-09-19 15:44:06 +01:00
2022-02-10 15:19:04 +00:00
2022-03-11 13:41:09 +00:00
2022-11-29 12:56:09 +00:00
2022-05-19 16:44:15 +01:00