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

2016-08-31 Thread Shawn Lin
On 2016/8/31 14:58, Jaehoon Chung wrote: Hi Shawn, On 08/19/2016 06:40 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 SUS

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

2016-08-30 Thread Jaehoon Chung
Hi Shawn, On 08/19/2016 06:40 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 clea