Re: [PATCH v2 1/1] PCI: Update Link Speed after retraining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux