lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_DD9CBE5B44210B43A04EF8DAF52506A08509@qq.com>
Date: Fri, 10 Jan 2025 21:21:52 +0800
From: Jiwei Sun <jiwei.sun.bj@...com>
To: macro@...am.me.uk,
	ilpo.jarvinen@...ux.intel.com,
	bhelgaas@...gle.com
Cc: linux-pci@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	guojinhui.liam@...edance.com,
	helgaas@...nel.org,
	lukas@...ner.de,
	ahuang12@...ovo.com,
	sunjw10@...ovo.com,
	jiwei.sun.bj@...com
Subject: [PATCH 0/2] PCI: Fix the PCIe bridge decreasing to Gen 1 during

From: Jiwei Sun <sunjw10@...ovo.com>

When we do the quick hot-add/hot-remove test with a PCIE Gen 5 NVMe disk,
there is a possibility that the PCIe bridge will decrease to 2.5GT/s from
32GT/s.

The issue is caused by commit a89c82249c37 ("PCI: Work around PCIe link
training failures"). Although the commit 712e49c96706 ("PCI: Correct error
reporting with PCIe failed link retraining") and the commit f68dea13405c
("PCI: Revert to the original speed after PCIe failed link retraining")
have tried to fix the similar issue. However, there is still a window for
triggering the issue within 1-second hot-add/hot-remove test.

Besides, the commit de9a6c8d5dbf ("PCI/bwctrl: Add pcie_set_target_speed()
introduces two potential issues might cause that the removing 2.5GT/s
downstream link speed restriction works fail.

Jiwei Sun (2):
  PCI: Fix the wrong reading of register fields
  PCI: Fix the PCIe bridge decreasing to Gen 1 during hotplug testing

 drivers/pci/quirks.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ