Keith Busch f0157160b3 PCI: Make link active reporting detection generic
The spec has timing requirements when waiting for a link to become active
after a conventional reset.  Implement those hard delays when waiting for
an active link so pciehp and dpc drivers don't need to duplicate this.

For devices that don't support data link layer active reporting, wait the
fixed time recommended by the PCIe spec.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
2018-10-02 16:04:40 -05:00
..
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-01 11:40:07 -06:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-01 11:40:07 -06:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00