Hi Shimoda-san, Cc Ulf On Thu, Feb 25, 2021 at 1:16 PM Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote: > After the commit 7320915c8861 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS > for drivers that existed in v4.14"), the order of /dev/mmcblkN > was not fixed in some SoCs which have multiple sdhi controllers. > So, we were hard to use an sdhi device as rootfs by using > the kernel parameter like "root=/dev/mmcblkNpM". > > According to the discussion on a mainling list [1], we can add > mmc aliases to fix the issue. So, add such aliases into Renesas > arm64 board dts files. > > [1] > https://lore.kernel.org/linux-arm-kernel/CAPDyKFptyEQNJu8cqzMt2WRFZcwEdjDiytMBp96nkoZyprTgmA@xxxxxxxxxxxxxx/ > > Fixes: 7320915c8861 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14") > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> > --- > Changes from v2: > - Set the aliases into board dts files for consistency with R-Car Gen2. > - Change the subject. > - Add Fixes tag. Thanks for the update! LGTM, so Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi > +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi > @@ -36,6 +36,9 @@ > serial0 = &scif2; > serial1 = &hscif1; > ethernet0 = &avb; > + mmc0 = &sdhi0; > + mmc1 = &sdhi2; > + mmc2 = &sdhi3; > }; Looks like on Salvator-X(S) the two SD card slots are labeled SD0 and SD3, so the last one should be mmc3? What's most important? Getting the naming right, or matching the traditional naming? https://martinfowler.com/bliki/TwoHardThings.html Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds