Re: PCI DMA address
From: Jiri Slaby
Date: Mon Feb 18 2008 - 11:49:51 EST
On 02/18/2008 04:05 PM, Ke wrote:
Hello all,
How can kernel get the PCI DMA address above 16MB or 64MB?
Documentation/DMA*
I hope that the all PCI devices can use a dma address above
0x1000000 at a higher memory.
Depends on how much is the device broken or what it can do.
IIRC you'll always get memory from DMA-zone for < ~0U dma_masks on kernels older
than 2.6.(around 10). If you set dma_masks to < ~0U, you will probably (in the
meaning, kernel will try to allocate from higher space and fall back to the
dma-zone) get higher pages nowadays. However I don't know how far this applies
also to systems with iommu in retrospective.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/