From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EF83C43461 for ; Mon, 7 Sep 2020 10:26:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17708205CB for ; Mon, 7 Sep 2020 10:26:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IFW139YP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kEHPy/5o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17708205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w8dwpyHy4xwSWe03wrIShKT4984qOGYq9AXf4RIS3y4=; b=IFW139YP0BGh7CI4tM97towmO MP+Bi//3xY6fv86TYjWliV13QAxDXZXK7S+vR/xCXq3RuGBBNYfEGjKzLbhlshIR6BLzgtsdRbH9d bikO3KsVa2Nl8800QvUm56I+U0xuB4GiMywp77S8mlqJnK1FnLj4s7VYkaX+U+GFtUo41OuEFbivX Wma89MJiEL7HfsxaAn9+7X6OUlOnAbTOIxEBYtFUICLpU9SoQbTxvqQuGcbxCoKIHKFyuCZpymCNq gRoSvNlHGtJJFAbcxgSL5kZaMcTnjKJqXjlbUI1G5aDdsiaT0I/qQUZsMA/YXuvf7SVlCuy/MLCVt QBHPmbPng==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFELl-00042g-B0; Mon, 07 Sep 2020 10:26:13 +0000 Received: from mail-ua1-x943.google.com ([2607:f8b0:4864:20::943]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFELh-00040a-KM for linux-amlogic@lists.infradead.org; Mon, 07 Sep 2020 10:26:11 +0000 Received: by mail-ua1-x943.google.com with SMTP id i22so3446880uat.8 for ; Mon, 07 Sep 2020 03:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AozzJXZUL22h+sKQZ059ls1ZeGArDktRdLkmygb6j+U=; b=kEHPy/5oC15OKB88KwjomCTjGDXuVbdoHHp/KjnfUHNjixAmkPO5iain7J/VCcsTKn x1BOYRDI2axsEtQT5hcb5Jw6PkthrUgHM0SY5DvRThY2DcsYpMRaQQk0ds9lja9NkzRY PH2XMfkdc4Bhwxg0iKrwXGI0b5PhLtPOvScQsPfeIbMW1EyxAkv8H/XglABmMObHphcH n7AlFcUa0ax6PkigvFLs3sPUtqdElHOR06iruiCM6S+cVuAtm283ysqv3MRZsEWp/6SN S8c5letuiGaNQOeCt+Ave+K6jWIy6JHorfDkw8YacPDr+MXogIUIhwWXZ0BjD9nTTSsp zB2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AozzJXZUL22h+sKQZ059ls1ZeGArDktRdLkmygb6j+U=; b=t6YTVO0bUhQyZaeDOq3gBwnPFdb8oiLVa/kI1qmPRqXGREPvV4rmRQiw3GxvcIomLR z1XWiRRCuEYPxRH/y7RAwHLJVcKAbqi3Zp+pDvAteJz4oMZhLq464h2Aui9yxZLJLW33 uvVoj/KRUNUrs6S67QOnkC46+3RUB1izqbCv/OpRMFZuVtRexpvSzLaRv0ESTnetZhmZ o98uXmaVM0wlc13KGUQVy6UGpMskBvsnjiYtoSB3zNT8ZZ6lxE8yGfSeGEnY4NYZkcdl cAoqKi5Q7IbDQ205pOplwOyhtsUd+6yVKnh5YOqj45dEOmuebnrPwwKiZvfcRRSNvUsS UKrw== X-Gm-Message-State: AOAM5316DT7Ef7XH7j+4c2rHpV5ZJbiwTy+aMYyPFRvCt5mWdB87zJWY u+GDT4L0C6riIj9AKgkdumLZ3t9KZC7FE/obNn95Yw== X-Google-Smtp-Source: ABdhPJy1eBqbsXfbOgOTKaIKV9d6z9pG4PRO7SQC+FwnjmOkT4mzyQi7YatfsHO8E9fzkaZ+4lehXIpuaB9Y6rBFcIo= X-Received: by 2002:ab0:6f91:: with SMTP id f17mr10608318uav.129.1599474367924; Mon, 07 Sep 2020 03:26:07 -0700 (PDT) MIME-Version: 1.0 References: <20200903232441.2694866-1-dianders@chromium.org> In-Reply-To: From: Ulf Hansson Date: Mon, 7 Sep 2020 12:25:31 +0200 Message-ID: Subject: Re: [PATCH 0/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for all host drivers To: Chen-Yu Tsai , Anand Moon , Martin Blumenstingl X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_062609_733404_0A1EAAC9 X-CRM114-Status: GOOD ( 25.09 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Geert Uytterhoeven , Linus Walleij , Peter Ujfalusi , Jerome Brunet , "moderated list:ARM/SAMSUNG EXYNO..." , Aaro Koskinen , Kevin Hilman , Michal Simek , Ludovic Desroches , NXP Linux Team , linux-tegra , Sascha Hauer , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Lars Persson , "open list:OMAP2+ SUPPORT" , Chaotian Jing , Scott Branden , Andrew Jeffery , Greg Kroah-Hartman , Yoshihiro Shimoda , Linux Kernel , Pengutronix Kernel Team , Eugen Hristev , Alexandre Belloni , linux-aspeed , Yangtao Li , Hu Ziji , Thierry Reding , Manivannan Sadhasivam , Jesper Nilsson , Chunyan Zhang , linux-arm-kernel@axis.com, Jonathan Hunter , "open list:ARM/Rockchip SoC..." , Kukjin Kim , Pierre Ossman , Saiyam Doshi , Maxime Ripard , "moderated list:BROADCOM BCM2835..." , "open list:ARM/Amlogic Meson..." , linux-arm-kernel , Barry Song , Nicolas Pitre , Douglas Anderson , Microchip Linux Driver Support , Stefan Wahren , Christophe JAILLET , Ricky Wu , Nicolas Saenz Julienne , Neil Armstrong , Al Cooper , Wolfram Sang , Fabio Estevam , Florian Fainelli , Steen Hegelund , Krzysztof Kozlowski , Kishon Vijay Abraham I , "open list:BROADCOM BCM281XX..." , Joel Stanley , Orson Zhai , Ray Jui , Ben Dooks , Masahiro Yamada , linux-mmc , Baolin Wang , Shawn Guo , =?UTF-8?Q?Andreas_F=C3=A4rber?= , "H. Nikolaus Schaller" , Nicolas Ferre , Paul Cercueil , Lee Jones , Marek Vasut , Anson Huang , Jaehoon Chung , Robert Richter , Rui Miguel Silva , "moderated list:ARM/Mediatek SoC..." , Manuel Lauss , Matthias Brugger , Stephen Boyd , Angelo Dureghello , Lars Povlsen , Adrian Hunter , Tony Prisk , Vinod Koul , Patrice Chotard , Viresh Kumar , Jun Nie Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Mon, 7 Sep 2020 at 06:08, Chen-Yu Tsai wrote: > > (Resent from kernel.org) > > On Mon, Sep 7, 2020 at 11:57 AM Anand Moon wrote: > > > > Hi Martin. > > > > On Sat, 5 Sep 2020 at 03:24, Martin Blumenstingl > > wrote: > > > > > > Hi Douglas, > > > > > > On Fri, Sep 4, 2020 at 1:25 AM Douglas Anderson wrote: > > > > > > > > As per discussion [1], it seems like it should be quite safe to turn > > > > on PROBE_PREFER_ASYNCHRONOUS for all sd/mmc host controllers. Let's > > > > give it a shot. For some discussion about this flag, see the commit > > > > message for commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous > > > > probe"). > > > can this somehow change the order in which the MMC drivers end up loading? > > > on Amlogic SoCs we have up to three MMC controllers, some SoCs even > > > use two different MMC controller IPs (and therefore two different > > > drivers). > > > so far the MMC controller naming (/dev/mmcblk* etc.) was consistent - > > > can that change with this patch? > > > Consistency has never been guaranteed. Just imagine one of the mmc host drivers ending up lacking some of its resources during ->probe() and returning -EPROBE_DEFER. UUID/PARTID has been the only way. > > > > We could resolve this by setting up aliases for mmc nodes in the dts. Yes, this is now possible due to the recently [1] applied patches for supporting mmc aliases. > > Right now, only the dw_mmc driver family supports aliases for mmc nodes. That's "mshc" specific (related to the old multiple slot support I think), but not affecting the mmc aliases, which the mmc core now is supporting. So the mmc aliases are common for all mmc hosts. Please have a look at the new OF parsing in mmc_alloc_host(). [...] Kind regards Uffe [1] https://patchwork.kernel.org/patch/11747669/ https://patchwork.kernel.org/patch/11747671/ _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic