Hi Jaehoon, On 08/01/2013 11:14 PM, Jaehoon Chung wrote: > You can refer to Seungwon's patch. > > https://patchwork.kernel.org/patch/1814991/ Thanks alot for the referral. It appears that this exactly what I'm seeing on the SOCFPGA platform. The command buffer is already filled with a command when software sets the start_bit. Wonder what happened to Senugwon's patch? I would think that the driver should at least clear the HLE interrupt when it is triggered? Thanks, Dinh > > Best Regards, > Jaehoon Chung > > On 08/02/2013 12:50 PM, dinguyen@xxxxxxxxxx wrote: >> From: Dinh Nguyen <dinguyen@xxxxxxxxxx> >> >> The Handle the Hardware Locked Write Error(HLE) was getting triggered >> intermittently on the SOCFPGA platform. But since the driver did not >> have a mechanism to handle this interrupt, it was stuck in the ISR. >> >> Clear the HLE interrupt when it gets triggered. >> >> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx> >> Cc: Doug Anderson <dianders@xxxxxxxxxxxx> >> Cc: Jaehoon Chung <jh80.chung@xxxxxxxxxxx> >> Cc: James Hogan <james.hogan@xxxxxxxxxx> >> Cc: Seungwon Jeon <tgih.jun@xxxxxxxxxxx> >> Cc: Chris Ball <cjb@xxxxxxxxxx> >> --- >> drivers/mmc/host/dw_mmc.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c >> index ee5f167..ef30bec 100644 >> --- a/drivers/mmc/host/dw_mmc.c >> +++ b/drivers/mmc/host/dw_mmc.c >> @@ -1664,6 +1664,9 @@ static irqreturn_t dw_mci_interrupt(int irq, void *dev_id) >> queue_work(host->card_workqueue, &host->card_work); >> } >> >> + if (pending & SDMMC_INT_HLE) >> + mci_writel(host, RINTSTS, SDMMC_INT_HLE); >> + >> /* Handle SDIO Interrupts */ >> for (i = 0; i < host->num_slots; i++) { >> struct dw_mci_slot *slot = host->slot[i]; >> > -- 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