Message ID | 20210712060928.4161649-2-hch@lst.de |
---|---|
State | New |
Headers | show |
Series | [1/6] mmc: JZ4740: remove the flush_kernel_dcache_page call in jz4740_mmc_read_data | expand |
Hi Christoph, Le lun., juil. 12 2021 at 08:09:23 +0200, Christoph Hellwig <hch@lst.de> a écrit : > MIPS now implements flush_kernel_dcache_page (as an alias to > flush_dcache_page). > > Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Paul Cercueil <paul@crapouillou.net> Cheers, -Paul > --- > drivers/mmc/host/jz4740_mmc.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/mmc/host/jz4740_mmc.c > b/drivers/mmc/host/jz4740_mmc.c > index 0db17bcc9c16..aa2240c83510 100644 > --- a/drivers/mmc/host/jz4740_mmc.c > +++ b/drivers/mmc/host/jz4740_mmc.c > @@ -578,10 +578,6 @@ static bool jz4740_mmc_read_data(struct > jz4740_mmc_host *host, > } > } > data->bytes_xfered += miter->length; > - > - /* This can go away once MIPS implements > - * flush_kernel_dcache_page */ > - flush_dcache_page(miter->page); > } > sg_miter_stop(miter); > > -- > 2.30.2 >
On Mon, 12 Jul 2021 at 08:10, Christoph Hellwig <hch@lst.de> wrote: > > MIPS now implements flush_kernel_dcache_page (as an alias to > flush_dcache_page). > > Signed-off-by: Christoph Hellwig <hch@lst.de> Apologies for the delay! Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe > --- > drivers/mmc/host/jz4740_mmc.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c > index 0db17bcc9c16..aa2240c83510 100644 > --- a/drivers/mmc/host/jz4740_mmc.c > +++ b/drivers/mmc/host/jz4740_mmc.c > @@ -578,10 +578,6 @@ static bool jz4740_mmc_read_data(struct jz4740_mmc_host *host, > } > } > data->bytes_xfered += miter->length; > - > - /* This can go away once MIPS implements > - * flush_kernel_dcache_page */ > - flush_dcache_page(miter->page); > } > sg_miter_stop(miter); > > -- > 2.30.2 >
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c index 0db17bcc9c16..aa2240c83510 100644 --- a/drivers/mmc/host/jz4740_mmc.c +++ b/drivers/mmc/host/jz4740_mmc.c @@ -578,10 +578,6 @@ static bool jz4740_mmc_read_data(struct jz4740_mmc_host *host, } } data->bytes_xfered += miter->length; - - /* This can go away once MIPS implements - * flush_kernel_dcache_page */ - flush_dcache_page(miter->page); } sg_miter_stop(miter);
MIPS now implements flush_kernel_dcache_page (as an alias to flush_dcache_page). Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/mmc/host/jz4740_mmc.c | 4 ---- 1 file changed, 4 deletions(-)