Re: [U-Boot] [PATCH 1/3] Revert "blk: Invalidate block cache when switching hwpart"

2019-09-02 Thread Tom Rini
On Tue, Aug 27, 2019 at 03:32:18PM +0800, Weijie Gao wrote: > This reverts commit 0ebe112d09b48230ba4be833cd3504b06997d9a4. > > Most block devices have only one hwpart. Multiple hwparts only found used > by eMMC devices in u-boot. The mmc driver do blk_dselect_hwpart() at the > beginning of

Re: [U-Boot] [PATCH 1/3] Revert "blk: Invalidate block cache when switching hwpart"

2019-08-27 Thread Felix Brack
On 27.08.19 09:32, Weijie Gao wrote: > This reverts commit 0ebe112d09b48230ba4be833cd3504b06997d9a4. > > Most block devices have only one hwpart. Multiple hwparts only found used > by eMMC devices in u-boot. The mmc driver do blk_dselect_hwpart() at the > beginning of mmc_bread() which causes

[U-Boot] [PATCH 1/3] Revert "blk: Invalidate block cache when switching hwpart"

2019-08-27 Thread Weijie Gao
This reverts commit 0ebe112d09b48230ba4be833cd3504b06997d9a4. Most block devices have only one hwpart. Multiple hwparts only found used by eMMC devices in u-boot. The mmc driver do blk_dselect_hwpart() at the beginning of mmc_bread() which causes block cache being invalidated too frequently and