Re: [PATCH] pci_alloc_consistent in an interrupt context

From
Tom Rini <hidden>
Date
2002-06-13 21:56:35
Reply to
Dan Malek, 2002-06-13
On Thu, Jun 13, 2002 at 05:47:32PM -0400, Dan Malek wrote:
Tom Rini wrote:
quoted
..... But I don't see (immediatly) why the change to
pci_alloc_consistent was needed as well.
It was a mistake on my part......when CONFIG_NOT_COHERENT_CACHE is used,
the consisten_alloc() returns the dma_handle, and we have to ensure we
don't do the virt_to_bus later to get it (because it will be wrong once
iopa() is discarded :-)
Ah..  So this part is a correct and necessary fix, separate from the
rest of the patch?

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Thread (28 messages) 28 messages, 5 authors, last reply 2002-06-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help