mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 03:48:11 +07:00
e8303bb7a7
A warning is generated when a PCIe device is probed with a degraded link, but there was no similar mechanism to warn when the link becomes degraded after probing. The Link Bandwidth Notification provides this mechanism. Use the Link Bandwidth Management Interrupt to detect bandwidth changes, and rescan the bandwidth, looking for the weakest point. This is the same logic used in probe(). Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Lukas Wunner <lukas@wunner.de>
16 lines
436 B
Makefile
16 lines
436 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for PCI Express features and port driver
|
|
|
|
pcieportdrv-y := portdrv_core.o portdrv_pci.o err.o
|
|
pcieportdrv-y += bw_notification.o
|
|
|
|
obj-$(CONFIG_PCIEPORTBUS) += pcieportdrv.o
|
|
|
|
obj-$(CONFIG_PCIEASPM) += aspm.o
|
|
obj-$(CONFIG_PCIEAER) += aer.o
|
|
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
|