Re: [RFC] generic device DMA implementation

From: Manfred Spraul (manfred@colorfullife.com)
Date: Thu Dec 05 2002 - 12:49:10 EST


>
>
>Hmm... that doesn't seem sufficient to explain it.
>
>Some background: I work with PPC embedded chips (the 4xx family) whose
>only way to get consistent memory is by entirely disabling the cache.
>
What do you mean with "disable"?
Do you have to disable the cache entirely when you encounter the first
pci_alloc_consistent() call, or do you disable the cache just for the
region that is returned by pci_alloc_consistent()?

If you disable it entirely - would "before_acess_consistent_area() /
after_access_consistent_area()" macros help to avoid that, or are there
other problems?

--
    Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:23 EST