diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2016-03-04 10:21:53 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-08 19:17:47 +1100 |
commit | bef1de4659c8a1463a0a7f3868d9c80c3ebbc29c (patch) | |
tree | 5ba56dfb1387d79d1f121b5c4982b3df2dc414ec /external/opal-prd/opal-prd.c | |
parent | 4eb9807b63330ff85b0b02213a2a44f84b31095e (diff) | |
download | talos-skiboot-bef1de4659c8a1463a0a7f3868d9c80c3ebbc29c.tar.gz talos-skiboot-bef1de4659c8a1463a0a7f3868d9c80c3ebbc29c.zip |
opal-prd: Add debug output for firmware-driven OCC events
We indicate when we have a user-driven event, so add corresponding
outputs for firmware-driven ones too.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/opal-prd/opal-prd.c')
-rw-r--r-- | external/opal-prd/opal-prd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c index f80e74c4..7c11c9ac 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; |