From: "Krzysztof Wilczyński" <kwilczynski@kernel.org>
To: "Lukas Wunner" <lukas@wunner.de>,
"Bjorn Helgaas" <bhelgaas@google.com>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: [PATCH v2 1/1] PCI: Update Link Speed after retraining
Date: Thu, 15 May 2025 16:29:45 +0000 [thread overview]
Message-ID: <174732656472.65286.1704390633596082407.b4-ty@kernel.org> (raw)
In-Reply-To: <20250514132821.15705-1-ilpo.jarvinen@linux.intel.com>
Hello,
> PCIe Link Retraining can alter Link Speed. pcie_retrain_link() that
> performs the Link Training is called from bwctrl and ASPM driver.
>
> While bwctrl listens for Link Bandwidth Management Status (LBMS) to
> pick up changes in Link Speed, there is a race between
> pcie_reset_lbms() clearing LBMS after the Link Training and
> pcie_bwnotif_irq() reading the Link Status register. If LBMS is already
> cleared when the irq handler reads the register, the interrupt handler
> will return early with IRQ_NONE and won't update the Link Speed.
>
> [...]
Applied to bwctrl, thank you!
[1/1] PCI: Update Link Speed after retraining
https://git.kernel.org/pci/pci/c/6ade6e81f898
Krzysztof
prev parent reply other threads:[~2025-05-15 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-14 13:28 Ilpo Järvinen
2025-05-15 16:29 ` Krzysztof Wilczyński [this message]
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=174732656472.65286.1704390633596082407.b4-ty@kernel.org \
--to=kwilczynski@kernel.org \
--cc=bhelgaas@google.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®