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=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 4E4DAC4320E for ; Fri, 23 Jul 2021 12:59:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 12F8360E95 for ; Fri, 23 Jul 2021 12:59:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 12F8360E95 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FgjIM4q+zv1RpdfUfqOApNhH7qIeO4J57DVNINZjqfY=; b=rHWbWYKAYXUMb3 EgVbYJqwlTfJESAjCwpCTGsrcZDCPh79OXZ3kUctUQs8EH5tw3isWm2lFq+vmlNhwHoYm90UFhjhQ Lmvpoe6QyndQzYKmzw0aUfRsU/+TgD90SuCwxaJuO5CRdyr3QHZhqPevih9XQZUoxQTs9xKYeqJqt yYuYzGJ2hxXjSqb/NMj6Elh+xL4mGM4V7KT9AFmIZ4EU5cPd1ysL+bSU+ip84EnZOFPa9RZC7/Nab rqgOSeYsg+b2Dn1sD5wxBJ6RzApcmB2sCXyCEOX9CW8rI+37pCxlN09ziIAslXU6l63JC/I3YQLSN 2eIttk1q40aB6GlI2WjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ukc-004kDn-Dc; Fri, 23 Jul 2021 12:58:02 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ukX-004kBz-2J for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 12:57:58 +0000 Received: (Authenticated sender: gregory.clement@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id D772E60009; Fri, 23 Jul 2021 12:57:51 +0000 (UTC) From: Gregory CLEMENT To: Vladimir Oltean , devicetree@vger.kernel.org Cc: Marek =?utf-8?Q?Beh=C3=BAn?= , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , Ulf Hansson , Douglas Anderson , Wolfram Sang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers In-Reply-To: <20210722101134.2514089-1-vladimir.oltean@nxp.com> References: <20210722101134.2514089-1-vladimir.oltean@nxp.com> Date: Fri, 23 Jul 2021 14:57:51 +0200 Message-ID: <87im11192o.fsf@BL-laptop> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_055757_305025_96AF6754 X-CRM114-Status: GOOD ( 15.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Vladimir, > Since drivers/mmc/host/sdhci-xenon.c declares the PROBE_PREFER_ASYNCHRONOUS > probe type, it is not guaranteed whether /dev/mmcblk0 will belong to > sdhci0 or sdhci1. In turn, this will break booting by: > > root=/dev/mmcblk0p1 > > Fix the issue by adding aliases so that the old MMC controller indices > are preserved. > > Fixes: 7320915c8861 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14") > Signed-off-by: Vladimir Oltean Applied on mvebu/fixes Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts > index ce2bcddf396f..f2d7d6f071bc 100644 > --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts > @@ -19,6 +19,8 @@ / { > aliases { > spi0 = &spi0; > ethernet1 = ð1; > + mmc0 = &sdhci0; > + mmc1 = &sdhci1; > }; > > chosen { > -- > 2.25.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel