[PATCH] Revert "PCI/LINK: Report degraded links via link bandwidth

From: Bjorn Helgaas
Date: Mon Apr 29 2019 - 14:56:31 EST


Alex W. reported a case where the new link bandwidth notification logging,
e.g.:

vfio-pci 0000:07:00.0: 32.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x16 link at 0000:00:02.0 (capable of 64.000 Gb/s with 5 GT/s x16 link)

is somewhat surprising. The message is great if link bandwidth was reduced
because of a hardware problem, but in this case it's caused by a GPU doing
link state management to conserve power, so the message is to be expected
and is likely to confuse the user.

We haven't figured out a good way to handle both the "hardware failure" and
the "active link management" cases yet, so revert this for now.

Bjorn