Re: [PATCH] vfio/pci: Clear MSI-X IRQ index always

2024-01-29 Thread Michael Tokarev
29.01.2024 23:10, Michael Tokarev пишет: This seems to be a stable material too, for stable-8.2 series. Please let me know if it is not. Please Cc: qemu-stable@ for other stable-worthy changes. Ahh, this is already Cc'ed to qemu-stable@, - please excuse me for the noise! /mjt

Re: [PATCH] vfio/pci: Clear MSI-X IRQ index always

2024-01-29 Thread Michael Tokarev
25.01.2024 17:42, Cédric Le Goater: When doing device assignment of a physical device, MSI-X can be enabled with no vectors enabled and this sets the IRQ index to VFIO_PCI_MSIX_IRQ_INDEX. However, when MSI-X is disabled, the IRQ index is left untouched if no vectors are in use. Then, when INTx is

Re: [PATCH] vfio/pci: Clear MSI-X IRQ index always

2024-01-25 Thread Cédric Le Goater
On 1/25/24 15:42, Cédric Le Goater wrote: When doing device assignment of a physical device, MSI-X can be enabled with no vectors enabled and this sets the IRQ index to VFIO_PCI_MSIX_IRQ_INDEX. However, when MSI-X is disabled, the IRQ index is left untouched if no vectors are in use. Then, when I

Re: [PATCH] vfio/pci: Clear MSI-X IRQ index always

2024-01-25 Thread Alex Williamson
On Thu, 25 Jan 2024 15:42:20 +0100 Cédric Le Goater wrote: > When doing device assignment of a physical device, MSI-X can be > enabled with no vectors enabled and this sets the IRQ index to > VFIO_PCI_MSIX_IRQ_INDEX. However, when MSI-X is disabled, the IRQ > index is left untouched if no vectors

[PATCH] vfio/pci: Clear MSI-X IRQ index always

2024-01-25 Thread Cédric Le Goater
When doing device assignment of a physical device, MSI-X can be enabled with no vectors enabled and this sets the IRQ index to VFIO_PCI_MSIX_IRQ_INDEX. However, when MSI-X is disabled, the IRQ index is left untouched if no vectors are in use. Then, when INTx is enabled, the IRQ index value is consi