summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ipmi
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2015-03-02 12:12:28 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-03-11 00:45:57 -0500
commitbda236e6e0c7d3aa5165160abbd5ead92ac0a68e (patch)
tree3aeb5c836873cacb78083b25a98092c5a4a86a4c /src/include/usr/ipmi
parent788ec2a6d01df562f38352443bacd68c9cb0c633 (diff)
downloadtalos-hostboot-bda236e6e0c7d3aa5165160abbd5ead92ac0a68e.tar.gz
talos-hostboot-bda236e6e0c7d3aa5165160abbd5ead92ac0a68e.zip
change error log to SEL processing
for hostboot runtime, do not send eSEL (AMI bug) for hostboot ipl, send down SEL following eSEL Change-Id: I86ee9766e27548c3f7f72fbdbfd76c8a8be7da73 RTC: 124971 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16107 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi')
-rw-r--r--src/include/usr/ipmi/ipmisel.H20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/include/usr/ipmi/ipmisel.H b/src/include/usr/ipmi/ipmisel.H
index de2dd3218..af808515d 100644
--- a/src/include/usr/ipmi/ipmisel.H
+++ b/src/include/usr/ipmi/ipmisel.H
@@ -65,11 +65,13 @@ namespace IPMISEL
* @param[in] size of eSEL data
* @param[in] eid of errorlog for this eSEL (for ack)
* @param[in] event_dir_type for this eSEL
+ * @param[in] event_offset for this eSEL
* @param[in] sensorType that caused the error/eSEL
* @param[in] sensorNumber that caused the error/eSEL
*/
void sendESEL(uint8_t* i_eselData, uint32_t i_dataSize,
- uint32_t i_eid, uint8_t i_eventDirType,
+ uint32_t i_eid,
+ uint8_t i_eventDirType, uint8_t i_eventOffset,
uint8_t i_sensorType, uint8_t i_sensorNumber);
// per IPMI Spec, section 32.1 SEL Event Records
@@ -85,6 +87,7 @@ namespace IPMISEL
format_ipmi_version_2_0 = 0x04,
};
+ // event_type, per section 42.1 of the IPMI spec
enum sel_event_dir_type
{
event_unspecified = 0x00,
@@ -93,11 +96,24 @@ namespace IPMISEL
event_predictive = 0x04,
event_limit = 0x05,
event_permformance = 0x06,
+ event_transition = 0x07,
+ event_OEM = 0x70,
};
enum sel_event_data
{
- event_data1_ami = 0xAA,
+ event_data1_ami = 0xAA,
+ event_data1_deasserted = 0x00,
+ event_data1_asserted = 0x01,
+ event_data1_trans_to_ok = 0x00,
+ event_data1_trans_to_noncrit_from_ok = 0x01,
+ event_data1_trans_to_crit_from_less = 0x02,
+ event_data1_trans_to_non_recv_from_less = 0x03,
+ event_data1_trans_to_non_crit_from_more = 0x04,
+ event_data1_trans_to_crit_from_non_r = 0x05,
+ event_data1_trans_to_non_recoverable = 0x06,
+ event_data1_trans_monitor = 0x07,
+ event_data1_trans_informational = 0x08,
};
enum sel_generator_id
OpenPOWER on IntegriCloud