All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew W Carlis <mattc@purestorage.com>
To: linux-pci@vger.kernel.org
Cc: bhelgaas@google.com, ashishk@purestorage.com, macro@orcam.me.uk,
	bamstadt@purestorage.com, msaggi@purestorage.com,
	sconnor@purestorage.com, Matthew W Carlis <mattc@purestorage.com>
Subject: [PATCH 0/1] PCI: Add CONFIG_PCI_NOSPEED_QUIRK to remove pcie_failed_link_retrain
Date: Wed, 16 Jul 2025 13:02:05 -0600	[thread overview]
Message-ID: <20250716190206.15269-1-mattc@purestorage.com> (raw)

Add a kernel config to allow the removal of the pcie_failed_link_retrain()
quirk. CONFIG_PCI_NOSPEED_QUIRK=y will allow users to prevent the kernel
from forcing a PCIe link to 2.5GT/s. This may be beneficial for systems
or devices under debug as well as hardware configurations that have
demonstrated a high degree of device compatibility & are expected to
endure large numbers of hot-plug/error events & always arrive at maximum
speed.

Matthew W Carlis (1):
  PCI: Add CONFIG_PCI_NOSPEED_QUIRK to remove pcie_failed_link_retrain

 drivers/pci/Kconfig  | 9 +++++++++
 drivers/pci/pci.h    | 8 +++++++-
 drivers/pci/quirks.c | 3 +++
 3 files changed, 19 insertions(+), 1 deletion(-)

-- 
2.46.0


             reply	other threads:[~2025-07-16 19:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 19:02 Matthew W Carlis [this message]
2025-07-16 19:02 ` [PATCH 1/1] PCI: Add CONFIG_PCI_NOSPEED_QUIRK to remove pcie_failed_link_retrain Matthew W Carlis
2025-07-16 19:34   ` Bjorn Helgaas
2025-07-17 18:38     ` [PATCH 0/1] " Matthew W Carlis
2025-07-18 14:16       ` Maciej W. Rozycki
2025-07-23 19:18         ` Matthew W Carlis
2025-12-01  3:54           ` Maciej W. Rozycki
2025-07-17 17:30   ` [PATCH 1/1] " kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250716190206.15269-1-mattc@purestorage.com \
    --to=mattc@purestorage.com \
    --cc=ashishk@purestorage.com \
    --cc=bamstadt@purestorage.com \
    --cc=bhelgaas@google.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=macro@orcam.me.uk \
    --cc=msaggi@purestorage.com \
    --cc=sconnor@purestorage.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.