Re: Ping: [PATCH] PCI/ASPM: Don't retrain link if ASPM not possible.

From: Bjorn Helgaas
Date: Wed Nov 30 2016 - 13:02:02 EST


Hi David,

On Wed, Nov 30, 2016 at 09:11:11AM -0800, David Daney wrote:
> On 11/17/2016 02:25 PM, David Daney wrote:
> >From: David Daney <david.daney@xxxxxxxxxx>
> >
> >Some (defective) PCIe devices are not able to reliably do link
> >retraining.
> >
> >Check to see if ASPM is possible between link partners before
> >configuring common clocking, and doing the resulting link retraining.
> >If ASPM is not possible, there is no reason to risk losing access to a
> >device due to an unnecessary link retraining.
> >
>
> Hi Bjorn,
>
> It has been a couple of weeks since I originally sent this, and I
> wanted to know if you have had a chance to look at it. If possible,
> it would be nice to consider for the approaching merge window.

Yes, definitely. I haven't had a chance yet, but I hope to. Right
now my top priority is getting the arm64 ECAM quirks in for v4.10.
Once that's settled I'll come back and pick up some of these fixes.

Bjorn