Re: [PATCH] MMC: at91_mci: modify cache flush routines

2010-05-19 Thread Nicolas Ferre
Le 12/05/2010 23:19, Andrew Morton : > On Tue, 11 May 2010 19:09:53 +0200 > Nicolas Ferre wrote: > >> As we were using an internal dma flushing routine, this patch changes to the >> DMA API flush_kernel_dcache_page(). Driver is able to compile now. >> >> Signed-off-by: Nicolas Ferre >> --- >> d

Re: [PATCH] MMC: at91_mci: modify cache flush routines

2010-05-12 Thread Russell King - ARM Linux
On Wed, May 12, 2010 at 02:19:29PM -0700, Andrew Morton wrote: > The flush_kernel_dcache_page() documentation specifically says that > thou shalt run flush_kernel_dcache_page() _prior_ to kunmapping the > page. Hmm, interesting - I can't see why that would be, but it doesn't make any difference fo

Re: [PATCH] MMC: at91_mci: modify cache flush routines

2010-05-12 Thread Andrew Morton
On Tue, 11 May 2010 19:09:53 +0200 Nicolas Ferre wrote: > As we were using an internal dma flushing routine, this patch changes to the > DMA API flush_kernel_dcache_page(). Driver is able to compile now. > > Signed-off-by: Nicolas Ferre > --- > drivers/mmc/host/at91_mci.c |2 +- > 1 files

[PATCH] MMC: at91_mci: modify cache flush routines

2010-05-11 Thread Nicolas Ferre
As we were using an internal dma flushing routine, this patch changes to the DMA API flush_kernel_dcache_page(). Driver is able to compile now. Signed-off-by: Nicolas Ferre --- drivers/mmc/host/at91_mci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/