Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1208050pxk; Fri, 4 Sep 2020 03:43:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfAOp1CUQFUwN0RLOXGU/lZt+8MkPvIkFeBUi4/SaB/69kddh6uTR941FD5JV14Cnb82pc X-Received: by 2002:a17:906:8d8:: with SMTP id o24mr6457532eje.384.1599216237854; Fri, 04 Sep 2020 03:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599216237; cv=none; d=google.com; s=arc-20160816; b=uP48BZv6J8r5PXXoFNE/TZA+tfLFyGm4YRlqOuZknoKXjxmZPsVJ4PzxRdSROCI514 0hoxcUQZo6+m9vsUaQqVj5GhGUdoI2WHV6d+zxJBZPw6IGfUiYxkAOfSHFQQmoWaSQPW 9WMmr8VcEHzlC4loRBGxHUr+mfpZQckWfTZTAcbtJEFisvE2ZDleLxD20GrKVUqseRDb GCNNfYWlOxj4LCF8ANhYgkoi0cBXeOCc0aqju0qrDEGa71qiJUzWpEWGUH0AMllLCVEi YwRTOTfBrGlK7clga46qX3RiMaaxEHEX8MX/yKNTf9i17vuMpRiWVvid9m3fXYAkqpvM kwXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XIRGdkogEbr2UU4S8C5/CFso+vuQ+g2531Q9ZkBMLUI=; b=cNHSBpgO9Y0oOCLdUKrPasKFRRtCfgcjxHBrLPozPmizsHkmtYJWJvvRZSLASW1Caq QC+A9nS5ylznjepEjTqlDbioDvexhimOzLLW/IlqfgsjObJkJEQd5WXIqEnJsrjxo9w+ 6NsRMOGf6HFZIIuFxiyvNyvaYhhXHo6m6bc6DVSi0rvFB/IjopeIqcXXXUCAsqmtw8hX rkkBZKHDgDyhbe9P1o22LylZW5GMC6V4Ko03qLqdl3pP/rQqSMzLMa6/8JoE9epVAl81 vziaeL/VC/zO6gRXSsEHGzJmbPGYE3IG/je7yd/RW7bEmmrMWok1IQ8t9ERc8h+AXaXb iOhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lf0HxtXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k26si4190554eds.443.2020.09.04.03.43.35; Fri, 04 Sep 2020 03:43:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lf0HxtXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730021AbgIDKmk (ORCPT + 99 others); Fri, 4 Sep 2020 06:42:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729897AbgIDKmW (ORCPT ); Fri, 4 Sep 2020 06:42:22 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70D76C061244 for ; Fri, 4 Sep 2020 03:42:22 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id x18so968121pll.6 for ; Fri, 04 Sep 2020 03:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XIRGdkogEbr2UU4S8C5/CFso+vuQ+g2531Q9ZkBMLUI=; b=lf0HxtXKMSyYzKLuSZFXF6q+/8QS2LhO8X4eKUQrQw27IOgZw9be6+E5iTpwCaRJ+Y lyKPPcsNegehi3VOvhhhAzzIusL4QB6dXCsO35c7v0Fp5veXhVfZosJaSZi/G4qTNGSU cNkdqloEiwKlqfMOBW/bWyzozp0NFaRbDqojxFe8k760+XTlP8ByHp+rwx8EnyDjtvtZ vErWrDcP9K+WXouHmumZN4kVZWTPSbKMIf1ZJvFO55ui1QQ6Bw9Bw4DJBimDzQUAWIhs TqJ+H/xKlfnggpy6RpbkxmV00XLVpT78HaH84BeTUwDcT9jJqwlqlYmtlKnFV3ce1ISp xQrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XIRGdkogEbr2UU4S8C5/CFso+vuQ+g2531Q9ZkBMLUI=; b=nniSXtJ7zCyWbSUVSjV6lXpm+oFsGS220Db/rtKvqgUV1z3nBLYkgnLl8au9bjyfDc g0Drlh9RAUkM/ZVe6VyvEr8IyF2iSpgswd/HeCVYl26DgVBawpkyLSNosGjqKGPHyAuL kASkZPItS9rozUbxjsQnuLECLNXq+DDKcFobaW6pYAbM0Gu/lmmVCyMwejtI26XFpmGT K6ivPTqXdhnAsshAVg3UJul92NpjMqGxEaGRuW1LUfp3UCx3CyvyeapCDf914XUToX0h E+FhfzwEd/b72rTfE2TpN4i+W0gB3Z+OV+3b6UHN/YCGRS8N78iNBS5Y0dpzLL7QkfDB 4/ng== X-Gm-Message-State: AOAM530kGHPIHvBkBQsKYGcbqIOx3dSC+Ct7fT0EC+dDP4hUDYw1e1YT OPXt/svHUeMn6xIHMThMXdD/ X-Received: by 2002:a17:90a:8589:: with SMTP id m9mr7675652pjn.109.1599216141746; Fri, 04 Sep 2020 03:42:21 -0700 (PDT) Received: from mani ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id s9sm4985194pgm.40.2020.09.04.03.42.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Sep 2020 03:42:20 -0700 (PDT) Date: Fri, 4 Sep 2020 16:12:11 +0530 From: Manivannan Sadhasivam To: Douglas Anderson Cc: Ulf Hansson , swboyd@chromium.org, Adrian Hunter , Andreas =?iso-8859-1?Q?F=E4rber?= , Angelo Dureghello , Jerome Brunet , Kevin Hilman , Lars Povlsen , Martin Blumenstingl , Microchip Linux Driver Support , Neil Armstrong , Steen Hegelund , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 6/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 5.4 Message-ID: <20200904104211.GA4056@mani> References: <20200903232441.2694866-1-dianders@chromium.org> <20200903162412.6.Ib121debfb18e5f923a3cd38fe9c36aa086c650c5@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200903162412.6.Ib121debfb18e5f923a3cd38fe9c36aa086c650c5@changeid> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 0903, Douglas Anderson wrote: > This is like commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous > probe") but applied to a whole pile of drivers. This batch converts > the drivers that appeared to have been added after kernel 5.4. > Backporting made easy ;) > Signed-off-by: Douglas Anderson For owl-mmc, Acked-by: Manivannan Sadhasivam Thanks, Mani > --- > > drivers/mmc/host/meson-mx-sdhc-mmc.c | 1 + > drivers/mmc/host/owl-mmc.c | 1 + > drivers/mmc/host/sdhci-esdhc-mcf.c | 1 + > drivers/mmc/host/sdhci-milbeaut.c | 1 + > drivers/mmc/host/sdhci-of-sparx5.c | 1 + > 5 files changed, 5 insertions(+) > > diff --git a/drivers/mmc/host/meson-mx-sdhc-mmc.c b/drivers/mmc/host/meson-mx-sdhc-mmc.c > index 53e3f6a4245a..7cd9c0ec2fcf 100644 > --- a/drivers/mmc/host/meson-mx-sdhc-mmc.c > +++ b/drivers/mmc/host/meson-mx-sdhc-mmc.c > @@ -903,6 +903,7 @@ static struct platform_driver meson_mx_sdhc_driver = { > .remove = meson_mx_sdhc_remove, > .driver = { > .name = "meson-mx-sdhc", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > .of_match_table = of_match_ptr(meson_mx_sdhc_of_match), > }, > }; > diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c > index df43f42855e2..ccf214a89eda 100644 > --- a/drivers/mmc/host/owl-mmc.c > +++ b/drivers/mmc/host/owl-mmc.c > @@ -689,6 +689,7 @@ MODULE_DEVICE_TABLE(of, owl_mmc_of_match); > static struct platform_driver owl_mmc_driver = { > .driver = { > .name = "owl_mmc", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > .of_match_table = owl_mmc_of_match, > }, > .probe = owl_mmc_probe, > diff --git a/drivers/mmc/host/sdhci-esdhc-mcf.c b/drivers/mmc/host/sdhci-esdhc-mcf.c > index 71bf086a9812..ca7a1690b2a8 100644 > --- a/drivers/mmc/host/sdhci-esdhc-mcf.c > +++ b/drivers/mmc/host/sdhci-esdhc-mcf.c > @@ -509,6 +509,7 @@ static int sdhci_esdhc_mcf_remove(struct platform_device *pdev) > static struct platform_driver sdhci_esdhc_mcf_driver = { > .driver = { > .name = "sdhci-esdhc-mcf", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > }, > .probe = sdhci_esdhc_mcf_probe, > .remove = sdhci_esdhc_mcf_remove, > diff --git a/drivers/mmc/host/sdhci-milbeaut.c b/drivers/mmc/host/sdhci-milbeaut.c > index 4e7cc0680f94..148b37ac6564 100644 > --- a/drivers/mmc/host/sdhci-milbeaut.c > +++ b/drivers/mmc/host/sdhci-milbeaut.c > @@ -333,6 +333,7 @@ static int sdhci_milbeaut_remove(struct platform_device *pdev) > static struct platform_driver sdhci_milbeaut_driver = { > .driver = { > .name = "sdhci-milbeaut", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > .of_match_table = of_match_ptr(mlb_dt_ids), > }, > .probe = sdhci_milbeaut_probe, > diff --git a/drivers/mmc/host/sdhci-of-sparx5.c b/drivers/mmc/host/sdhci-of-sparx5.c > index 747f108a0ace..28e4ee69e100 100644 > --- a/drivers/mmc/host/sdhci-of-sparx5.c > +++ b/drivers/mmc/host/sdhci-of-sparx5.c > @@ -255,6 +255,7 @@ MODULE_DEVICE_TABLE(of, sdhci_sparx5_of_match); > static struct platform_driver sdhci_sparx5_driver = { > .driver = { > .name = "sdhci-sparx5", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > .of_match_table = sdhci_sparx5_of_match, > .pm = &sdhci_pltfm_pmops, > }, > -- > 2.28.0.526.ge36021eeef-goog >