lkml.org 
[lkml]   [2016]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Question about DMA] Consistent memory?
From
Date
On Sat, 2016-01-02 at 10:39 +0000, Russell King - ARM Linux wrote:
> On Thu, Dec 31, 2015 at 04:50:54PM +0900, Masahiro Yamada wrote:
> > Hi.
> >
> > I am new to the Linux DMA APIs.
> >
> > First, I started by reading Documentation/DMA-API.txt,
> > but I am confused with the term "consistent memory".
>
> Just read "coherent memory" instead - the documentation confusingly
> uses the two terms to refer to the same thing. I think there was a
> patch a while back to replace "consistent" with "coherent" in this
> document, though I'm not sure what happened to it.

It's an standards issue. The Document was originally based on the PCI
DMA API. All the PCI standards documentation refers to "consistent
memory" instead of "coherent memory". The original DMA API was
designed for PA-RISC and its standards documentation refers to
"coherent memory" hence the confusion. The two terms are equivalent,
but there's no real way of removing either without someone reading the
actual specs and wondering what the other term means.

James




\
 
 \ /
  Last update: 2016-01-02 17:41    [W:0.882 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site