lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c3c62929-77ba-6bae-1e0c-4d4ece9c9b32@i2se.com>
Date:   Tue, 14 Jun 2022 22:47:48 +0200
From:   Stefan Wahren <stefan.wahren@...e.com>
To:     Ariel D'Alessandro <ariel.dalessandro@...labora.com>,
        krzysztof.kozlowski+dt@...aro.org, nsaenz@...nel.org,
        robh+dt@...nel.org
Cc:     bcm-kernel-feedback-list@...adcom.com, devicetree@...r.kernel.org,
        linux-rpi-kernel@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        pbrobinson@...il.com, f.fainelli@...il.com
Subject: Re: [PATCH] ARM: dts: bcm2711-rpi: Use aliases to set custom MMC
 device index

Hi Ariel,

Am 14.06.22 um 16:12 schrieb Ariel D'Alessandro:
> Add MMC aliases to ensure that the /dev/mmcblk ID for the first
> eMMC/SD card won't change depending on the probe order of the MMC
> drivers.

this changes the emmc2 from mmc1 to mmc0 in my case (RPi 4, 
multi_v7_defconfig), which i consider as a regression / unexpected 
change in userspace.

Could you please explain your actual motivation of your patch?

>
> Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@...labora.com>
> ---
>
> Changes in v2:
> * Moved alias from bcm2711-rpi-4-b.dts to bcm2711-rpi.dtsi
>
>   arch/arm/boot/dts/bcm2711-rpi.dtsi | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/bcm2711-rpi.dtsi b/arch/arm/boot/dts/bcm2711-rpi.dtsi
> index ca266c5d9f9b..a39b2f68e4cc 100644
> --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
> +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
> @@ -13,6 +13,7 @@ memory@0 {
>   	aliases {
>   		emmc2bus = &emmc2bus;
>   		ethernet0 = &genet;
> +		mmc0 = &emmc2;	/* mmcblk0 for eMMC/SD */
>   		pcie0 = &pcie0;
>   		blconfig = &blconfig;
>   	};

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ