PCI/LINK: Print IRQ number used by port
authorDongdong Liu <liudongdong3@huawei.com>
Thu, 10 Sep 2020 11:24:15 +0000 (19:24 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Sep 2020 17:40:25 +0000 (12:40 -0500)
commit7b6f2240880b42dad2f8d3c750c5bcb9decfe245
tree93b9b62c27b0fded5dbe956892bf43f4ff0bf349
parent462bd2fdf56ab2af50d1b483f6783a5a30562e02
PCI/LINK: Print IRQ number used by port

Print the IRQ used by PCIe Link Bandwidth Notification services port as
AER, PME and DPC do.  It provides convenience to track PCIe BW notification
interrupt counts of certain port from /proc/interrupts.

The dmesg log is as below:

  pcieport 0000:00:00.0: bw_notification: enabled with IRQ 1166

Link: https://lore.kernel.org/r/1599737055-73624-1-git-send-email-liudongdong3@huawei.com
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/bw_notification.c