All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: Removal of pci_dma_* functions
@ 2006-11-24 17:03 Ralf Baechle
  2006-11-24 21:51 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2006-11-24 17:03 UTC (permalink / raw)
  To: linux-kernel

A grep for

  pci_dac_dma_supported()
  pci_dac_page_to_dma()
  pci_dac_dma_to_page()
  pci_dac_dma_to_offset()
  pci_dac_dma_sync_single_for_cpu()
  pci_dac_dma_sync_single_for_device()

reveals that only a some platforms implement these functions and there seems
to be no single user.  Any objections against removing?  Or why did we ever
add them anyay ...

  Ralf

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

* Re: RFC: Removal of pci_dma_* functions
  2006-11-24 17:03 RFC: Removal of pci_dma_* functions Ralf Baechle
@ 2006-11-24 21:51 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-11-24 21:51 UTC (permalink / raw)
  To: ralf; +Cc: linux-kernel

From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 24 Nov 2006 17:03:59 +0000

> A grep for
> 
>   pci_dac_dma_supported()
>   pci_dac_page_to_dma()
>   pci_dac_dma_to_page()
>   pci_dac_dma_to_offset()
>   pci_dac_dma_sync_single_for_cpu()
>   pci_dac_dma_sync_single_for_device()
> 
> reveals that only a some platforms implement these functions and there seems
> to be no single user.  Any objections against removing?  Or why did we ever
> add them anyay ...

They were meant for things like those Dolphin clustering cards that
can map arbitrary amounts of remote memory on the local system.

Unfortunately, none of the drivers for these things are upstream, but
I can nearly guarentee you that those drivers use these interfaces
because they map so much memory that they cannot tolerate the
limitations imposed by IOMMUs, even the ones with 2GB mapping windows
like on sparc64.

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

end of thread, other threads:[~2006-11-24 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-24 17:03 RFC: Removal of pci_dma_* functions Ralf Baechle
2006-11-24 21:51 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.