public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] PCI: Rework error reporting with PCIe failed link retraining
@ 2024-08-25 13:47 Maciej W. Rozycki
  2024-08-25 13:47 ` [PATCH v3 1/4] PCI: Clear the LBMS bit after a link retrain Maciej W. Rozycki
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Maciej W. Rozycki @ 2024-08-25 13:47 UTC (permalink / raw)
  To: Ilpo Järvinen, Matthew W Carlis, Bjorn Helgaas
  Cc: Mika Westerberg, Oliver O'Halloran, linux-pci, linux-kernel

Hi,

 This is a minor update to the patch series posted here: 
<https://lore.kernel.org/r/alpine.DEB.2.21.2408091017050.61955@angie.orcam.me.uk> 
which includes a change to 2/4 suggested by Ilpo to wait on LT rather than 
DLLLA with the recovery call to `pcie_retrain_link' in the failure path, 
so as to avoid an excessive delay where we expect training to fail anyway.

 This patch series addresses issues observed by Ilpo as reported here: 
<https://lore.kernel.org/r/aa2d1c4e-9961-d54a-00c7-ddf8e858a9b0@linux.intel.com/>, 
one with excessive delays happening when `pcie_failed_link_retrain' is 
called, but link retraining has not been actually attempted, and another 
one with an API misuse caused by a merge mistake.

 It also addresses an issue observed by Matthew as discussed here: 
<https://lore.kernel.org/r/20240806000659.30859-1-mattc@purestorage.com/> 
and here: 
<https://lore.kernel.org/r/20240722193407.23255-1-mattc@purestorage.com/>. 
where a stale LBMS bit state causes `pcie_failed_link_retrain', in the 
absence of a downstream device, to leave the link stuck at the 2.5GT/s 
speed rate, which then negatively impacts devices plugged in in the 
future.

 See individual change descriptions for further details.

 Original submission at:
<https://lore.kernel.org/r/alpine.DEB.2.21.2402092125070.2376@angie.orcam.me.uk/>.

  Maciej

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-09 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-25 13:47 [PATCH v3 0/4] PCI: Rework error reporting with PCIe failed link retraining Maciej W. Rozycki
2024-08-25 13:47 ` [PATCH v3 1/4] PCI: Clear the LBMS bit after a link retrain Maciej W. Rozycki
2024-08-25 13:47 ` [PATCH v3 2/4] PCI: Revert to the original speed after PCIe failed link retraining Maciej W. Rozycki
2024-08-26  9:16   ` Ilpo Järvinen
2024-09-09 12:50     ` Ilpo Järvinen
2024-09-09 14:11       ` Krzysztof Wilczyński
2024-08-25 13:47 ` [PATCH v3 3/4] PCI: Correct error reporting with " Maciej W. Rozycki
2024-08-25 13:47 ` [PATCH v3 4/4] PCI: Use an error code " Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox