[PATCH v2 0/2] Fixes for deferred_probe_timeout cleanup
From: John Stultz
Date: Mon Apr 13 2020 - 16:43:18 EST
Just wanted to submit these two fixes for the
deferred_probe_timeout cleanup that landed in the v5.7-rc1 merge
window.
The first resets the default timeout value back to zero so we
have no behavioral change from 5.6. This avoids regressions on
boards that have "optional links" in their device tree.
The scond fixes an issue discovered by Yoshihiro Shimoda
and Geert Uytterhoeven, where if a timeout was set, things
like NFS root might fail due to wait_for_device_probe()
not blocking until the timeout expires.
thanks
-john
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Cc: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>
Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
Cc: netdev <netdev@xxxxxxxxxxxxxxx>
Cc: linux-pm@xxxxxxxxxxxxxxx
John Stultz (2):
driver core: Revert default driver_deferred_probe_timeout value to 0
driver core: Ensure wait_for_device_probe() waits until the
deferred_probe_timeout fires
drivers/base/dd.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
--
2.17.1