aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-08-10 10:55:41 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-08-14 17:22:12 +1000
commit127a7dacaa4c506053af7b5db9ca9ae522835ab6 (patch)
tree419a22b021270de54747c87e7460f1b3c764df3d /include
parentfcf76c99620cb2057bdbc4475a96a5a135e851a2 (diff)
downloadskiboot-127a7dacaa4c506053af7b5db9ca9ae522835ab6.zip
skiboot-127a7dacaa4c506053af7b5db9ca9ae522835ab6.tar.gz
skiboot-127a7dacaa4c506053af7b5db9ca9ae522835ab6.tar.bz2
IPMI: Add SEL event with eSEL record ID
Our PEL logs doesn't contain timestamp as we don't have timesource. Hence create SEL event for every eSEL log with eSEL record ID. This event will be used to get PEL event time. New SEL event contains eSEL record ID. Sample output: ------------- SEL Record ID : 0016 Record Type : 02 Timestamp : 08/09/2015 12:35:16 Generator ID : 0020 EvM Revision : 04 Sensor Type : System Event Sensor Number : 61 Event Type : Generic Discrete Event Direction : Assertion Event Event Data (RAW) : 011400 Description : State Asserted Sensor ID : System Event (0x61) Entity ID : 1.0 Sensor Type (Discrete): System Event Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index f34fbbe..54c415b 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -103,6 +103,7 @@
#define IPMI_WRITE_FRU IPMI_CODE(IPMI_NETFN_STORAGE, 0x12)
#define IPMI_GET_SEL_INFO IPMI_CODE(IPMI_NETFN_STORAGE, 0x40)
#define IPMI_RESERVE_SEL IPMI_CODE(IPMI_NETFN_STORAGE, 0x42)
+#define IPMI_ADD_SEL_EVENT IPMI_CODE(IPMI_NETFN_STORAGE, 0x44)
#define IPMI_GET_SEL_TIME IPMI_CODE(IPMI_NETFN_STORAGE, 0x48)
#define IPMI_SET_SEL_TIME IPMI_CODE(IPMI_NETFN_STORAGE, 0x49)
#define IPMI_CHASSIS_CONTROL IPMI_CODE(IPMI_NETFN_CHASSIS, 0x02)