Re: [PATCHv2] ARM: mvebu: use hardware I/O coherency also for PCI devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Jason Cooper,

On Tue, 13 May 2014 12:35:04 -0400, Jason Cooper wrote:

> > Whether this commit qualifies as stable material can be
> > discussed. Technically, it was a mistake from the original I/O
> > coherency implementation. But in practice, besides not using the I/O
> > coherency, I don't think it's causing any specific problem other than
> > DMA transactions on PCI devices triggering unneeded cache maintenance
> > operations. So I'll leave it to the mvebu maintainers to decide
> > whether this qualifies as stable material or not. I've included the
> > relevant Fixes: and Cc: fields, but don't hesitate to rip them out if
> > you don't think this should go to stable.
> 
> If nothing is broken for users, I see no point backporting it.  Feel
> free to convince me otherwise...

As far as I can remember, it isn't broken, it's just sub-optimal. The
only situation where it would cause problem is on Armada 375/Armada 38x
with SMP support, due to the SMP/PCIe/PL310 deadlock for which I've
sent a v2 of the patches today on LAKML. In this case, not using our
specific DMA operations would cause many PL310 cache maintenance
operations, and therefore a high chance of hitting the deadlock.
However, this is only a new problem in 3.16, which has the SMP support
for Armada 375/Armada 38x.

So, as I said, feel free to drop the stable tags :)

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]