From patchwork Wed Apr 22 20:32:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 185698 Delivered-To: patches@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp1229842ilf; Wed, 22 Apr 2020 13:33:01 -0700 (PDT) X-Received: by 2002:a62:2707:: with SMTP id n7mr306843pfn.209.1587587581504; Wed, 22 Apr 2020 13:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587587581; cv=none; d=google.com; s=arc-20160816; b=pGLwykkbcU7QTUkvBxvDCcoVhzn9xGaQECoHxQIsYk6/XywcCpdacqM50tW+BOb257 MjI9UEEvS0sulq5UchdReil1jtXZ/vrTOYtrXipSAaKl+q5XV4qLTgxjvmYG+0V7UM/x /BBpH7f4+e+GWKlBlOcKbcC+sBhT7PqkEUHnrPU2lx/neIK5SRpPGiNaKK7oVtd6Y1u7 Q4xTRDFEr/fYEzSl+x+nu87hEsrcFHJVLUepIm8tsC9U7zcH+j8v81qLMq9JpH3v1Ixx 0OzjiMiQHwDMQhnXZ2nKqGB7OddFeb8wE48Wv7w1xcunBmyeFAntvTcl0TDVapQxWVHd qScA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=jCeWYCnhhC9ToX7slZfdTEYBZQCUrwfYBXRcN7qT7U8=; b=RGizjEqzoFKB8U9dztvLaBWYmObjzMmJCqvQQIVfjVjHxhVTDag9TywZlLIsZpXp2s vKXLfRRD9GY43sPtvILmRggqmGAQ4kCpgRZu0aLDnk9z34Llgjmyhtnp/SEXD/hn9p8v VQn0aZETgTGngQ9MEbWmHIII9w5dTfCN9UT3FEPgNzbSyxcX4Xt9X9ZH6XshwunxsJe2 kIpYS3lBgS3vn9dm2zUVjslWSWcBrXwbeD4zO51qmRfKBkSqZG7fPMF0Scb5d/okFFc7 CjWGlpwgCuhCOi/N5cyWh8d94+DHNQbvJr70BAYfDQoBjCKmW2qyg6nuAW3xSpbca/x6 UThg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UO+xX3Q8; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d16sor666557pll.32.2020.04.22.13.33.01 for (Google Transport Security); Wed, 22 Apr 2020 13:33:01 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UO+xX3Q8; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jCeWYCnhhC9ToX7slZfdTEYBZQCUrwfYBXRcN7qT7U8=; b=UO+xX3Q8r1JCfKH7BgXpnctxhkm0rF0cWVV0/oTCDm8iddC0e5NK5D1EOwY022FRdW Bi0sBJrCPebYJq7AqSJJrRWw21juBierZTOVm+RQTetM7+GDmcbuCdjJ0WqZIpXOIrs8 iQLahSkNgGH0zJaY++9gFkeL+GjcQIzEKBzamWhVu1ubE6+Swx8u5M8vJ0/Nx+FQjMTS bXZpJsKM9OYQzFTBGIf5A7Y7hGTh//MYPcNQJIrVACeR/ppD76PdnLzX0ZnumTQi/Cfa AVQThatK0ynQj7UNkZKTMjLjE5ouv6pGreF/WAMocMiWmSKs4gqdFSsWoXmxOaZpyaos 2doA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jCeWYCnhhC9ToX7slZfdTEYBZQCUrwfYBXRcN7qT7U8=; b=UUpSSh2HDNbjjyeGyETlQXxCPHnv5+2tmz4ieTpEeLuUuPrDUx9A64RZvx/hKSQaqT ZYQi0mqHfy97FcOP88vQMXseh0o+tkH9wvGeJrDljpDajkuumLbPGDyOLGy02n19DNfV +dCVMqdVL0hlOOzCmE0JpYrSjgH6FAgja7Ds42Zwt3wslLeYBRZZBJRvxwucNsgJA3CY 0oSAydUKJo4VWZCNKTiEJ7zz9emng/U1YKW76qquk3/sLWrrjVIgCVKVYc8YSWfTFZg3 ibg4x7p+fWhp4vU/rNFzp68BtiDDJ0Ur7B1FG08Jkdjv50IqOYtPKH+b01PbBrl0BvVX Bf5g== X-Gm-Message-State: AGi0PuY3Iypu7sJKEfrZ65YLk7KhXcGKv0W38MiT0Q8zpWPAb3Ze3hax MOhe2HGI/kTKAIsJF6x6HfyD8wvJ X-Google-Smtp-Source: APiQypIfHEK//oiAX9sm4588S3qKU/T9URBCuUpssWXapCXyk5kx73342FZOAyetJVSKhA9ugHqyWw== X-Received: by 2002:a17:902:9004:: with SMTP id a4mr408660plp.275.1587587581021; Wed, 22 Apr 2020 13:33:01 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id b24sm360292pfd.175.2020.04.22.13.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 13:33:00 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , Jakub Kicinski , Greg Kroah-Hartman , "Rafael J . Wysocki" , Rob Herring , Geert Uytterhoeven , Yoshihiro Shimoda , Robin Murphy , Andy Shevchenko , Sudeep Holla , Andy Shevchenko , Naresh Kamboju , Basil Eljuse , Ferry Toth , Arnd Bergmann , Anders Roxell , netdev , linux-pm@vger.kernel.org Subject: [PATCH v3 0/3] Fixes for deferred_probe_timeout cleanup Date: Wed, 22 Apr 2020 20:32:42 +0000 Message-Id: <20200422203245.83244-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 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" Cc: Alexey Kuznetsov Cc: Hideaki YOSHIFUJI Cc: Jakub Kicinski Cc: Greg Kroah-Hartman Cc: Rafael J. Wysocki Cc: Rob Herring Cc: Geert Uytterhoeven Cc: Yoshihiro Shimoda Cc: Robin Murphy Cc: Andy Shevchenko Cc: Sudeep Holla Cc: Andy Shevchenko Cc: Naresh Kamboju Cc: Basil Eljuse Cc: Ferry Toth Cc: Arnd Bergmann Cc: Anders Roxell Cc: netdev Cc: linux-pm@vger.kernel.org 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