Again ISA DMA question

3 messages, 3 authors, 2005-03-28 · open the first message on its own page

Again ISA DMA question

From: Pavel Fedin <hidden>
Date: 2005-03-28 10:04:57

 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

Re: Again ISA DMA question

From: Gabriel Paubert <hidden>
Date: 2005-03-28 10:23:22

On Mon, Mar 28, 2005 at 02:08:38PM -0500, Pavel Fedin wrote:
 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?
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

Re: Again ISA DMA question

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-03-28 11:08:18

On Mon, 2005-03-28 at 14:08 -0500, Pavel Fedin wrote:
  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?
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help