Re: [PATCH 3/3] pci/hotplug/pnv-php: Disable MSI and PCI device properly

2017-02-15 Thread Andrew Donnellan
On 16/02/17 10:22, Gavin Shan wrote: pnv_php_disable_irq() can be called in two paths: Bailing path in pnv_php_enable_irq() or releasing slot. The MSI (or MSIx) interrupts is disabled unconditionally in pnv_php_disable_irq(). It's wrong because that might be enabled by drivers other than pnv-php.

[PATCH 3/3] pci/hotplug/pnv-php: Disable MSI and PCI device properly

2017-02-15 Thread Gavin Shan
pnv_php_disable_irq() can be called in two paths: Bailing path in pnv_php_enable_irq() or releasing slot. The MSI (or MSIx) interrupts is disabled unconditionally in pnv_php_disable_irq(). It's wrong because that might be enabled by drivers other than pnv-php. This disables MSI (or MSIx) interrupt