[ofa-general] Re: MTHCA driver from OFED 1.3a package

Roland Dreier rdreier at cisco.com
Sat Nov 24 14:56:22 PST 2007


 > I've already resolved this issue. For some reason, kernel drivers (2.6.18)
 > works correctly under Xen Dom0. I was confused about OFED 1.2 which works but
 > it contained patch to work under Xen. After applying similar patch to the OFED
 > 1.3a, it works now as well. 

What is the patch that you need?

 > There is still outstanding problem discussed in July (if you remember)
 > regarding wrong usage of DMA API and assumption of coherent mapping - pages
 > returned by kernel allocator do not form contiguos area under Xen (with vanila
 > kernel it is mostly contiguous but it is not guaranteed).

Yes, I remember.  Actually the problem is in using dma_sync_single on
something not mapped with dma_map_single.

 > I hoped that driver evolved in this case. You disagreed to use coherent
 > allocator instead of standard. Did you do any progress?

No, it is still on my list of things to address, but not a very high
priority.  I thought this is only an issue in domU though, not dom0?

 - R.



More information about the general mailing list