[Top] [All Lists]

Re: aic7xxx (O2 scsi) DMA coherency

To: Vivien Chappelier <>
Subject: Re: aic7xxx (O2 scsi) DMA coherency
From: Ralf Baechle <>
Date: Thu, 3 Jan 2002 21:52:15 -0200
Cc: Alan Cox <>,
In-reply-to: <Pine.LNX.4.21.0201032247490.9064-100000@melkor>; from on Thu, Jan 03, 2002 at 10:51:51PM +0100
References: <> <Pine.LNX.4.21.0201032247490.9064-100000@melkor>
User-agent: Mutt/1.2.5i
On Thu, Jan 03, 2002 at 10:51:51PM +0100, Vivien Chappelier wrote:

> > >   This tells the aic7xxx to use DMA safe memory for I/O.
> > 
> > That seems totally inappropriate. The unchecked dma option is for
> > ancient ISA DMA controllers that didnt do the 16Mb check. If you
> > find you need it debug your pci remapper
> This is used when scaning for devices (drivers/scsi/scsi_scan.c) . When
> this flag is not set, the code uses memory from the stack (unsigned char
> scsi_result0[256]; in scan_scsis) instead of kmallocating it DMA safe as
> it should on non-coherent systems. Maybe this is the thing to change?

Indeed, it is.  I thought this one died ages ago.


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