Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1448776
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bjorn Helgaas <helgaas@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] PCI: altera: fix link retrain |
| Date | Fri, 22 Jul 2016 23:10:01 +0200 |
| Message-ID | <rXPRL-2CP-7@gated-at.bofh.it> (permalink) |
| References | <rU2Xg-3xz-11@gated-at.bofh.it> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 19 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Bjorn Helgaas <bhelgaas@google.com>, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Ley Foon Tan <lftan.linux@gmail.com> |
| X-Original-Date | Fri, 22 Jul 2016 16:07:05 -0500 |
| X-Original-Message-ID | <20160722210705.GA32142@localhost> |
| X-Original-References | <1466499193-1987-1-git-send-email-lftan@altera.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1448776 |
Show key headers only | View raw
On Tue, Jun 21, 2016 at 04:53:11PM +0800, Ley Foon Tan wrote:
> This 2 patches fix the issue before and after retrain link.
>
> Ley Foon Tan (2):
> PCI: altera: check link status before retrain link
> PCI: altera: Polling for link up status after retrain the link
>
> drivers/pci/host/pcie-altera.c | 48 +++++++++++++++++++++++++++---------------
> 1 file changed, 31 insertions(+), 17 deletions(-)
I applied these to pci/host-altera for v4.8, thanks!
I split the code move into its own patch so the bug fix is clearly
visible. I also fixed these whitespace errors:
if(!altera_pcie_link_is_up(pcie))
while(!altera_pcie_link_is_up(pcie)) {
A space is required after "if" and "while".
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 0/2] PCI: altera: fix link retrain Bjorn Helgaas <helgaas@kernel.org> - 2016-07-22 23:10 +0200 Re: [PATCH 0/2] PCI: altera: fix link retrain Ley Foon Tan <lftan@altera.com> - 2016-07-25 07:10 +0200
csiph-web