Skip to contentSkip to conversation

Again ISA DMA question

DISCUSSION Pavel Fedin 3 participants 3 messages Mar 28, 2005

lore
Share & tools
lore
#0 lore raw

Hello, all!

In a source code or AROS operating system (http://www.aros.org) i
found this comment:

--- cut ---
The older PReP machines have the DMA area limited to first 16MB of
system
memory. Therefore it is reasonable, to place the kernel at the end
of DMA
RAM. Both areas may be then easily separated.
--- cut ---

Does this mean that Linux has an option to limit DMA memory space to
first 16 MB? PReP machines are fully supported i guess. Or not fully?

Kind regards

#1 lore raw
Quoted 13 lines · Pavel Fedin

Hello, all!

In a source code or AROS operating system (http://www.aros.org) i
found this comment:

--- cut ---
The older PReP machines have the DMA area limited to first 16MB of
system
memory. Therefore it is reasonable, to place the kernel at the end
of DMA
RAM. Both areas may be then easily separated.
--- cut ---

Quoted 2 lines

Does this mean that Linux has an option to limit DMA memory space to
first 16 MB? PReP machines are fully supported i guess. Or not fully?

Well, actually if you are courageous, many PreP machines have an extended ISA DMA with 32 bits addressing capability (this depends on the ISA bridge). But ISA DMA is only used for floppy and I have never connected a floppy to my Prep machines sicne I got the first one back in 1997.

Regards,
Gabriel

#2 lore raw
In reply to Pavel Fedin
Quoted 13 lines · Pavel Fedin

Hello, all!

In a source code or AROS operating system (http://www.aros.org) i
found this comment:

--- cut ---
The older PReP machines have the DMA area limited to first 16MB of
system
memory. Therefore it is reasonable, to place the kernel at the end
of DMA
RAM. Both areas may be then easily separated.
--- cut ---

Quoted 2 lines

Does this mean that Linux has an option to limit DMA memory space to
first 16 MB? PReP machines are fully supported i guess. Or not fully?

Linux can do it, but we choose no to implement this on ppc, as slicing the memory into zones has disadvantages. Only legacy ISA DMA is concerned, which is mostly not a problem. PCI DMA shouldn't be limited.

Ben.