public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-linus v3 0/2] Fix bwctrl boot hang
@ 2024-12-17  9:51 Lukas Wunner
  2024-12-17  9:51 ` [PATCH for-linus v3 1/2] PCI: Honor Max Link Speed when determining supported speeds Lukas Wunner
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Lukas Wunner @ 2024-12-17  9:51 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: linux-pci, Niklas Schnelle, Ilpo Jarvinen, Jonathan Cameron,
	Mika Westerberg, Maciej W. Rozycki, Mario Limonciello

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 1127 bytes --]

In response to v2, Ilpo gave a heads-up that the first patch in the series
was problematic:  A zero Max Link Speed is common in particular on Root
Complex Integrated Endpoints, so there's no reason to emit a warning
or assume 2.5 GT/s.

In the interest of resolving the regression before the holidays,
I'm respinning already after two days and I'm reverting back to my
original proposal to use 0 as lowest bit in the GENMASK() macro.
I've amended the commit message with an explanation to address Ilpo's
concern that the 0 may cause confusion because Supported Link Speeds
ends at bit 1.

So patch [1/2] in this series is identical to what's already queued up
on pci.git/for-linus, save for the extended commit message.

And patch [2/2] is unchanged vis-à-vis v2.

Link to v2:
https://lore.kernel.org/all/cover.1734257330.git.lukas@wunner.de/


Lukas Wunner (2):
  PCI: Honor Max Link Speed when determining supported speeds
  PCI/bwctrl: Enable only if more than one speed is supported

 drivers/pci/pci.c          | 6 ++++--
 drivers/pci/pcie/portdrv.c | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-12-20  8:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17  9:51 [PATCH for-linus v3 0/2] Fix bwctrl boot hang Lukas Wunner
2024-12-17  9:51 ` [PATCH for-linus v3 1/2] PCI: Honor Max Link Speed when determining supported speeds Lukas Wunner
2024-12-17 11:33   ` Ilpo Järvinen
2024-12-18 23:43     ` Krzysztof Wilczyński
2024-12-19  7:41       ` Lukas Wunner
2024-12-19 11:05         ` Ilpo Järvinen
2024-12-19 16:37           ` Krzysztof Wilczy??ski
     [not found]             ` <CABhMZUWP1LN2ZX7oAaW4oJywC+Zfo4Y0p4ep7NJkkgGcVsM+hg@mail.gmail.com>
2024-12-20  8:57               ` Lukas Wunner
2024-12-17  9:51 ` [PATCH for-linus v3 2/2] PCI/bwctrl: Enable only if more than one speed is supported Lukas Wunner
2024-12-17 11:35   ` Ilpo Järvinen
2024-12-18 23:48 ` [PATCH for-linus v3 0/2] Fix bwctrl boot hang Krzysztof Wilczyński

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