Re: [PATCH?][arch/parisc/kernel/pci-dma.c] pcxl_dma_ops.alloc_noncoherent = pa11_dma_alloc_consistent?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>
Cc: Roel Kluin <12o3l@...>, <kyle@...>, <grundler@...>, <linux-parisc@...>, lkml <linux-kernel@...>
Date: Monday, February 11, 2008 - 12:55 pm

On Mon, 2008-02-11 at 09:42 -0700, Matthew Wilcox wrote:

dma_alloc_noncoherent is a fallback for boxes with coherency problems
which cannot allocate coherent memory.  The API asks for coherent memory
but the driver promises to behave correctly even if an incoherent area
is returned.  dma_alloc_coherent() requires only coherent memory.  The
pcx boxes (PA7200 and below) can't do the uncached trick for coherent
memory, so the API is designed for them.  The PCXL can, so we allocate
coherent memory even for dma_alloc_noncoherent() in that case (and nop
out the coherency handlers the driver uses).

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH?][arch/parisc/kernel/pci-dma.c] pcxl_dma_ops..., John David Anglin, (Mon Feb 11, 1:08 pm)
Re: [PATCH?][arch/parisc/kernel/pci-dma.c] pcxl_dma_ops.allo..., James Bottomley, (Mon Feb 11, 12:55 pm)