diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2017-11-30 10:41:33 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-14 23:58:38 -0600 |
commit | 0f9a776aa72f75b1983c9d6cd4dd8bf7bef0883a (patch) | |
tree | 00a51ca930168c5c1b9de45e18d21582ffff22e6 /hw | |
parent | 781b10633945df32fa2292ee8b196c74f8ef2c7c (diff) | |
download | skiboot-0f9a776aa72f75b1983c9d6cd4dd8bf7bef0883a.zip skiboot-0f9a776aa72f75b1983c9d6cd4dd8bf7bef0883a.tar.gz skiboot-0f9a776aa72f75b1983c9d6cd4dd8bf7bef0883a.tar.bz2 |
prd: Log unsupported message type
Useful for debugging.
Sample output:
[29155.157050283,7] PRD: Unsupported prd message type : 0xc
CC: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/prd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -415,6 +415,8 @@ static int prd_msg_handle_firmware_req(struct opal_prd_msg *msg) rc = 0; break; default: + prlog(PR_DEBUG, "PRD: Unsupported fw_request type : 0x%llx\n", + be64_to_cpu(fw_req->type)); rc = -ENOSYS; } @@ -470,6 +472,8 @@ static int64_t opal_prd_msg(struct opal_prd_msg *msg) msg->fsp_occ_reset_status.status); break; default: + prlog(PR_DEBUG, "PRD: Unsupported prd message type : 0x%x\n", + msg->hdr.type); rc = OPAL_UNSUPPORTED; } |