linux-mips
[Top] [All Lists]

Re: DMA memory on IP22 unavailable ?

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: DMA memory on IP22 unavailable ?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 6 Apr 2000 15:37:41 -0700
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <20000406215014.E5141@paradigm.rfc822.org>; from flo@rfc822.org on Thu, Apr 06, 2000 at 09:50:16PM +0200
References: <20000406215014.E5141@paradigm.rfc822.org>
Sender: owner-linuxmips@oss.sgi.com
On Thu, Apr 06, 2000 at 09:50:16PM +0200, Florian Lohoff wrote:

> i have fixed the original problem with the bootmem initialization 
> for ARC which didnt reserve the kernel pages as unallocatable - This
> is already committed to CVS for the ones trying on IP22. Now i have
> a different problems - The kernel halts on further boot with
> no memory for SCSI DMA.
> 
> This is due to my indigo2 having physical memory from
> 0x08002000 - 0x08740000
> 0x08200000 - 0x0ff85000
> 
> Now the official DMA able memory from include/asm/dma.h is
> 
> #define MAX_DMA_ADDRESS         (PAGE_OFFSET + 0x01000000)
> 
> which is 0x81000000 which is completely out of range for
> the SGI. I now just changed this to 8f000000 but what
> is the correct way to solve this and what is the correct
> dma able memory (I suppose all memory is dma-able).

This change is not acceptable for the IP22 because the Indigo2 has EISA
slots.

When only using the builtin SCSI hostadapter nothing should use GFP_DMA;
on IP22 the entire memory is DMA-able.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>