summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-18 14:58:28 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-24 16:47:16 +1100
commit9fcb109218b1374a8caa3cac62e83fbedb1f7f2f (patch)
treeb8197d92adc3ae7e13526df37ad0f3c0e8d93d14 /include
parent833b1e6bb2aef485226f8bc48ec1b45c422b2152 (diff)
downloadblackbird-skiboot-9fcb109218b1374a8caa3cac62e83fbedb1f7f2f.tar.gz
blackbird-skiboot-9fcb109218b1374a8caa3cac62e83fbedb1f7f2f.zip
fsp: Don't recurse pollers in ibm_fsp_terminate
If we were to terminate in a poller, we'd call op_display() which called pollers which hit the recursive poller warning, which ended in not much fun at all. This patch will skip the running of pollers and instead run the FSP poller to set the op-panel display before attn. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h
index 7ea162db..6142ca39 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -697,6 +697,13 @@ extern void fsp_cancelmsg(struct fsp_msg *msg);
extern int fsp_queue_msg(struct fsp_msg *msg,
void (*comp)(struct fsp_msg *msg)) __warn_unused_result;
+/* Send a fatal message to FSP
+ *
+ * This will *not* run pollers.
+ * Use only when attempting to get the word out about how we died.
+ */
+extern int fsp_fatal_msg(struct fsp_msg *msg);
+
/* Synchronously send a command. If there's a response, the status is
* returned as a positive number. A negative result means an error
* sending the message.
OpenPOWER on IntegriCloud