Thread (30 messages) 30 messages, 10 authors, 2015-03-05
STALE4113d

[RFC PATCH 3/5] iommu: implement common IOMMU ops for DMA mapping

From: Will Deacon <hidden>
Date: 2015-01-28 13:53:55
Also in: linux-iommu

On Tue, Jan 27, 2015 at 12:38:09PM +0000, Joerg Roedel wrote:
On Tue, Jan 27, 2015 at 12:27:39PM +0000, Robin Murphy wrote:
quoted
Laz^WPragmatism - I'm expecting quite a lot of changes to get this
looking good, so keeping the series as lean as possible to aid
reviewing/rebasing/etc. seemed sensible. In the same vein, since the
other architectures already have code that works, my priority is
getting something in place to fill the gap in arm64 (my current
remit is "get the SMMUs on Juno working"); it seemed logical to
minimise disruption and dependencies by aiming to get this merged
with the one user, then start porting the others (and making the
inevitable necessary tweaks) once it's in.

I'll adjust the commit message to make that clearer - on re-reading
it, it does come across as rather vague about that intent.
Yeah, probably we can add other architectures later (like x86). But can
you at least merge it with the existing version of this for ARM32? That
should be easier to achieve than extending it for x86 by now and we do
not end up with two similar implementations.
+1 on that front. We've already had some breakage by using the arm_iommu_*
API for the automatic DMA mapping bits, so I'd love to have dma-mapping
use the same core code between arm and arm64 as soon as we can, leaving
the ARM-specific API for the (hopefully diminishing) set of explicit
callers.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help