pci_unmap_single() and CONFIG_NOT_COHERENT_CACHE

Curtis, Allen Allen.Curtis at Thales-IFS.com
Sat May 10 05:54:02 EST 2003


>
>    Allen> I noticed in pci.h that pci_unmap_single() is a null
>    Allen> function. (essentially does nothing) Shouldn't is call
>    Allen> consistent_sync() so that flush_dcache_range() is called?
>
>No, the cache invalidate or flush has to happen when pci_map_single()
>is used.  There's nothing to do after the DMA is done (which is when
>pci_unmap_single() gets called).
>

Thanks, shortly after pressing the send button I realized that this was a
dumb question.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list