powerpc/eeh: More logs for EEH initialization
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 7 Sep 2012 22:44:04 +0000 (22:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Sep 2012 23:35:29 +0000 (09:35 +1000)
commit3ea1ae989a9ddcfe15b80dc8cea5c4d38a13b9ab
treed6f3e4667c9e81ce2112923712868c813c0d7619
parent7e4bbaf0bf13c33be275e8a17997597dfd0ed03a
powerpc/eeh: More logs for EEH initialization

The patch adds more logs to EEH initialization functions for
debugging purpose. Also, the machine type (pSeries) is checked
in the platform initialization to assure it's the correct platform
to invoke it.

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