Re: [PATCH] Revert "mmc: core: do not retry CMD6 in __mmc_switch()"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+ some meson driver folkz

On Thu, 22 Aug 2019 at 10:27, Jan Kaisrlik <ja.kaisrlik@xxxxxxxxx> wrote:
>
> st 21. 8. 2019 v 17:12 odesílatel Ulf Hansson <ulf.hansson@xxxxxxxxxx> napsal:
> >
> > + Chaotian Jing
> >
> > On Tue, 20 Aug 2019 at 13:42, <ja.kaisrlik@xxxxxxxxx> wrote:
> > >
> > > From: Jan Kaisrlik <ja.kaisrlik@xxxxxxxxx>
> > >
> > > This reverts commit 3a0681c7448b174e5dcfd19e9079cdd281c35f1a.
> > >
> > > Turns out the patch breaks initialization of Toshiba THGBMNG5.
> > > [    1.648951] mmc0: mmc_select_hs200 failed, error -84
> > > [    1.648988] mmc0: error -84 whilst initialising MMC card
> >
> > For exactly this reason, when getting CRC errors on the first attempt,
> > doing a retry makes little sense.
> >
> > I have looped in Chaotian who has some more details about the problem.
> >
> > In any case, Jan, what HW and mmc controller are you using?
>
> It's a custom board based on Amlogic A113D. The compatibility in dts
> is set to "alogic,meson-axg-mmc".

Good. I have looped in some of the relevant developers/maintainers.

>
> In the different revision of HW we are using Kingston EMMC04G. The
> card has no such problem and is working fine without this patch.
> We observed it only on mention Toshiba card.

I see. Of course it would also be interesting to see what CMD6 command
that is that fails. Would you mind adding some debug/trace to find out
what command it is that fails?

[...]

Kind regards
Uffe




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux