[openib-general] Suggestions for how to remove bus_to_virt()
David Miller
davem at davemloft.net
Fri Jul 14 15:35:03 PDT 2006
From: Ralph Campbell <ralphc at pathscale.com>
Date: Fri, 14 Jul 2006 15:27:07 -0700
> Note that the current design only supports one IOMMU type in a system.
> This could support multiple IOMMU types at the same time.
This is not true, the framework allows multiply such types
and in fact Sparc64 takes advantage of this. We have about
4 or 5 different PCI controllers, and the IOMMUs are slightly
different in each.
Even with the standard PCI DMA mapping calls, we can gather the
platform private information necessary to program the IOMMU
appropriately for a given chipset.
The dma_mapping_ops idea will never get accepted by folks like Linus,
for reasons I've outlined in previous emails in this thread. So, it's
best to look elsewhere for solutions to your problem, such as the
ideas used by the USB and IEE1394 device layers.
More information about the general
mailing list