summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/eeh_dev.c
diff options
context:
space:
mode:
authorGavin Shan2012-09-08 00:44:04 +0200
committerBenjamin Herrenschmidt2012-09-10 01:35:29 +0200
commit3ea1ae989a9ddcfe15b80dc8cea5c4d38a13b9ab (patch)
treed6f3e4667c9e81ce2112923712868c813c0d7619 /arch/powerpc/platforms/pseries/eeh_dev.c
parentpowerpc/eeh: Use slab to allocate eeh devices (diff)
downloadkernel-qcow2-linux-3ea1ae989a9ddcfe15b80dc8cea5c4d38a13b9ab.tar.gz
kernel-qcow2-linux-3ea1ae989a9ddcfe15b80dc8cea5c4d38a13b9ab.tar.xz
kernel-qcow2-linux-3ea1ae989a9ddcfe15b80dc8cea5c4d38a13b9ab.zip
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh_dev.c')
-rw-r--r--arch/powerpc/platforms/pseries/eeh_dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_dev.c b/arch/powerpc/platforms/pseries/eeh_dev.c
index 8e3443b260e4..a0cee3a29c97 100644
--- a/arch/powerpc/platforms/pseries/eeh_dev.c
+++ b/arch/powerpc/platforms/pseries/eeh_dev.c
@@ -100,6 +100,8 @@ static int __init eeh_dev_phb_init(void)
list_for_each_entry_safe(phb, tmp, &hose_list, list_node)
eeh_dev_phb_init_dynamic(phb);
+ pr_info("EEH: devices created\n");
+
return 0;
}