Re: aic7xxx (O2 scsi) DMA coherency (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



forgot the Cc to the list...
BTW sorry for the dual post.

---------- Forwarded message ----------
Date: Fri, 4 Jan 2002 20:33:48 +0100 (CET)
From: Vivien Chappelier <glaurung@melkor.maisel.enst-bretagne.fr>
To: Ilya Volynets <ilya@theilya.com>
Subject: Re: aic7xxx (O2 scsi) DMA coherency

> Are you sure GFP_DMA does what you think it does?

> I'm not. I thnk using pci_alloc_consistant is more appropriate for
> this purpose.

Neither am I, I'm just a new kernel hacker :)
Anyway, I think what we want is doing I/O using DMA with the scsi
controller, so I think we need DMA safe memory for this. Wether the arch
needs to ensure coherency for that is not really the concern. On the O2,
dma memory is uncacheable memory, but other archs might have other
concerns regarding dma memory (below 16Mb for example?), so I think
pci_alloc_consistent is not appropriate in this case.

regards,
Vivien Chappelier.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux