* pci_alloc_consistent and memory >= 4GB pre CONFIG_ZONE_DMA32
@ 2008-02-01 16:17 Cestonaro, Thilo
0 siblings, 0 replies; only message in thread
From: Cestonaro, Thilo @ 2008-02-01 16:17 UTC (permalink / raw)
To: linux-kernel
Hey,
I've a problem with pci_alloc_consistent with Kernel 2.6.5 and memory >= 4GB on a x86_64 machine.
The device can't use the dma_addr which I retrieve from pci_alloc_consistent.
But if the machine has less then 4GB it works fine.
How can I prove that the adress I get from pci_alloc_consistent is dma compatible?
Should pci_alloc_consistent not be used in environments before CONFIG_ZONE_DMA32?
Is there a better way to get dma compatible memory since 2.6.1 (except using kmalloc and GFP_DMA, cause just below 16MB is not enough memory)?
I'm very appreciative for any answer / help.
Ciao Thilo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-01 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01 16:17 pci_alloc_consistent and memory >= 4GB pre CONFIG_ZONE_DMA32 Cestonaro, Thilo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®