Re: [openib-general] Suggestions for how to remove bus_to_virt()
From: David Miller
Date: Fri Jul 14 2006 - 18:33:30 EST
From: Ralph Campbell <ralphc@xxxxxxxxxxxxx>
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.
-
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/