]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Allow to purge EEH events
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 05:21:02 +0000 (13:21 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:06:07 +0000 (17:06 +1000)
commitc3e81761475a37eabb1aac010bf1450ebf502ecd
treec8c46660889edcc691efb4c052ddc1350f714fc6
parentacb03ceb7a41b9b3f420920de06ebcbbd3ae7b24
powerpc/eeh: Allow to purge EEH events

On PowerNV platform, we might run into the situation where subsequent
events are duplicated events of former one, which is being processed.
For the case, we need the function implemented by the patch to purge
EEH events accordingly.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh_event.h
arch/powerpc/kernel/eeh_event.c