Re: [PATCH v2 3/4] PM: hibernate: allow wait_for_device_probe() to timeout when resuming from hibernation

From: Arjan van de Ven
Date: Mon Jul 11 2022 - 13:58:41 EST


On 7/11/2022 3:44 AM, Tetsuo Handa wrote:
On 2022/07/11 17:12, Greg KH wrote:
creating a
locking loop like this should be resolved first,

Rafael and Arjan, can we agree with removing wait_for_device_probe() from snapshot_open() ?


we can probably remove it. the "fun" is then that devices you need might not be ready once you remove it.
so if we otherwise would panic, we should at least try again after some delay...
(since a panic() is very nasty to debug for all the obvious reasons.. especially is the screen isn't on yet)