Re: [PATCH v2 0/2] PCI: designware: let dw_pcie_link_up() beware of LTSSM training bit

From: Bjorn Helgaas
Date: Wed Aug 17 2016 - 17:01:09 EST


On Wed, Aug 10, 2016 at 06:07:01PM +0800, Jisheng Zhang wrote:
> patch1 is a trivial clean up: move the parameters for wait for link
> into the core pcie-designware.c
>
> Since link may be UP but still in link training, if so, we can't think
> the link is up and operating correctly. So patch2 teaches
> dw_pcie_link_up() beware of the PCIE_PHY_DEBUG_R1_LINK_IN_TRAINING bit.
>
> Since v1:
> - add Joao's Ack
> - rebased on v4.8-rc1
>
> Jisheng Zhang (2):
> PCI: designware: mv parameters for wait for link into
> pcie-designware.c
> PCI: designware: let dw_pcie_link_up() beware of LTSSM training bit
>
> drivers/pci/host/pcie-designware.c | 11 +++++++++--
> drivers/pci/host/pcie-designware.h | 5 -----
> 2 files changed, 9 insertions(+), 7 deletions(-)

Applied to pci/host-designware for v4.9, thanks, Jisheng.