Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-03 Thread Alexey Brodkin
H Tom, [snip] > > > This is the patch with problem, and here is the link on patchwork: > > > https://patchwork.ozlabs.org/patch/1146845/ > > > > Please find my fixes here: > > https://patchwork.ozlabs.org/patch/1156541/ > > https://patchwork.ozlabs.org/patch/1156617/ > > > > Tom do we want

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-02 Thread Tom Rini
On Mon, Sep 02, 2019 at 12:24:42PM +, Alexey Brodkin wrote: > Hi Kever, > > > -Original Message- > > From: Kever Yang > > Sent: Monday, September 2, 2019 11:05 AM > > To: Alexey Brodkin > > Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Simon Glass > > ; Peng Fan > > ;

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-02 Thread Alexey Brodkin
Hi Kever, > -Original Message- > From: Kever Yang > Sent: Monday, September 2, 2019 11:05 AM > To: Alexey Brodkin > Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Simon Glass > ; Peng Fan > ; u-boot@lists.denx.de > Subject: Re: [PATCH] mmc: dw_mmc: fix timeout calculate method >

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-02 Thread Kever Yang
Hi Alexey, On 2019/8/30 下午9:28, Alexey Brodkin wrote: Hi Kever, [snip] I think this tree does not including this patch, Peng drop it because of this issue, so you need to apply this patch in your branch to reproduce the problem. I have send out V2 patch for this fix with only using 32bit

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-30 Thread Alexey Brodkin
Hi Kever, [snip] > I think this tree does not including this patch, Peng drop it because of > this issue, > so you need to apply this patch in your branch to reproduce the problem. > I have send out V2 patch for this fix with only using 32bit variable Could you please refer me to the

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-29 Thread Kever Yang
Subject: Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method Subject: [PATCH] mmc: dw_mmc: fix timeout calculate method There are two cases not been considered: - use uint for timeout, it will overflow when size bigger than 512KB for it *8*1000 at the beginning, but we may use size

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-29 Thread Alexey Brodkin
0 > >> To: Kever Yang ; u-boot@lists.denx.de > >> Cc: tr...@konsulko.com > >> Subject: Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method > >> > >>> Subject: [PATCH] mmc: dw_mmc: fix timeout calculate method > >>> > >>

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-29 Thread Kever Yang
Add ARC maintainers. On 2019/8/27 下午5:58, Peng Fan wrote: Hi Kever, -Original Message- From: U-Boot On Behalf Of Peng Fan Sent: 2019年8月27日 15:40 To: Kever Yang ; u-boot@lists.denx.de Cc: tr...@konsulko.com Subject: Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-27 Thread Peng Fan
Hi Kever, > -Original Message- > From: U-Boot On Behalf Of Peng Fan > Sent: 2019年8月27日 15:40 > To: Kever Yang ; u-boot@lists.denx.de > Cc: tr...@konsulko.com > Subject: Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method > > > Subject: [PATC

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-27 Thread Peng Fan
> Subject: [PATCH] mmc: dw_mmc: fix timeout calculate method > > There are two cases not been considered: > - use uint for timeout, it will overflow when size bigger than 512KB for > it *8*1000 at the beginning, but we may use size up to 32MB; > - The timeout is using clock speed for data rate,

[U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-14 Thread Kever Yang
There are two cases not been considered: - use uint for timeout, it will overflow when size bigger than 512KB for it *8*1000 at the beginning, but we may use size up to 32MB; - The timeout is using clock speed for data rate, but the device may not have such high speed, eg. clock is 52MHz while