Messages in this thread | | | Date | Thu, 03 Nov 2005 23:07:38 +0200 | From | Muli Ben-Yehuda <> | Subject | Re: [was Re: Linux 2.6.14 ] Revert "x86-64: Avoid unnecessary double bouncing for swiotlb" |
| |
On Thu, Nov 03, 2005 at 07:35:55PM +0100, Andi Kleen wrote:
> Anyways, with the dma_ops patch we can probably separate it cleanly > and avoid the problem.
Hi Andi, Kiran, would something like:
#define PCI_DMA_BUS_IS_PHYS (mapping_ops->bus_is_phys)
do the job, where mapping_ops->bus_is_phys is set to 0 for gart and swiotlb, and 1 for nommu?
Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |