[Skiboot] [PATCH] opal-prd: Add debug output for firmware-driven OCC events
Jeremy Kerr
jk at ozlabs.org
Fri Mar 4 13:21:53 AEDT 2016
We indicate when we have a user-driven event, so add corresponding
outputs for firmware-driven ones too.
Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
---
external/opal-prd/opal-prd.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c
index f80e74c..7c11c9a 100644
--- a/external/opal-prd/opal-prd.c
+++ b/external/opal-prd/opal-prd.c
@@ -1150,6 +1150,8 @@ static int handle_msg_occ_error(struct opal_prd_ctx *ctx,
proc = be64toh(msg->occ_error.chip);
+ pr_debug("FW: firmware signalled OCC error for proc 0x%x", proc);
+
if (!hservice_runtime->process_occ_error) {
pr_log_nocall("process_occ_error");
return -1;
@@ -1166,6 +1168,8 @@ static int handle_msg_occ_reset(struct opal_prd_ctx *ctx,
proc = be64toh(msg->occ_reset.chip);
+ pr_debug("FW: firmware requested OCC reset for proc 0x%x", proc);
+
if (!hservice_runtime->process_occ_reset) {
pr_log_nocall("process_occ_reset");
return -1;
--
2.5.0
More information about the Skiboot
mailing list