From patchwork Mon Apr 13 20:42:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 185377 Delivered-To: patches@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp650517ilf; Mon, 13 Apr 2020 13:43:03 -0700 (PDT) X-Received: by 2002:a17:90a:e608:: with SMTP id j8mr5307981pjy.44.1586810583654; Mon, 13 Apr 2020 13:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586810583; cv=none; d=google.com; s=arc-20160816; b=KdPTpV25bC+hHFfA/D4hsh+xgrWZ44Bb2+QRe4d/Gxu3VZ3JVwsRGru843/C9rVrHW oigwsucumXyVBc1qQSA8BO5q8wphb64Buysdqz4hyQSLkQIvb3CKyLkITfoB0wpWeJWK P4HEp3YfbU/hxFFI+GuRoV0PdOWnPxedb2VY+c1cuOxlvztVemsmJeZ7rkbcEgPYbm0Q EJdDPyr3aaYguEksTSt27TXMX46pMz/qgAQdSfxKUmjZD45y1PfiuRIzi5eTqBmA7z0s GMrHvNdH3zAuF4tBB0nGfAQYsyEFQ3rYgqMiUjfzuezbqxeOti+iCwFX8+GDzjWqjdUT LZCQ== 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=Jzl9zw+WWi+s6Kx4ZBqfebz2iDt6ayXKGXNZZjJo2Pk=; b=FlWe30zxVbOrYnQC2QKSYqpyt22EIEv2EJem6c/+6zxQpHZ3n9P2ulAhU1YAwUr0rl IcLnep8obSOFwxt4xk+R7PmGzLvkMihW3bPuaa8KbJNG10ClvMjuMrJV6XDzFAg16rb2 NZmq8UV8qxHcOv6oW8sqKFUHGKE1I2vdZc3MYfI+tiRQ+7N/UHgLfHIV1ttw6QNRrvED kOxKDvMZS3k3OF3RH2Bpm5ZwPKwAEaQAdUT+0Ukh/BSfaUkfCZGIx6RE9dWP+EudUyMz t1jfUk7viR1Krz26fOPNkUhEv3adsH7YZkTFC4axJaWnP6hyJW8US4dujFhUKPtoW3xD WEUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VT1Z726v; 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 ha22sor8691187pjb.35.2020.04.13.13.43.03 for (Google Transport Security); Mon, 13 Apr 2020 13:43:03 -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=VT1Z726v; 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=Jzl9zw+WWi+s6Kx4ZBqfebz2iDt6ayXKGXNZZjJo2Pk=; b=VT1Z726v06Ujmb0lEnnzZAtHRT4apvVynE5ed5Ktp3UGwkACAebRQ9zx2/tlMYHO5F rywIuPMKAUti5V6eK/5urkFIHTA2avL3pBcpv8gN80Owcdom1iv5VfXqsI01rnIAsKJM rhph9sz5PVaOOwI3UNEZQRB4o7SSiuZeWuVIfQT2JqASu3CFmZUlpXfo30toXIzJhl94 Ho65K0a43xa3bx6V4R+etOwnd0T+g1i7+JU+XRFRXnG4mBVArkSUa7KSxBRF8wIRSwaP kS6YP99wSgijh6YDO/COskWhGnToZT/yF2UvsM9LBykI/oQZrBYpXSEtLHX9qU8G7Haq TQHQ== 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=Jzl9zw+WWi+s6Kx4ZBqfebz2iDt6ayXKGXNZZjJo2Pk=; b=luhLFDnImXt6awxOQsUklkJVp0ppd+3+6LwPs2MYeVMraENmQE8p41rLcRAeAKFSk3 E2b91lOsL41ABtlxryF1KbFMtbJ2gONOCbYcij9TS8p/lFXy3svDzcoizJMEKtjTM6k7 /DW6iOYWLjXJc7VBvQYnEuKcbwuPlaLz8vuaBWpTVDr0WSAK0wWYAGAHTl+trKDOQXJt ivcJp5V7FfAj54YZK8UbEcwnTnCkXC05rx8XvXNxE5PG/lCV/xIo5CP3SgzLaAC/pFvD ajtqFmokJJ0KGnexYryu/GBpV/8XhceX1sRk6cUlIl5N9n19NjfNWM9RqB6uTYr/GZqp KLYg== X-Gm-Message-State: AGi0PuZdq8XXBp9a213uGCNVSiNerbimGwuaxsOjR2qLTXq94wbocXiI Pc8qreLrj4p+VsQixtOGulmv77ke X-Google-Smtp-Source: APiQypIRvteVMg0gNs6DmMEEBBIlRcc/01DPdawXCFZi7iOutYc4cJYrlnAN1psu50sBspsa1M3cjw== X-Received: by 2002:a17:90a:77cb:: with SMTP id e11mr24567922pjs.0.1586810583200; Mon, 13 Apr 2020 13:43:03 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id o21sm4763340pjr.37.2020.04.13.13.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 13:43:02 -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 , netdev , linux-pm@vger.kernel.org Subject: [PATCH v2 0/2] Fixes for deferred_probe_timeout cleanup Date: Mon, 13 Apr 2020 20:42:51 +0000 Message-Id: <20200413204253.84991-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 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" 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: netdev Cc: linux-pm@vger.kernel.org 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