[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1386607857.7812.66.camel@kazak.uk.xensource.com>
Date: Mon, 9 Dec 2013 16:50:57 +0000
From: Ian Campbell <Ian.Campbell@...rix.com>
To: Stefano Stabellini <stefano.stabellini@...citrix.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <xen-devel@...ts.xensource.com>,
<konrad.wilk@...cle.com>, <catalin.marinas@....com>,
<Will.Deacon@....com>
Subject: Re: [PATCH] xen/arm64: do not call the swiotlb functions twice
On Mon, 2013-12-09 at 16:06 +0000, Stefano Stabellini wrote:
> On arm64 the dma_map_ops implementation is based on the swiotlb.
> swiotlb-xen, used by default in dom0 on Xen, is also based on the
> swiotlb.
>
> Avoid calling into the default arm64 dma_map_ops functions from
> xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, and
> xen_dma_sync_single_for_device otherwise we end up calling into the
> swiotlb twice.
>
> When arm64 gets a non-swiotlb based implementation of dma_map_ops, we'll
> probably have to reintroduce dma_map_ops calls in page-coherent.h.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@...citrix.com>
> CC: catalin.marinas@....com
> CC: Will.Deacon@....com
Tested-by: Ian Campbell <ian.campbell@...rix.com>
Ian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists