From: Ian Campbell Subject: Re: [PATCH] xen: swiotlb: handle sizeof(dma_addr_t) != sizeof(phys_addr_t) Date: Thu, 23 Jan 2014 17:51:32 +0000 Message-ID: <1390499492.2124.5.camel@kazak.uk.xensource.com> References: <1389979493-22670-1-git-send-email-ian.campbell@citrix.com> <20140122210154.GC9585@phenom.dumpdata.com> <1390475971.24595.55.camel@kazak.uk.xensource.com> <8173790b-8731-4fee-9b59-e5753857a654@email.android.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8173790b-8731-4fee-9b59-e5753857a654@email.android.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: stefano.stabellini@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-01-23 at 12:42 -0500, Konrad Rzeszutek Wilk wrote: > And I presume dma_addr_t is 64bit regardless of PAE and non-PAE? Correct. Or rather, correct after this patch which adds "select ARCH_DMA_ADDR_T_64BIT" to the Kconfig. > (Sorry I am on my phone and its hard to do SSH and cscope). You're doing very well to quote everything properly, so no worries! > Based on your explanation I believe the patch is fine though I have to > work out carefully the casting it does in my mind. OK, thanks. Ian.