Re: [PATCH 2/2] mmc: dw_mmc-rockchip: fix transfer hangs on rk3188【请注意,邮件由linux-mmc-ow...@vger.kernel.org代发】

2019-03-21 Thread Alexander Kochetkov
Hello! Forgot to mention transfer hags happen only on mem to dev transfers (dma writes to device) and never on dev to mem. Yea, I know, rk3188 and earlier are quite ancient, but we made custom hardware based on rk3188 and some of our customers report problems. For testing I use rk3188 based

Re: [PATCH 2/2] mmc: dw_mmc-rockchip: fix transfer hangs on rk3188【请注意,邮件由linux-mmc-ow...@vger.kernel.org代发】

2019-03-20 Thread Shawn Lin
+ Caesar Wang On 2019/3/21 1:48, Alexander Kochetkov wrote: I've found that sometimes dw_mmc in my rk3188 based board stop transfer any data with error: kernel: dwmmc_rockchip 1021c000.dwmmc: Unexpected command timeout, state 3 Further digging into problem showed that sometimes one of

[PATCH 2/2] mmc: dw_mmc-rockchip: fix transfer hangs on rk3188

2019-03-20 Thread Alexander Kochetkov
I've found that sometimes dw_mmc in my rk3188 based board stop transfer any data with error: kernel: dwmmc_rockchip 1021c000.dwmmc: Unexpected command timeout, state 3 Further digging into problem showed that sometimes one of EDMA-based transfers hangs and abort with HTO error. I've made test,