* [PATCH] powerpc: pseries: Avoid spurious error during hotplug CPU add
@ 2011-08-15 0:30 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2011-08-15 0:30 UTC (permalink / raw)
To: benh, paulus, nfont; +Cc: linuxppc-dev
During hotplug CPU add we get the following error:
Unexpected Error (0) returned from configure-connector
ibm,configure-connector returns 0 for configuration complete, so
catch this and avoid the error.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/dlpar.c
===================================================================
--- linux-powerpc.orig/arch/powerpc/platforms/pseries/dlpar.c 2011-08-12 09:37:11.921180339 +1000
+++ linux-powerpc/arch/powerpc/platforms/pseries/dlpar.c 2011-08-15 10:09:25.940626779 +1000
@@ -112,6 +112,7 @@ void dlpar_free_cc_nodes(struct device_n
dlpar_free_one_cc_node(dn);
}
+#define COMPLETE 0
#define NEXT_SIBLING 1
#define NEXT_CHILD 2
#define NEXT_PROPERTY 3
@@ -158,6 +159,9 @@ struct device_node *dlpar_configure_conn
spin_unlock(&rtas_data_buf_lock);
switch (rc) {
+ case COMPLETE:
+ break;
+
case NEXT_SIBLING:
dn = dlpar_parse_cc_node(ccwa);
if (!dn)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-15 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 0:30 [PATCH] powerpc: pseries: Avoid spurious error during hotplug CPU add Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).