Re: RFC: Removal of pci_dma_* functions
From: David Miller
Date: Fri Nov 24 2006 - 16:51:27 EST
From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/