powerpc/eeh: Register OPAL notifier for PCI error
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 10:13:24 +0000 (18:13 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jun 2013 06:01:51 +0000 (16:01 +1000)
commit7cb9d93dc6d4f717218b6fa791be9bcf4e417379
tree239427b8fb85d805d73ad5b2b3f5a17b9f74f611
parente8e71fa426d72914c500e98afa2076628076f511
powerpc/eeh: Register OPAL notifier for PCI error

The patch registers OPAL event notifier and process the PCI errors
from firmware. If we have pending PCI errors, special EEH event
(without binding PE) will be sent to EEH core for processing.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/eeh-ioda.c