Re: [PATCH v2 2/4] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-09-21 Thread Jaehoon Chung
On 09/02/2016 01:14 PM, Shawn Lin wrote: > We could see an obvious race condition by test that > the former write operation by IDMAC aiming to clear > OWN bit reach right after the later configuration of > the same desc, which makes the IDMAC be in SUSPEND > state as the OWN bit was cleared by the

Re: [PATCH v2 2/4] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-09-20 Thread Shawn Lin
在 2016/9/20 17:49, Jaehoon Chung 写道: Hi Shawn, On 09/20/2016 06:47 PM, Shawn Lin wrote: Hi Jaehoon, Friendly ping... :) Thanks for reminding! :) I forgot your patch-set..sorry! Ah, never mind, I just want to make sure if I still need to update it.:) Best Regards, Jaehoon Chung On 201

Re: [PATCH v2 2/4] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-09-20 Thread Jaehoon Chung
Hi Shawn, On 09/20/2016 06:47 PM, Shawn Lin wrote: > Hi Jaehoon, > > Friendly ping... :) Thanks for reminding! :) I forgot your patch-set..sorry! Best Regards, Jaehoon Chung > > On 2016/9/2 12:14, Shawn Lin wrote: >> We could see an obvious race condition by test that >> the former write opera

Re: [PATCH v2 2/4] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-09-20 Thread Shawn Lin
Hi Jaehoon, Friendly ping... :) On 2016/9/2 12:14, Shawn Lin wrote: We could see an obvious race condition by test that the former write operation by IDMAC aiming to clear OWN bit reach right after the later configuration of the same desc, which makes the IDMAC be in SUSPEND state as the OWN bi

[PATCH v2 2/4] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-09-01 Thread Shawn Lin
We could see an obvious race condition by test that the former write operation by IDMAC aiming to clear OWN bit reach right after the later configuration of the same desc, which makes the IDMAC be in SUSPEND state as the OWN bit was cleared by the asynchronous write operation of IDMAC. The bug can