[PATCH v4 1/2] ARM: dma-mapping: Don't use outer_flush_range when the L2C is coherent

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 29 10:55:14 PDT 2015


Hello,

On Tue, 29 Sep 2015 18:48:35 +0100, Russell King - ARM Linux wrote:

> > It might very well be the case. If there's enough PCIe traffic and a
> > PL310 cache maintenance operation happening at the same time, the
> > system will lockup. I'm a bit surprised that just the initialization of
> > the PCIe card generates enough traffic to trigger the deadlock, but
> > maybe I'm underestimating the problem.
> 
> It isn't every boot - the board has booted around 240 kernels so far and
> maybe 5% of them have needed the reset button pressed because of this.
> It only happens when I have the SATA card connected.  I don't have any
> drives on the SATA card at the moment though.

Hum, ok. Then I'm not sure it's the same problem. I believe it's
unlikely that the few PCIe accesses used just to enumerate the PCIe
device and initialize it are enough to cause the deadlock. But I don't
have (and anyway wouldn't fully understand) all the details about this
issue, so I can't say for sure.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list