linux_dsm_epyc7002/drivers/pci
Tal Gilboa 9e506a7b51 PCI: Add pcie_print_link_status() to log link speed and whether it's limited
Add pcie_print_link_status().  This logs the current settings of the link
(speed, width, and total available bandwidth).

If the device is capable of more bandwidth but is limited by a slower
upstream link, we include information about the link that limits the
device's performance.

The user may be able to move the device to a different slot for better
performance.

This provides a unified method for all PCI devices to report status and
issues, instead of each device reporting in a different way, using
different code.

Signed-off-by: Tal Gilboa <talgi@mellanox.com>
[bhelgaas: changelog, reword log messages, print device capabilities when
not limited, print bandwidth in Gb/s]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2018-04-03 08:58:30 -05:00
..
cadence
dwc
endpoint
host
hotplug
pcie
switch vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
access.c
ats.c
bus.c
ecam.c
host-bridge.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
msi.c
of.c
pci-acpi.c
pci-driver.c
pci-label.c
pci-mid.c
pci-stub.c
pci-sysfs.c PCI: Add pcie_get_width_cap() to find max supported link width 2018-03-30 15:33:38 -05:00
pci.c PCI: Add pcie_print_link_status() to log link speed and whether it's limited 2018-04-03 08:58:30 -05:00
pci.h PCI: Add pcie_bandwidth_capable() to compute max supported link bandwidth 2018-03-30 15:33:38 -05:00
probe.c PCI: Add decoding for 16 GT/s link speed 2018-03-21 16:23:55 -05:00
proc.c
quirks.c
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c PCI: Add decoding for 16 GT/s link speed 2018-03-21 16:23:55 -05:00
syscall.c
vc.c
vpd.c
xen-pcifront.c