From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934249AbcHJUYp (ORCPT ); Wed, 10 Aug 2016 16:24:45 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:64442 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934110AbcHJSU5 (ORCPT ); Wed, 10 Aug 2016 14:20:57 -0400 Date: Wed, 10 Aug 2016 18:21:45 +0800 From: Jisheng Zhang To: , , , CC: , , Subject: Re: [PATCH v2 0/2] PCI: designware: let dw_pcie_link_up() beware of LTSSM training bit Message-ID: <20160810182145.7a821b38@xhacker> In-Reply-To: <1470823623-1360-1-git-send-email-jszhang@marvell.com> References: <1470823623-1360-1-git-send-email-jszhang@marvell.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-10_08:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608100112 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Aug 2016 18:07:01 +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. hmm, there's one accident with my email system, the v2 series is sent twice Sorry for inconvenience, Jisheng > > 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(-) >