Re: [PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-10-15 Thread Lorenzo Pieralisi
On Wed, May 22, 2019 at 11:33:50PM +0200, Remi Pommarel wrote: > When configuring pcie reset pin from gpio (e.g. initially set by > u-boot) to pcie function this pin goes low for a brief moment > asserting the PERST# signal. Thus connected device enters fundamental > reset process and link

Re: [PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-10-14 Thread Thomas Petazzoni
Hello Remi, On Wed, 22 May 2019 23:33:50 +0200 Remi Pommarel wrote: > When configuring pcie reset pin from gpio (e.g. initially set by > u-boot) to pcie function this pin goes low for a brief moment > asserting the PERST# signal. Thus connected device enters fundamental > reset process and link

Re: [PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-10-14 Thread Lorenzo Pieralisi
On Tue, Aug 06, 2019 at 08:49:46PM +0200, Remi Pommarel wrote: > On Wed, May 22, 2019 at 11:33:50PM +0200, Remi Pommarel wrote: > > When configuring pcie reset pin from gpio (e.g. initially set by > > u-boot) to pcie function this pin goes low for a brief moment > > asserting the PERST# signal.

Re: [PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-08-06 Thread Remi Pommarel
On Wed, May 22, 2019 at 11:33:50PM +0200, Remi Pommarel wrote: > When configuring pcie reset pin from gpio (e.g. initially set by > u-boot) to pcie function this pin goes low for a brief moment > asserting the PERST# signal. Thus connected device enters fundamental > reset process and link

[PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-05-22 Thread Remi Pommarel
When configuring pcie reset pin from gpio (e.g. initially set by u-boot) to pcie function this pin goes low for a brief moment asserting the PERST# signal. Thus connected device enters fundamental reset process and link configuration can only begin after a minimal 100ms delay (see [1]). Because