[PATCH next 0/3] Report PCI device link status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches introduce the ability to report PCI link width
and speed for all PCI devices in kernel log. It also warns if
the capabilities are bellow maximum. This would reduce code
duplication between drivers and unify the approach for reporting
PCI link status.
Implemented and tested for Mellanox devices.

Tal Gilboa (3):
  pci: Report PCI device link status
  net/mlx4_core: Report PCI properties using dedicated function
  net/mlx5: Report device PCI link status and issues

 drivers/net/ethernet/mellanox/mlx4/main.c      |  81 +------------------
 drivers/net/ethernet/mellanox/mlx5/core/main.c |   2 +
 drivers/pci/pci.c                              | 107 +++++++++++++++++++++++++
 include/linux/pci.h                            |   3 +
 include/uapi/linux/pci_regs.h                  |   1 +
 5 files changed, 114 insertions(+), 80 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux