[PATCH v3 0/3] Fixes for deferred_probe_timeout cleanup
From: John Stultz
Date: Wed Apr 22 2020 - 16:33:03 EST
Just wanted to resubmit these three 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 second changes the code to use dev_warn() instead of
dev_WARN() to address complaints about unnecessary backtraces in
the boot log.
The last 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
New in v3:
* Just included the previously posted dev_warn() fix into the
series, so they didn't collide.
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: Robin Murphy <robin.murphy@xxxxxxx>
Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Cc: Sudeep Holla <sudeep.holla@xxxxxxx>
Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Cc: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
Cc: Basil Eljuse <Basil.Eljuse@xxxxxxx>
Cc: Ferry Toth <fntoth@xxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Anders Roxell <anders.roxell@xxxxxxxxxx>
Cc: netdev <netdev@xxxxxxxxxxxxxxx>
Cc: linux-pm@xxxxxxxxxxxxxxx
John Stultz (3):
driver core: Revert default driver_deferred_probe_timeout value to 0
driver core: Use dev_warn() instead of dev_WARN() for
deferred_probe_timeout warnings
driver core: Ensure wait_for_device_probe() waits until the
deferred_probe_timeout fires
drivers/base/dd.c | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
--
2.17.1