Re: [PATCH] link up validation moved to pcie-designware

From: Arnd Bergmann
Date: Tue Feb 09 2016 - 10:28:59 EST


On Monday 08 February 2016 16:48:07 Joao Pinto wrote:
> On 2/8/2016 4:46 PM, Arnd Bergmann wrote:
> > On Monday 08 February 2016 16:43:33 Joao Pinto wrote:
> >> Hi,
> >> Ok, so what should be the retries and waiting time in your opinion?
> >> The most typical is:
> >>
> >> retries: 10
> >> delay: 100ms (usleep_range (90000, 100000))
> >>
> >> These values should be ok?
> >>
> >> I am already testing a full pcie-designware platform driver.
> >>
> >>
> > You are the one with the datasheet, not me.
>
> Our reference driver follows the 10x with 100ms delay between retries, so lets
> follow that value. Agree?
>

I wouldn't trust the reference driver too much, better follow whatever
the hardware specifications says.

Arnd