Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2415008rwb; Mon, 7 Nov 2022 13:02:44 -0800 (PST) X-Google-Smtp-Source: AMsMyM6qqOCaZlLM5pWHlStVfiPcBnaR3BpxnJrzAdgOghIJT7ZUKnlxjbuEx9hdN5drj6LDa4uY X-Received: by 2002:a63:1455:0:b0:438:e26b:ab1f with SMTP id 21-20020a631455000000b00438e26bab1fmr43620347pgu.183.1667854964680; Mon, 07 Nov 2022 13:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667854964; cv=none; d=google.com; s=arc-20160816; b=Mb70RbR5KDz9DPO0IMjvUvnPu5vV/ylYicrr4gdepbmOm74bT9YOAhkTyiaVs6AEL5 l2mCHu3/R8UgHg2Fgt2QzZOuZn7u7+IAcobGQ96Y915UT5aACdC5EI+vsZ08Z5D59ua7 1cHJdwGqJUuL3xFQtOnT1FPkX3uQN53Xmk4OOMT0ByAEyKbJLALXJMjoKWSSFidSptye Ht5w01VMJbm1RDdTRuy2Hkxd7n6hZzrcBnWW3OcvSkkw/p3uxDFJWWUWxHuOB2gJM7AI Fqm0mZvySuGZa3YT9AQ4rt5/sAgBdgjY85PI9/BGu0gf6Iqzerdc66AizB/Fq+482hIJ UJOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Ob3MMNiUC2vlW5lEHB7KfWXwdlr55fOWirRPwAMtLlI=; b=vFNxHOp0J9/SZ+W9j0GD5dXuynQJ/twky6gHdZPuolJ+TX0PBy/7T9EFITaonOA7Xp YTniD1ZdYxR3kPNEaOsyT2uxTTCJKEg1pquSOmgcweYHRhOTYKdZhCnLFo87yMsB4lfj JtDhq77Fm6JNdXjf7AffaTX1Mnvf0d/BfbAVLP9B6VmGFVBxNN9BsMAo3vIWidzkQLDt vhf90A/wE9TKaGiRCMh78plbJl2Z182kgNOUj89w+2jgjZ0NYM8NEx19SrcVjJdOZlc1 B0EFgckV07McvQB2waJqy5VYYiIqA6VCfYApXBxg0s37n8IL2/BARXy0lm02zElzk82I GvSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mlGnodq/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm9-20020a17090b3ec900b0020da3876a77si12296182pjb.119.2022.11.07.13.02.31; Mon, 07 Nov 2022 13:02:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mlGnodq/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232920AbiKGUOH (ORCPT + 93 others); Mon, 7 Nov 2022 15:14:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232877AbiKGUNv (ORCPT ); Mon, 7 Nov 2022 15:13:51 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BBA92B247 for ; Mon, 7 Nov 2022 12:13:46 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id b21so12077937plc.9 for ; Mon, 07 Nov 2022 12:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ob3MMNiUC2vlW5lEHB7KfWXwdlr55fOWirRPwAMtLlI=; b=mlGnodq/OEZbV7bHtyxPxYmWDgdUOs8WRoE9x/YW0QLeANRLG/qo/pFHQlSwwXxQXv LwhdrGjnQ9ypjMoT2zJamcn2ES6KYdD0CB+rHnx9c0u8odxSm07xf8NHvm9ODGNFUO5i 4dPGEiH7Y7E3Xp/d0G5J4JLFs3lhIr6Xo4qDtFwVdmBkjmxVrgueA9LjHYy1I1rlnnil fAJpqs6cJ9C9UVsq2+h7uWs4W8w1ctgcT6LQmsoyuTmmBXtZD2noiKWDNPj1G0B1WP8m zEPuoFPPiImF/OcItBQLY2FD2rUCywNHdwediEh5pf+9kTqACmwrxKN0VIHlypyLu0iR xWYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ob3MMNiUC2vlW5lEHB7KfWXwdlr55fOWirRPwAMtLlI=; b=IfFu/CgW6XdN1eUTBJj5nfC9jc47tq9eefMeTIwV5WjFjE9dvBtQj62X9/tiNmc1Hz NRciKlOa50p1C3QsLAe5ZhJzLLZEgFtb3GI39r1yyXy2hVpBIYXGgUnjCY8thCKQCJt5 o5dVv4aWOHCOQGECb5a5IiAL9qmSX8sLGu6L3LBbiLveJX2DA3g8GNjRYDLWDGPis2ql /HjGO1DM7MDkRCjO5DmUQaQ9Uha70I8R3WpIEoebgXXWROf0PDwDdSihpqTEuVQNE/5W IKFF9gMi8RMqTDGjoUYOIpmp20uD/3WyYVfnpcNrYqEuRkSjGJeazCmy+VMhhjVHIb9i o6Hg== X-Gm-Message-State: ACrzQf3dCpHIgWevzHbV+JuDeBtuJMsg3doF4eHHiedyr8eW5edxkbOx AUtClHk7sjFe8Hz1WLFRY/PNwlZ240fT/X2pUKRlqX9V9f0= X-Received: by 2002:a17:90b:4d07:b0:1ef:521c:f051 with SMTP id mw7-20020a17090b4d0700b001ef521cf051mr71862866pjb.164.1667852025837; Mon, 07 Nov 2022 12:13:45 -0800 (PST) MIME-Version: 1.0 References: <20221028155633.1.I6c4bfb31e88fad934e7360242cb662e01612c1bb@changeid> In-Reply-To: <20221028155633.1.I6c4bfb31e88fad934e7360242cb662e01612c1bb@changeid> From: Ulf Hansson Date: Mon, 7 Nov 2022 21:13:08 +0100 Message-ID: Subject: Re: [PATCH] mmc: sdhci-pci: Set PROBE_PREFER_ASYNCHRONOUS To: Brian Norris Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Adrian Hunter Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 29 Oct 2022 at 00:56, Brian Norris wrote: > > This driver often takes on the order of 10ms to start, but in some cases > as much as 190ms. It shouldn't have many cross-device dependencies to > race with, nor racy access to shared state with other drivers, so this > should be a relatively low risk change. We've done similarly with a > variety of other MMC host drivers already. > > This driver was pinpointed as part of a survey of top slowest initcalls > (i.e., are built in, and probing synchronously) on a lab of ChromeOS > systems. > > Signed-off-by: Brian Norris Applied for next, thanks! Kind regards Uffe > --- > > drivers/mmc/host/sdhci-pci-core.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c > index 34ea1acbb3cc..0449630acbb3 100644 > --- a/drivers/mmc/host/sdhci-pci-core.c > +++ b/drivers/mmc/host/sdhci-pci-core.c > @@ -2281,7 +2281,8 @@ static struct pci_driver sdhci_driver = { > .probe = sdhci_pci_probe, > .remove = sdhci_pci_remove, > .driver = { > - .pm = &sdhci_pci_pm_ops > + .pm = &sdhci_pci_pm_ops, > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > }, > }; > > -- > 2.38.1.273.g43a17bfeac-goog >