[PATCH 0/6] ARM: mvebu: mvebu-mbus and I/O coherency fixes
Arnd Bergmann
arnd at arndb.de
Sat Jan 10 10:56:59 PST 2015
On Saturday 10 January 2015 17:50:30 Thomas Petazzoni wrote:
>
> > For the IO Coherency fixes, obviousness is an issue. This is
> > especially true since your own comment is "still not working 100%
> > properly, but it is apparently not worse than it was."
> >
> > Maybe the correct fix for stable is to simply disable the I/O
> > coherency hardware. That at least makes mainline stable. Once we have
> > a real, well tested, 100% fix, take it via the normal merge window.
>
> However, I'm not a big fan of this idea. I'd really like to have I/O
> coherency progressively improved, and made working.
>
> The patch is actually make the code *simpler* since it removes the
> custom dma_map_ops and uses a set of operations that already exists in
> the kernel. The changes in the mvebu-mbus driver are minimal.
Despite my earlier analysis that concluded that the just using the
normal coherent dma_ops with this fix was correct on all hardware,
we have now seen a bug in the xor dmaengine driver (I haven't
seen a confirmation for my oneline fix yet, but I still think it's
the one), which gives us less confidence in the other drivers
being correct.
I think that your patch is the only sensible approach going forward
if we want coherent mappings, but we will need both more extensive
testing and more review of each affected device driver before
putting it into stable.
Arnd
More information about the linux-arm-kernel
mailing list