]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh-powernv: Fix unbalanced IRQ warning
authorAlistair Popple <alistair@popple.id.au>
Thu, 30 Jul 2015 06:53:54 +0000 (16:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Jul 2015 09:01:32 +0000 (19:01 +1000)
commit5ff0a593502b04abfa9ff3f82a86a6239283747f
tree2f99e8031577dbf9691c90f11efe4510ccb0abf1
parentf7cb5e0bca983dfe726d565d42dd18446eef1ade
powerpc/eeh-powernv: Fix unbalanced IRQ warning

pnv_eeh_next_error() re-enables the eeh opal event interrupt but it
gets called from a loop if there are more outstanding events to
process, resulting in a warning due to enabling an already enabled
interrupt. Instead the interrupt should only be re-enabled once the
last outstanding event has been processed.

Tested-by: Daniel Axtens <dja@axtens.net>
Reported-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c