Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6708836imm; Tue, 24 Jul 2018 01:26:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcz/E7yfjyZ+sei2/WQuK4LGpul7ImdOgwTo0flMlgmyLnle96SnEUxDLsFQ8hvsUapC1Aq X-Received: by 2002:a62:591a:: with SMTP id n26-v6mr16755667pfb.94.1532420794980; Tue, 24 Jul 2018 01:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532420794; cv=none; d=google.com; s=arc-20160816; b=TKFvxzEF9NcIf+TqGw4rL49lVj1NTbiqf/hFbvIaWb6xavwnx5W8enBJ/fkFqHWhxm 9czKNivJDu+j66XmXdqi+HmoU3pMgXa9nR3aOyjFQICL72lSC68SXt4nwdHn8VZ8HlKT 1j0Yn+69uwASIHX5XkCJqxdczwmMuUohXM4w6kadN2AEOmuJXuh5ZfAiTnRhpGdAgelf lDgDAOtHf8fa3f3d/g8G9UJud7X5fUX9eC3YS8GI8lDQRa2Tomgy0eZ8G9yHuXTHOY9F /YI4b16tqUmF0Xu/Z+xYmnSEWApgkUO9CCD3wz/BBp2YGrcngAgy0ZQSxHqoWhOJUYp6 +iPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=CJfZVlBwHzg812l6pz3xse3JdS+NVb3v/rForrGBQfA=; b=aHUfyGQCH1XPWHWFBHyKP1dBjlh04ouKr+5EY67TSpiDXVHiwnUbedfDRihy2hfGvJ zeRQRPq3PogpQEt3/3HQe04qoa/Vsth99ir7Zod1NdY/69r462v5JG4fGZnnQseiREcK UPbIAlTIzpIkOnot7Jhw13kBwxlhtqGPhsleiLfiJvwc5GxbC5iUA9D5o7MOldfpXUs8 F6ofC9rkyOT/ucCBslg/lSTwxl2aPkHCgEHxoF1kAgZQSeNeiJOPAwSfbqYXPYSdDcpb F75njiw7lNmf8JdkVwBo/JsCV5u1a1AFTXVBYYBmOvfhYJ4YWsAKT6P6/ia9d0vZSCyI PdZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jJXFS6bE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16-v6si11742217pfj.144.2018.07.24.01.26.20; Tue, 24 Jul 2018 01:26:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jJXFS6bE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388608AbeGXJaN (ORCPT + 99 others); Tue, 24 Jul 2018 05:30:13 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:36475 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388405AbeGXJaN (ORCPT ); Tue, 24 Jul 2018 05:30:13 -0400 Received: by mail-oi0-f65.google.com with SMTP id n21-v6so6056114oig.3 for ; Tue, 24 Jul 2018 01:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CJfZVlBwHzg812l6pz3xse3JdS+NVb3v/rForrGBQfA=; b=jJXFS6bEkh3wbFDCX1OgEPwrncosFqzC1Am9kNMhfjg3cD7a8GNh6nv1sQjn9y79Sd mzHbfDb6bDYFfOuYfSFyaollM3B0c+/PIiLHMZPrf9X0cl5iSwxc6TC1FT0ftu0ySKF8 JJ72VH9+PwskS9rdGlJDGYUAkqLWtur1Fc8zg2thli1P4RmTJ7i1npIxtCOnYINPpUgh wclysKIBTLCHdhF+t616Ya0cOa6p9o+oImB6WHoxTh0uC3tYLmCLETmWMcOEtELZJSsw aGG00UYtHx2/nXFpdsYW9ud6HT4sAvVRgym7sq0gvUMkta7AaInzUhaSaUYWH9oOT/Z0 98pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CJfZVlBwHzg812l6pz3xse3JdS+NVb3v/rForrGBQfA=; b=ToYQMaRM7nSfZf2GoSarrcO05vX6RS9QAjwZOQ5xuutYOiWaZm3C2ZgpznyUGdKMIS hvzTFto8HcQt5i2+jzqDdM7Qm33LmDEcaVj0DNYdVBRZM3miDJI2HQeF9WV7dkiOPpm5 aamI9PILjTcSH/xxJZ4BoZNi1SZRUxRer32aZXgNYCZLgaF4W4M3Re4YF6L79lwfwuMd 4BMzARLagMhyw6rI5wZifULsuAU9p9hM8Bfa96VyqDCJctHx6BMEkurGDn5e7TU/BVjE DGnoIHKfWFwJ3ih0rRFwMrbrWTg8kJweZjytpq+rnXEPXP4U28TmxGlxBrkIzi+cZE2Y NvGg== X-Gm-Message-State: AOUpUlFvA/UGl8rynXwi5KOUI1XyZcuTJMY9nY7Ig5XmRGJPLVsQRaqK LGqrFeh0HOgVThuZS5EWQiNpK8p6Q//L2/jXYWY= X-Received: by 2002:aca:ecd0:: with SMTP id k199-v6mr2333783oih.227.1532420693684; Tue, 24 Jul 2018 01:24:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:63d2:0:0:0:0:0 with HTTP; Tue, 24 Jul 2018 01:24:53 -0700 (PDT) In-Reply-To: References: <1532035440-7860-1-git-send-email-rishabhb@codeaurora.org> From: "Rafael J. Wysocki" Date: Tue, 24 Jul 2018 10:24:53 +0200 X-Google-Sender-Auth: -7w6NkHsVsyz-M4eIydnqq3ntn8 Message-ID: Subject: Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level To: Rishabh Bhatnagar Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Linux Kernel Mailing List , ckadabi@codeaurora.org, tsoni@codeaurora.org, Vikram Mulukutla Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 23, 2018 at 10:22 PM, wrote: > On 2018-07-23 04:17, Rafael J. Wysocki wrote: >> >> On Thu, Jul 19, 2018 at 11:24 PM, Rishabh Bhatnagar >> wrote: >>> >>> Drivers that are registered at an initcall level may have to >>> wait until late_init before the probe deferral mechanism can >>> retry their probe functions. It is possible that their >>> dependencies were resolved much earlier, in some cases even >>> before the next initcall level. Invoke one probe retry cycle >>> at every _sync initcall level, allowing these drivers to be >>> probed earlier. >> >> >> Can you please say something about the actual use case this is >> expected to address? > > We have a display driver that depends 3 other devices to be > probed so that it can bring-up the display. Because of dependencies > not being met the deferral mechanism defers the probes for a later time, > even though the dependencies might be met earlier. With this change > display can be brought up much earlier. OK What runlevel brings up the display after the change? Thanks, Rafael