Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-19 Thread Alexander Duyck
On 10/19/2012 07:18 AM, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 18, 2012 at 08:53:33AM -0700, Alexander Duyck wrote: >> end to be physical instead of virtual. I reviewed the code and realized >> that I wasn't saving anything by removing it since the overall code was >> larger as a result so I j

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 08:53:33AM -0700, Alexander Duyck wrote: > On 10/18/2012 05:41 AM, Konrad Rzeszutek Wilk wrote: > > On Mon, Oct 15, 2012 at 08:43:28AM -0700, Alexander Duyck wrote: > >> On 10/13/2012 05:52 AM, Hillf Danton wrote: > >>> Hi Alexander, > >>> > >>> On Fri, Oct 12, 2012 at 4:34

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-18 Thread Alexander Duyck
On 10/18/2012 05:41 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Oct 15, 2012 at 08:43:28AM -0700, Alexander Duyck wrote: >> On 10/13/2012 05:52 AM, Hillf Danton wrote: >>> Hi Alexander, >>> >>> On Fri, Oct 12, 2012 at 4:34 AM, Alexander Duyck >>> wrote: This change replaces all references to t

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-18 Thread Konrad Rzeszutek Wilk
On Mon, Oct 15, 2012 at 08:43:28AM -0700, Alexander Duyck wrote: > On 10/13/2012 05:52 AM, Hillf Danton wrote: > > Hi Alexander, > > > > On Fri, Oct 12, 2012 at 4:34 AM, Alexander Duyck > > wrote: > >> This change replaces all references to the virtual address for io_tlb_end > >> with references t

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-15 Thread Alexander Duyck
On 10/13/2012 05:52 AM, Hillf Danton wrote: > Hi Alexander, > > On Fri, Oct 12, 2012 at 4:34 AM, Alexander Duyck > wrote: >> This change replaces all references to the virtual address for io_tlb_end >> with references to the physical address io_tlb_end. The main advantage of >> replacing the virt

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-13 Thread Hillf Danton
Hi Alexander, On Fri, Oct 12, 2012 at 4:34 AM, Alexander Duyck wrote: > This change replaces all references to the virtual address for io_tlb_end > with references to the physical address io_tlb_end. The main advantage of > replacing the virtual address with a physical address is that we can avo

[PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-11 Thread Alexander Duyck
This change replaces all references to the virtual address for io_tlb_end with references to the physical address io_tlb_end. The main advantage of replacing the virtual address with a physical address is that we can avoid having to do multiple translations from the virtual address to the physical