Re: [PATCH] mmc:sdhci: handle busy-end interrupt during command

From: Ulf Hansson
Date: Thu Aug 21 2014 - 03:26:59 EST


On 21 August 2014 03:53, Chanho Min <chanho.min@xxxxxxx> wrote:
> It is fully legal for a controller to start handling busy-end interrupt
> before it has signaled that the command has completed. So make sure
> we do things in the proper order, Or it results that command interrupt
> is ignored so it can cause unexpected operations. This is founded at some
> toshiba emmc with the bellow warning.
>
> "mmc0: Got command interrupt 0x00000001 even though
> no command operation was in progress."
>
> This issue has been also reported by Youssef TRIKI:
> It is not specific to Toshiba devices, and happens with eMMC devices
> as well as SD card which support Auto-CMD12 rather than CMD23.
>
> Also, similar patch is submitted by:
> Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>
> Signed-off-by: Hankyung Yu <hankyung.yu@xxxxxxx>
> Signed-off-by: Chanho Min <chanho.min@xxxxxxx>
> Tested-by: Youssef TRIKI <youssef.triki@xxxxxx>

Hi Chanho,

This patch has been around for quite some time, sorry for lack of
response. Appreciate if we could get this tested on a few more
variants of sdhci, I am not able to test myself.

I plan to queue this for 3.18, unless someone objects soon.

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/