[ofa-general] mthca use of dma_sync_single is bogus

Keir Fraser keir at xensource.com
Mon Jul 9 14:36:42 PDT 2007


On 9/7/07 22:29, "Roland Dreier" <rdreier at cisco.com> wrote:

> Unfortunately it seems like the kernel's swiotlb does not implement
> the full DMA API so this won't actually fix Xen :(.

It implements the sync_single_range_for_{cpu,device} functions.

But we use our own swiotlb implementation anyway. arch/i386/kernel/swiotlb.c
in a Xen-patched tree is used by both i386/xen and x64/xen. We haven't yet
merged with main lib/swiotlb.c.

 -- Keir




More information about the general mailing list