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

2012-12-13 Thread Konrad Rzeszutek Wilk
el@vger.kernel.org > > Subject: Re: [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg > > hook > > > > On Tue, Dec 11, 2012 at 06:39:35AM +, Xu, Dongxiao wrote: > > > > -Original Message- > > > > From: Konrad Rzeszutek Wilk [m

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

2012-12-11 Thread Xu, Dongxiao
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Wednesday, December 12, 2012 1:07 AM > To: Xu, Dongxiao > Cc: xen-de...@lists.xen.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] xen/swiotlb: Exchange to contiguous memory

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

2012-12-11 Thread Konrad Rzeszutek Wilk
el@vger.kernel.org > > Subject: Re: [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg > > hook > > > > On Thu, Dec 06, 2012 at 09:08:42PM +0800, Dongxiao Xu wrote: > > > While mapping sg buffers, checking to cross page DMA buffer is also > >

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

2012-12-10 Thread Xu, Dongxiao
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Friday, December 07, 2012 10:09 PM > To: Xu, Dongxiao > Cc: xen-de...@lists.xen.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] xen/swiotlb: Exchange to contiguous memory

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

2012-12-07 Thread Konrad Rzeszutek Wilk
On Thu, Dec 06, 2012 at 09:08:42PM +0800, Dongxiao Xu wrote: > While mapping sg buffers, checking to cross page DMA buffer is > also needed. If the guest DMA buffer crosses page boundary, Xen > should exchange contiguous memory for it. So this is when we cross those 2MB contingous swatch of buffer