Skip to contentSkip to conversation

PCI DMA address

DISCUSSION Ke 2 participants 2 messages Feb 18, 2008

lore
Share & tools
lore

Ke

author
#0 lore raw

Hello all,
How can kernel get the PCI DMA address above 16MB or 64MB? I hope that the all PCI devices can use a dma address above
0x1000000 at a higher memory.

Thanks.

#1 lore raw
Quoted 2 lines · Ke

Hello all,
How can kernel get the PCI DMA address above 16MB or 64MB?

Documentation/DMA*

Quoted 2 lines

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.