Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp564611pxb; Thu, 19 Nov 2020 08:13:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzefbrGpB8YfuPWzHHg+JhRsQ8JSNLYgeVdwNMffGv/X5Te/K15q3WYyoKx9dYI+NQaZwWR X-Received: by 2002:a17:906:f84f:: with SMTP id ks15mr27804160ejb.337.1605802434890; Thu, 19 Nov 2020 08:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605802434; cv=none; d=google.com; s=arc-20160816; b=agpy+xKKfN3HHNnB/tJxFA0ZlujAgPa0mihZydD8jRzqg5iwIxliixdF3e5s9O2aAP p66RZJjnqqKIiCMFziWo+fxgpXH7Gc+kz8nV74HZH1ZkKKeKqghVlxZkXwaeYhHQ6Ri+ +KYE5wU5xBt8lpNTC+N8e9Fh3x2/t4fHxl64pClQxSRdJvVrnD2y4po9iYHI2fVwGn4T R6kjsAoDGSReId61V5OoR4JqNGejGyQyPn973QTXGjAqwJShxFvJ4tkDJo5pwHKagJ8m 6Ag2fYyywuKcZAlcs2Q8jER4DowX9pZBpAPfrEfgIJnnBkWGBKpuWELveEFc8DN6yVVm C7iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=3mopfuXNiEIeUiZMJSAjJrgfgPbC7lFyWarEiZjQiYk=; b=u/RfVLBADNG7Kih2yv3LmvxdRK0hEre01oaKb2lQI1rVjg0mfdrpKvhnf886mTzG8H uH2S73/z5RhijCrrZjokrCmF0M6cNl39pV57m+GekUSz9tg7le3k1Bljl0Zc4xL9+ySU H6YT4cCToBiFVcbmXcZMz0n/B8eFXHEbbwsZXr5JjxcWbS3hdVfxk/9RUn6BM+41mOZM 1AFqpK1xIjiVIoQj2VC/IwpJWjl7vf/56vWxezx8tYlx+F1bf18ukAhYALSza0Fr36El MI06C8VHPKwJh7HHh8n9+10ednRwRyk3ZU+VQkaE/Wdkpbcc+hBZXLdt/LuvOP15n6Pu Fe7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=SViSWSch; 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 m7si64898edq.549.2020.11.19.08.13.29; Thu, 19 Nov 2020 08:13:54 -0800 (PST) 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=@walle.cc header.s=mail2016061301 header.b=SViSWSch; 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 S1727895AbgKSQI4 (ORCPT + 99 others); Thu, 19 Nov 2020 11:08:56 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:59627 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727937AbgKSQIs (ORCPT ); Thu, 19 Nov 2020 11:08:48 -0500 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3F27022EE4; Thu, 19 Nov 2020 17:08:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1605802119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3mopfuXNiEIeUiZMJSAjJrgfgPbC7lFyWarEiZjQiYk=; b=SViSWSchFdgDX2H3c8i3mMIo6fzEH5VaQgqRkJB8rP776hyuv1j4hY+ECH51ZbBKlQJaVR j51K7P/8Nsp6jg8z7wP9pOHaKFPQrhuIOILUgDXDcAHdqH+676+m3GJ5lDTgfpf702Uq0y QwgqA2KkE21SBw+yCwTa28CkETDa8rc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 Nov 2020 17:08:39 +0100 From: Michael Walle To: Vladimir Oltean Cc: Shawn Guo , Li Yang , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Adrian Hunter , Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Ashish Kumar , Yangbo Lu Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices In-Reply-To: <20201119155025.965941-1-vladimir.oltean@nxp.com> References: <20201119155025.965941-1-vladimir.oltean@nxp.com> User-Agent: Roundcube Webmail/1.4.9 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vladimir, Am 2020-11-19 16:50, schrieb Vladimir Oltean: > As the boot order in the kernel continues to change, sometimes it may > happen that the eSDHC controller mmc@2150000 (the one for eMMC) gets > probed before the one at mmc@2140000 (for external SD cards). The > effect > is that the eMMC controller gets the /dev/mmcblk0 name, and the SD card > gets /dev/mmcblk1. Thanks for taking care. > Since the introduction of this SoC, that has never happened in > practice, > even though it was never guaranteed in theory. Setting > "root=/dev/mmcblk0p2" in /proc/cmdline has always caused the kernel to > use the second partition from the SD card as the rootfs. > > Preserve that old behavior by adding some aliases which create naming > consistency: > - the SD card controller uses /dev/mmcblk0 > - the eMMC controller uses /dev/mmcblk1 Could you change this behaviour for the sl28 board(s)? I've always found it counter-intuitive to have mmcblk1 being the eMMC on a board which always have the eMMC populated. All our images uses UUIDs for the "root=" parameter and, technically, the order wasn't specified yet. So I'd like to have the eMMC as /dev/mmcblk0 and the SD card as /dev/mmcblk1. -michael