RE: [PATCH] vfio/pci: Handle INTx IRQ_NOTCONNECTED

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

 



> From: Alex Williamson <alex.williamson@xxxxxxxxxx>
> Sent: Wednesday, March 12, 2025 7:06 AM
> 
> 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.
> 
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux