Skip to contentSkip to conversation

que: How can we Eliminate the DMA Zone from the kernel?

DISCUSSION Seetharam Dharmosoth 3 participants 3 messages Jan 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Want to remove DMA zone the from the Linux Kernel. (Don't want to use DMA Zone, because i am not using ISA bus, am using PCI bus. So, I don't need this)

Can you please give me suggestions in this regards.

Thanks
RAM

__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

#1 lore raw
Quoted 7 lines · Seetharam Dharmosoth

Hi,

Want to remove DMA zone the from the Linux Kernel. (Don't want to use DMA Zone, because i am not using ISA bus, am using PCI bus. So, I don't need this)

Just because you don't need ISA, doesn't mean you don't need ZONE_DMA. Various PCI cards have limitations on what addresses they can DMA to (24 bits on some old PCI sound cards iirc, and more recently a 30 bit DMA limitation on some Broadcom networking equipment.)

#2 lore raw
Quoted 9 lines · On Thu, 25 Jan 2007 10:35:10 -0500 Kyle McMartin wrote:
Quoted 7 lines · Seetharam Dharmosoth

Hi,

Want to remove DMA zone the from the Linux Kernel. (Don't want to use DMA Zone, because i am not using ISA bus, am using PCI bus. So, I don't need this)

Quoted 4 lines

Just because you don't need ISA, doesn't mean you don't need ZONE_DMA. Various PCI cards have limitations on what addresses they can DMA to (24 bits on some old PCI sound cards iirc, and more recently a 30 bit DMA limitation on some Broadcom networking equipment.)

If your platform really doesn't need ZONE_DMA, then you should look at lots of discussion and patches on the linux-mm mailing list.

See http://linux-mm.org/LinuxKernelMailingLists
and emails or patches from Christoph Lameter, Andi Kleen, and Marcelo Tosatti.

---
~Randy