PCI/LINK: Remove bandwidth notification
PATCH 1/1 PCI/LINK: Remove bandwidth notification
From: Bjorn Helgaas <[email protected]>
The PCIe Bandwidth Change Notification feature logs messages when the link bandwidth changes. Some users have reported that these messages occur often enough to significantly reduce NVMe performance. GPUs also seem to generate these messages.
We don't know why the link bandwidth changes, but in the reported cases there's no indication that it's caused by hardware failures.
Remove the bandwidth change notifications for now. Hopefully we can add this back when we have a better understanding of why this happens and how we can make the messages useful instead of overwhelming.
Signed-off-by Bjorn Helgaas <[email protected]>
--- drivers/pci/pcie/Kconfig | 8 -- drivers/pci/pcie/Makefile | 1 - drivers/pci/pcie/bw_notification.c | 138 ----------------------------- drivers/pci/pcie/portdrv.h | 6 -- drivers/pci/pcie/portdrv_pci.c | 1 - 5 files changed, 154 deletions(-) delete mode 100644 drivers/pci/pcie/bw_notification.c
drivers/pci/pcie/Kconfig +0 -8
@@ -133,14 +133,6 @@ config PCIE_PTM This is only useful if you have devices that support PTM, but it is safe to enable even if you don't. -config PCIE_BW - bool "PCI Express Bandwidth Change Notification" - depends on PCIEPORTBUS - help - This enables PCI Express Bandwidth Change Notification. If - you know link width or rate changes occur only to correct - unreliable links, you may answer Y. - config PCIE_EDR bool "PCI Express Error Disconnect Recover support" depends on PCIE_DPC && ACPI
drivers/pci/pcie/Makefile +0 -1
@@ -12,5 +12,4 @@ obj-$(CONFIG_PCIEAER_INJECT) += aer_inject.o obj-$(CONFIG_PCIE_PME) += pme.o obj-$(CONFIG_PCIE_DPC) += dpc.o obj-$(CONFIG_PCIE_PTM) += ptm.o -obj-$(CONFIG_PCIE_BW) += bw_notification.o obj-$(CONFIG_PCIE_EDR) += edr.o
drivers/pci/pcie/bw_notification.c deleted +0 -138
138 lines not on this page · raw message
drivers/pci/pcie/portdrv.h +0 -6
@@ -53,12 +53,6 @@ int pcie_dpc_init(void);static inline int pcie_dpc_init (void ) {return 0 ; }#endif -#ifdef CONFIG_PCIE_BW -int pcie_bandwidth_notification_init (void ); -#else -static inline int pcie_bandwidth_notification_init (void ) {return 0 ; } -#endif -/* Port Type */ #define PCIE_ANY_PORT (~0)
drivers/pci/pcie/portdrv_pci.c +0 -1
@@ -255,7 +255,6 @@ static void __init pcie_init_services(void)pcie_pme_init ();pcie_dpc_init ();pcie_hp_init (); -pcie_bandwidth_notification_init (); }static int __init pcie_portdrv_init (void )
Signature · 1 line
2.25.1