Re: [PATCH] PCI/LINK: Account for BW notification in vector calculation

From: Alex G
Date: Tue Apr 23 2019 - 13:59:32 EST




On 4/22/19 5:43 PM, Alex Williamson wrote:
On systems that don't support any PCIe services other than bandwidth
notification, pcie_message_numbers() can return zero vectors, causing
the vector reallocation in pcie_port_enable_irq_vec() to retry with
zero, which fails, resulting in fallback to INTx (which might be
broken) for the bandwidth notification service. This can resolve
spurious interrupt faults due to this service on some systems.

Fixes: e8303bb7a75c ("PCI/LINK: Report degraded links via link bandwidth notification")
Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
---

+1
Tested on some Dell servers. Everything works as expected. I don't have a system with a device that only supports bandwidth notification.

Alex