Re: [Patch v4 21/23] x86/PCI: Refine the way to release PCI IRQ resources

2015-03-04 Thread Alex Williamson
On Wed, 2015-03-04 at 09:06 -0700, Alex Williamson wrote: > Hi, > > I'm getting a regression from this patch when using VFIO for device > assignment to a QEMU VM. I have a device initially bound to the nouveau > driver, which is unbound from that driver and bound to vfio-pci for use > by userspac

Re: [Patch v4 21/23] x86/PCI: Refine the way to release PCI IRQ resources

2015-03-04 Thread Alex Williamson
Hi, I'm getting a regression from this patch when using VFIO for device assignment to a QEMU VM. I have a device initially bound to the nouveau driver, which is unbound from that driver and bound to vfio-pci for use by userspace. vfio-pci calls pci_enable_device, but when userspace attempts to s

[Patch v4 21/23] x86/PCI: Refine the way to release PCI IRQ resources

2015-02-04 Thread Jiang Liu
Some PCI device drivers assume that pci_dev->irq won't change after calling pci_disable_device() and pci_enable_device() during suspend and resume. Commit c03b3b0738a5 ("x86, irq, mpparse: Release IOAPIC pin when PCI device is disabled") frees PCI IRQ resources when pci_disable_device() is called