Skip to contentSkip to conversation

64 bit PCI DMA transfers?

Linux-ia64 Nelson Escobar 2 participants 2 messages Sep 6, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

Do 64 bit PCI DMA transfers work in the test7 kernel yet?

Doing 64 bit PCI DMA transfers to memory less than 2 gigs works fine. When I use 4 gigs of memory, the physical address of the last 2 gigs seems to be 0x100000000 - 0x17fffffff. When I try doing PCI DMA transfers into this area, everything starts going wrong.

Is this a problem with the kernel? Or is it a problem with my driver? or both?

Nelson Escobar
[email protected]

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Nelson Escobar

Nelson> Doing 64 bit PCI DMA transfers to memory less than 2 gigs Nelson> works fine. When I use 4 gigs of memory, the physical Nelson> address of the last 2 gigs seems to be 0x100000000 - Nelson> 0x17fffffff. When I try doing PCI DMA transfers into this Nelson> area, everything starts going wrong.

Nelson> Is this a problem with the kernel? Or is it a problem with Nelson> my driver? or both?

The kernel should handle this fine and if your driver is using the PCI DMA interface, then it should work, too (assuming it's using it correctly).

	--david