Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1331658pxv; Fri, 23 Jul 2021 05:59:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3c41gcvbEmcmFFevqhWuzN7V9CC8LoEroOPoDYXwvo5iyxMle74ZJeXzDr+Kum3U2j3F7 X-Received: by 2002:a17:906:86d0:: with SMTP id j16mr4514917ejy.20.1627045190956; Fri, 23 Jul 2021 05:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627045190; cv=none; d=google.com; s=arc-20160816; b=FinnNcmjU5mVuEAw/7Ynn3n6sWAaxUbcIY0zOhBmQnzyZ/a/9xUPR9xrE08HPo4Rcw 0iIJvg/2Q0cRqdaCwSS0erJSKKkN8gkegK3GxE1eC5Qd9PP3l1ECwo1sIVZ7MpPxXVES SegxXPSQHiwafP/cwPT5Oy0uWlMzWLpL3R8pLQ/Cn5nz+R5Ww0jq0v+GNx5sOCdjs+XX sKH0e3akbVHhBk61q3vIrR/lLIYApXyoSIQk75DfF2McJTP6qpDQ/4AAsZdzUct8Tjrr LC7hGfx61/Z1y/f8pB2VxgNe8e8sN/F002DiJOHsnsXarTDEr+lmN/EdOPRWcE89kc+d jT7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=rCu4YUBeDl9jBFspJxLKcsxIGhu0P3Kaa85j3TwIaMs=; b=shzWYCoo09uLHWGaFUXGZUHwB2zNx3tn/67WSMNI6cGT9blFyWPhPL9RiNtvitFpak cRTYl2Dj0An1VwBnOo9iX+DFx3shpLuAoTmpaprqK5iTHU9Vjfsd90m6RG9L30s0ELyw w7Wr0gR9ICHUbsOSefhI0rwPQRqBEoaGlMnLmpZk69og2KJs7FJ2W1Utqjprrld48U/R hT3VnBFB6WM4kPK/9FInRMCHZZSRsJK52aYNwsSjXynZg9usttjzUxFys5mwE54L5gyF HKUNqpDp1aErMi0b95tlA6ah6PfJ5CWPPZb1eUCYGAmkzvpdYsaXzbdBqc43SyNf+SVf mG2w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw8si33156680ejb.409.2021.07.23.05.59.27; Fri, 23 Jul 2021 05:59:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235062AbhGWMRW (ORCPT + 99 others); Fri, 23 Jul 2021 08:17:22 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:55557 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234952AbhGWMRV (ORCPT ); Fri, 23 Jul 2021 08:17:21 -0400 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 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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