[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110428143009.GO17290@n2100.arm.linux.org.uk>
Date: Thu, 28 Apr 2011 15:30:09 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Joerg Roedel <joro@...tes.org>
Cc: Arnd Bergmann <arnd@...db.de>, linaro-mm-sig@...ts.linaro.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC] ARM DMA mapping TODO, v1
On Thu, Apr 28, 2011 at 03:56:21PM +0200, Joerg Roedel wrote:
> There is no waste of code, just the opposite. Most of the dma_ops
> implementations that use an IOMMU today have a lot of similiarities in
> their code. All this code (on x86, alpha, sparc, ia64, ...) can
> be unified to a generic solution that fits all (by abstracting the
> differences between iommus into the iommu-api). So the current situation
> is a much bigger code waste than having this unified. The ARM platforms
> supporting iommu hardware will benefit from this as well. It simply
> doesn't make sense to have one dma_ops implementation for each iommu
> hardware around.
I'll defer until there's patches available then - I don't think there's
much value continuing to discuss this until that time.
--
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