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: sta...@vger.kernel.org #v4.9+
> Reported-by: Hank Chang <hankmax0...@gmail.com>
> Signed-off-by: Gavin Shan <gws...@linux.vnet.ibm.com>
> Tested-by: Willie Liauw <will...@supermicro.com.tw>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d7d55536c6cd1f80295b6d7483ad05

cheers

Reply via email to