summaryrefslogtreecommitdiffstats
path: root/include/errorlog.h
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2015-07-10 11:16:49 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-10 15:54:42 +1000
commita561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6 (patch)
tree638024c81c5e3fd450859245ae3f5a500358fa81 /include/errorlog.h
parentc2c566a8390ea8154bfba68624dd1afa5a8079db (diff)
downloadblackbird-skiboot-a561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6.tar.gz
blackbird-skiboot-a561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6.zip
fsp/ipmi: Add the in-band IPMI support for FSP systems
FSP implements the IPMI commands support that can be accessed over the mailbox interface from the host. The host needs to provide and receive the message/data bytes of the IPMI command in the TCE space in the KCS (Keyboard Controller Style) format. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Acked-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/errorlog.h')
-rw-r--r--include/errorlog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/errorlog.h b/include/errorlog.h
index 51af88c4..af9b4412 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -192,6 +192,7 @@ struct opal_err_info {
#define OPAL_SLW 0x534C /* SL */
#define OPAL_FSP 0x4650 /* FP */
#define OPAL_I2C 0x4943 /* IC */
+#define OPAL_IPMI 0x4950 /* IP */
/* SAPPHIRE SRC componenet ID*/
#define OPAL_CU 0x1000
@@ -223,6 +224,7 @@ struct opal_err_info {
#define OPAL_SL 0x2100
#define OPAL_FP 0x2200
#define OPAL_IC 0x2300
+#define OPAL_IP 0x2400
enum opal_reasoncode {
/* code update */
@@ -317,6 +319,10 @@ enum opal_reasoncode {
OPAL_RC_I2C_TIMEOUT = OPAL_IC | 0x12,
OPAL_RC_I2C_TRANSFER = OPAL_IC | 0x13,
OPAL_RC_I2C_RESET = OPAL_IC | 0x14,
+
+/* IPMI */
+ OPAL_RC_IPMI_REQ = OPAL_IP | 0x10,
+ OPAL_RC_IPMI_RESP = OPAL_IP | 0x11,
};
#define DEFINE_LOG_ENTRY(reason, type, id, subsys, \
OpenPOWER on IntegriCloud