Re: [PATCH] mmc: dwmmc: only clear handled interrupts

2022-10-24 Thread Jaehoon Chung
On 9/16/22 02:56, John Keeping wrote: > Unconditionally clearing DTO when RXDR is set leads to spurious timeouts > in FIFO mode transfers if events occur in the following order: > > mask = dwmci_readl(host, DWMCI_RINTSTS); > > // Hardware asserts DWMCI_INTMSK_DTO here > >

Re: [PATCH] mmc: dwmmc: only clear handled interrupts

2022-10-07 Thread Jaehoon Chung
On 9/16/22 02:56, John Keeping wrote: > Unconditionally clearing DTO when RXDR is set leads to spurious timeouts > in FIFO mode transfers if events occur in the following order: > > mask = dwmci_readl(host, DWMCI_RINTSTS); > > // Hardware asserts DWMCI_INTMSK_DTO here > >

Re: [PATCH] mmc: dwmmc: only clear handled interrupts

2022-09-16 Thread Jerome Forissier
On 9/15/22 19:56, John Keeping wrote: > Unconditionally clearing DTO when RXDR is set leads to spurious timeouts > in FIFO mode transfers if events occur in the following order: > > mask = dwmci_readl(host, DWMCI_RINTSTS); > > // Hardware asserts DWMCI_INTMSK_DTO here > >

[PATCH] mmc: dwmmc: only clear handled interrupts

2022-09-15 Thread John Keeping
Unconditionally clearing DTO when RXDR is set leads to spurious timeouts in FIFO mode transfers if events occur in the following order: mask = dwmci_readl(host, DWMCI_RINTSTS); // Hardware asserts DWMCI_INTMSK_DTO here dwmci_writel(host, DWMCI_RINTSTS, DWMCI_INTMSK_DTO);