PCI/LINK: Remove bandwidth notification
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Feb 2021 20:17:54 +0000 (14:17 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Feb 2021 20:25:11 +0000 (14:25 -0600)
commitb4c7d2076b4e767dd2e075a2b3a9e57753fc67f5
treea89a1b6f286f708d5fa97f5953e2c63e2d174db9
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837
PCI/LINK: Remove bandwidth notification

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.

Link: https://lore.kernel.org/r/20200115221008.GA191037@google.com/
Link: https://lore.kernel.org/r/155605909349.3575.13433421148215616375.stgit@gimli.home/
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206197
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/Kconfig
drivers/pci/pcie/Makefile
drivers/pci/pcie/bw_notification.c [deleted file]
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_pci.c