]> Git Repo - linux.git/commit
PCI: Abstract LBMS seen check into pcie_lbms_seen()
authorIlpo Järvinen <[email protected]>
Fri, 18 Oct 2024 14:47:51 +0000 (17:47 +0300)
committerBjorn Helgaas <[email protected]>
Mon, 11 Nov 2024 20:20:04 +0000 (14:20 -0600)
commit3491f509666865412ad344cd4dde9f3c5a52326e
treecccbf01618745b4fc877dd39a634f29765dedd1b
parente93d9fcfd7dc643eb5fce43053774d27bea2b263
PCI: Abstract LBMS seen check into pcie_lbms_seen()

The Target Speed quirk in pcie_failed_link_retrain() uses the presence of
LBMS bit as one of the triggering conditions, effectively monopolizing the
use of that bit. An upcoming change will introduce a PCIe bandwidth
controller which sets up an interrupt to track LBMS. As LBMS will be
cleared by the interrupt handler, the Target Speed quirk will no longer be
able to observe LBMS directly.

As a preparatory step for the change, extract the LBMS seen check from
pcie_failed_link_retrain() into a new function pcie_lmbs_seen().

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
drivers/pci/quirks.c
This page took 0.052864 seconds and 4 git commands to generate.