Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-25 Thread Konrad Rzeszutek Wilk
On Thu, Oct 24, 2013 at 02:11:48PM +0100, Stefano Stabellini wrote: > On Thu, 24 Oct 2013, Stefano Stabellini wrote: > > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > > On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: > > > > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-25 Thread Konrad Rzeszutek Wilk
On Thu, Oct 24, 2013 at 11:44:50AM +0100, Stefano Stabellini wrote: > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: > > > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > > > On Thu, Oct 17, 2013 at 06:43:28PM +0100,

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-25 Thread Konrad Rzeszutek Wilk
On Thu, Oct 24, 2013 at 11:44:50AM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-25 Thread Konrad Rzeszutek Wilk
On Thu, Oct 24, 2013 at 02:11:48PM +0100, Stefano Stabellini wrote: On Thu, 24 Oct 2013, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote:

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-24 Thread Stefano Stabellini
On Thu, 24 Oct 2013, Stefano Stabellini wrote: > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: > > > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > > > On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-24 Thread Stefano Stabellini
On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: > > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > > On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: > > > > Call xen_dma_map_page, xen_dma_unmap_page,

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-24 Thread Stefano Stabellini
On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: Call xen_dma_map_page, xen_dma_unmap_page,

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-24 Thread Stefano Stabellini
On Thu, 24 Oct 2013, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote:

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Konrad Rzeszutek Wilk
On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: > On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > > On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: > > > Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, > > >

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Stefano Stabellini
On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: > > Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, > > xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device > > coherency of the pages

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Konrad Rzeszutek Wilk
On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: > Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, > xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device > coherency of the pages used for DMA, including the ones belonging to the > swiotlb

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Konrad Rzeszutek Wilk
On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device coherency of the pages used for DMA, including the ones belonging to the swiotlb

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Stefano Stabellini
On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device coherency of the pages used for

Re: [PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-23 Thread Konrad Rzeszutek Wilk
On Wed, Oct 23, 2013 at 06:20:25PM +0100, Stefano Stabellini wrote: On Wed, 23 Oct 2013, Konrad Rzeszutek Wilk wrote: On Thu, Oct 17, 2013 at 06:43:28PM +0100, Stefano Stabellini wrote: Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device

[PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-17 Thread Stefano Stabellini
Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device coherency of the pages used for DMA, including the ones belonging to the swiotlb buffer. Signed-off-by: Stefano Stabellini --- drivers/xen/swiotlb-xen.c |

[PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-17 Thread Stefano Stabellini
Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device coherency of the pages used for DMA, including the ones belonging to the swiotlb buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com