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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 28 Jun 2001 23:28:31 +0100 (BST)


> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/