[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH][retry 2] Make x86_64 swiotlb code to support dma_ops [2/2]



>The second patch modifies 
>arch/x86_64/kernel/pci-swiotlb-xen.c to work with 
>dma_ops, and modifies arch/x86_64/kernel/pci-dma-xen.c
>slightly to be Xen-safe by copying over some functions
>from arch/i386/kernel/pci-dma-xen.c

The removal of sync_single_range_for_{cpu,device} from swiotlb_dma_ops
cannot work in my opinion, as this is not a no-op. You will need to either
touch Xen's swiotlb.c to add this function, or clone the i386 stubs that map
dma_sync_single_range_for_ to dma_sync_single_for_ (perhaps into an
'else if' in the existing functions in asm-x86_64/mach-xen/asm/dma-mapping.h.

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.