diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2025-03-12 02:06:21 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-03-18 00:15:17 +0300 |
commit | 860be250fc32de9cb24154bf21b4e36f40925707 (patch) | |
tree | f3246a880f7499af1ce6668a25306aa71cbfe176 /tools/perf/scripts/python/parallel-perf.py | |
parent | 384a530111c682d4a6c4c9ec305254c323a1379a (diff) | |
download | linux-860be250fc32de9cb24154bf21b4e36f40925707.tar.xz |
vfio/pci: Handle INTx IRQ_NOTCONNECTED
Some systems report INTx as not routed by setting pdev->irq to
IRQ_NOTCONNECTED, resulting in a -ENOTCONN error when trying to
setup eventfd signaling. Include this in the set of conditions
for which the PIN register is virtualized to zero.
Additionally consolidate vfio_pci_get_irq_count() to use this
virtualized value in reporting INTx support via ioctl and sanity
checking ioctl paths since pdev->irq is re-used when the device
is in MSI mode.
The combination of these results in both the config space of the
device and the ioctl interface behaving as if the device does not
support INTx.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20250311230623.1264283-1-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions