On Wed, 2017-01-11 at 00:50:06 UTC, Gavin Shan wrote: > The surprise hotplug is driven by interrupt in PowerNV PCI hotplug > driver. In the interrupt handler, pnv_php_interrupt(), we bail when > pnv_pci_get_presence_state() returns zero wrongly. It causes the > presence change event is always ignored incorrectly. > > This fixes the issue by bailing on error (non-zero value) returned > from pnv_pci_get_presence_state(). > > Fixes: 360aebd85a4 ("drivers/pci/hotplug: Support surprise hotplug in powernv driver") > Cc: stable@xxxxxxxxxxxxxxx #v4.9+ > Reported-by: Hank Chang <hankmax0000@xxxxxxxxx> > Signed-off-by: Gavin Shan <gwshan@xxxxxxxxxxxxxxxxxx> > Tested-by: Willie Liauw <williel@xxxxxxxxxxxxxxxxx> Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/d7d55536c6cd1f80295b6d7483ad05 cheers