public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Altix I/O code reorganization - 7 of 21
@ 2004-08-11 23:29 Pat Gefre
  2004-08-12  9:18 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Pat Gefre @ 2004-08-11 23:29 UTC (permalink / raw)
  To: linux-ia64, linux-kernel, hch

> 003-pci-support:
>    The PCI DMA implementation is still ubercomplicated.  See the PCI DMA code
>    I sent you long ago.
>    Of the code in pci_extensions.c only two are actually used in the kernel
>    (snia_pcibr_rrb_alloc and snia_pcidev_endian_set), please remove the unused
>    other ones.
> 

Yes, the PCI DMA mapping code is very robust and tries to export 
the many hardware features that are available on our system.  However, not 
all of these features are "reachable" via the standard Linux PCI mapping 
interfaces.  We have removed all unreacheable features.  However, we can 
still support future requirements with these new interfaces when needed.

Yes, we did look at your patch dated: December 4th 2003.  It was very good, but 
did not go far enough.  We felt that we can trim more of the code.  The current 
result, we believe is much cleaner and easier to support.  The dma path now is 
much leaner.

We have removed unused calls in pci_extensions.c.  We have also removed the
call snia_pcidev_endian_set.  IOC4 endianess is already correctly set by
Prom during configuration and initialization.



For the new code see:
ftp://oss.sgi.com/projects/sn2/sn2-update/003-pci-support


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Altix I/O code reorganization - 7 of 21
  2004-08-11 23:29 Altix I/O code reorganization - 7 of 21 Pat Gefre
@ 2004-08-12  9:18 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2004-08-12  9:18 UTC (permalink / raw)
  To: Pat Gefre; +Cc: linux-ia64, linux-kernel, hch

On Wed, Aug 11, 2004 at 06:29:25PM -0500, Pat Gefre wrote:
> Yes, the PCI DMA mapping code is very robust

no.

> and tries to export 
> the many hardware features that are available on our system.  However, not 
> all of these features are "reachable" via the standard Linux PCI mapping 
> interfaces.  We have removed all unreacheable features.  However, we can 
> still support future requirements with these new interfaces when needed.
> 
> Yes, we did look at your patch dated: December 4th 2003.  It was very good, but 

I mean a more recent patch I sent to Colin.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-12  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-11 23:29 Altix I/O code reorganization - 7 of 21 Pat Gefre
2004-08-12  9:18 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox