[PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-06 Thread Dongxiao Xu
if device DMA into software static buffers, and in case the static buffer cross page boundary which pages are not contiguous in real hardware. Signed-off-by: Dongxiao Xu Signed-off-by: Xiantao Zhang --- drivers/xen/swiotlb-xen.c | 47 - 1 files changed

[PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-06 Thread Dongxiao Xu
if device DMA into software static buffers, and in case the static buffer cross page boundary which pages are not contiguous in real hardware. Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Xiantao Zhang xiantao.zh...@intel.com --- drivers/xen/swiotlb-xen.c | 47