Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-27 Thread Felix Brack
Hello Weijie, On 27.08.19 05:07, Weijie Gao wrote: > Hi Felix, > > I found there's already a commit merged 6 hours ago (mailed on Aug 20) > that fixed this issue: d7af2a863017be1f5fd1b65a858ddc7e87d7b876 > Thanks for the information. The patch referenced can be found here: https://patchwork.ozla

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-26 Thread Weijie Gao
On Mon, 2019-08-26 at 14:43 +0200, Felix Brack wrote: > Hello Weijie, > > On 26.08.19 10:19, Weijie Gao wrote: > > On Thu, 2019-08-22 at 15:58 +0200, Felix Brack wrote: > >> On 11.07.19 09:10, Weijie Gao wrote: > >> > >>> Some storage devices have multiple hw partitions and both address from > >>>

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-26 Thread Felix Brack
Hello Weijie, On 26.08.19 10:19, Weijie Gao wrote: > On Thu, 2019-08-22 at 15:58 +0200, Felix Brack wrote: >> On 11.07.19 09:10, Weijie Gao wrote: >> >>> Some storage devices have multiple hw partitions and both address from >>> zero, for example eMMC. >>> However currently block cache invalidatio

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-26 Thread Weijie Gao
On Thu, 2019-08-22 at 15:58 +0200, Felix Brack wrote: > On 11.07.19 09:10, Weijie Gao wrote: > > > Some storage devices have multiple hw partitions and both address from > > zero, for example eMMC. > > However currently block cache invalidation only applies to block > > write/erase. > > This can c

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-22 Thread Felix Brack
On 11.07.19 09:10, Weijie Gao wrote: > Some storage devices have multiple hw partitions and both address from > zero, for example eMMC. > However currently block cache invalidation only applies to block > write/erase. > This can cause a problem that data of current hw partition is cached > before

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-07-18 Thread Tom Rini
On Thu, Jul 11, 2019 at 03:10:23PM +0800, Weijie Gao wrote: > Some storage devices have multiple hw partitions and both address from > zero, for example eMMC. > However currently block cache invalidation only applies to block > write/erase. > This can cause a problem that data of current hw partit

[U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-07-11 Thread Weijie Gao
Some storage devices have multiple hw partitions and both address from zero, for example eMMC. However currently block cache invalidation only applies to block write/erase. This can cause a problem that data of current hw partition is cached before switching to another hw partition. And the followi