Re: (reposting) how to get DMA'able memory within 4GB on 64-bit m achi ne

Alan Cox
2001-06-28T22:29:41Z

> The interface we use works well, so why should it be changed for other
> architecures? Instead it would make a lot more sense to support it on
> other architectures that can do 64 bit DMA.

The changes needed are small IMHO. The big problem wa the pci_dma_mask
not being pci_dma_mask_bit(foo) - a minor oversight we can fix in 2.5 without
breaking anything else.

It can even default to 32 for non DAC cards.

We will also have to address those cards that have 28/30/31 bit limits (yes
they exist) when we start doing direct I/O for 32bits of memory - one reason
I'm very wary of Jens patch ever being in 2.4

Alan