[ofa-general] Re: mthca use of dma_sync_single is bogus
    Roland Dreier 
    rdreier at cisco.com
       
    Tue Jul 10 12:08:43 PDT 2007
    
    
  
 > I think he spoke about coherent, didn't he? On i386/x86_64, the consistent and
 > coherent are the same but on some architectures they are not and I think that
 > using consistent (in particular pci_alloc_consistent) is exactly what should
 > be used. Keir also recommended to use this one.
coherent and consistent are synonyms.  It's confusing because there is
pci_alloc_consistent(), which is in general just a wrapper for
dma_alloc_coherent().
 > And moreover, it avoids using swiotlb and bounce buffers, I think. Am I right,
 > Keir?
Yes, but I'm not really willing to make things worse for standard i386
just to make Xen work a little better.
 - R.
    
    
More information about the general
mailing list