aboutsummaryrefslogtreecommitdiff
path: root/include/prd-fw-msg.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-11-29 18:41:18 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-14 23:56:06 -0600
commit5d847a1b9d495a4b09f675677ffc75a02a8f210a (patch)
tree40d497a348e34dd132b936af058a2514d38ecfc5 /include/prd-fw-msg.h
parent9088e400d3196d691980e36b908548cefcbcd3e0 (diff)
downloadskiboot-5d847a1b9d495a4b09f675677ffc75a02a8f210a.zip
skiboot-5d847a1b9d495a4b09f675677ffc75a02a8f210a.tar.gz
skiboot-5d847a1b9d495a4b09f675677ffc75a02a8f210a.tar.bz2
prd: Enable error logging via firmware_request interface
In P9 HBRT sends error logs to FSP via firmware_request interface. This patch adds support to parse error log and send it to FSP. CC: Jeremy Kerr <jk@ozlabs.org> CC: Daniel M Crowell <dcrowell@us.ibm.com> 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 'include/prd-fw-msg.h')
-rw-r--r--include/prd-fw-msg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/prd-fw-msg.h b/include/prd-fw-msg.h
index d68482c..333e594 100644
--- a/include/prd-fw-msg.h
+++ b/include/prd-fw-msg.h
@@ -39,6 +39,11 @@ struct prd_fw_msg {
struct {
__be64 status;
} generic_resp;
+ struct {
+ __be32 plid;
+ __be32 size;
+ char data[];
+ } __packed errorlog;
};
};