]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit99866595340fa24079f61962b2541db3225e7aad
treec8c46660889edcc691efb4c052ddc1350f714fc6
parent5a71978e4b6ee6a01bc6aab926a3571055123029
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