Re: eMMC tuning fail issue

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

 



This code is active on all Chromebooks with eMMC without an issue, and
the eMMC spec doesn't require a delay here. So I don't think it can be
a common problem. What eMMC model are you using specifically?

Also, this change fixes a problem with audio glitching on systems with
runtime pm or active retuning due to very long read latency caused by
40ms of mdelay in the kernel read path. Runtime pm sets the eMMC to
sleep if it has not been used in a short time, so intermittent reads
always go though the retuning path.

Thanks,
  Nick

On Tue, Dec 1, 2015 at 5:32 PM, Chen Bough <Haibo.Chen@xxxxxxxxxxxxx> wrote:
>
>> -----Original Message-----
>> From: Ulf Hansson [mailto:ulf.hansson@xxxxxxxxxx]
>> Sent: Tuesday, December 01, 2015 8:45 PM
>> To: Chen Haibo-B51421
>> Cc: nsanders@xxxxxxxxxxxx; linux-mmc@xxxxxxxxxxxxxxx
>> Subject: Re: eMMC tuning fail issue
>>
>> On 1 December 2015 at 09:41, Chen Bough <Haibo.Chen@xxxxxxxxxxxxx> wrote:
>> > Hi,
>> >
>> > After
>> > commit 197160d52e859575ff0ad1afd674ab2a825b9f83
>> > Author: Nick Sanders <nsanders@xxxxxxxxxxxx>
>> > Date:   Tue May 6 18:52:38 2014 -0700
>> >
>> >     mmc: sdhci: remove mdelay in eMMC tuning
>> >
>> >
>> > I find Micron eMMC HS200 and HS400 can't pass tuning on i.MX7D platform,
>> here is the log:
>> >
>> > [    2.835581] sdhci: Tuning procedure failed, falling back to fixed
>> sampling clock
>> > [    2.843071] mmc1: tuning execution failed
>> > [    2.847104] mmc1: error -5 whilst initialising MMC card
>> >
>> > When I revert this commit, issue gone.
>>
>> Thanks for reporting the problem!
>>
>> There's been a lot of changes regarding tuning since then, both to sdhci
>> and the mmc core. So before I consider a revert for that patch, can you
>> share on what baseline you are on!?
>
> I based on the latest Linux-next, v4.4-rc2.
>
>
> Best regards
> Haibo Chen
>
>>
>> [...]
>>
>> Kind regards
>> Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux