summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2015-08-31 11:24:13 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-09-11 12:56:51 -0500
commit676861c4d6a6f9ef2f28f13c3148c4d91b5f7f44 (patch)
tree47f20e584b3d52617153bc24721aba00de2be564 /src/usr/ipmi
parentfe966be1aa16c7816f62b2e6c97aa646dab7ac3e (diff)
downloadtalos-hostboot-676861c4d6a6f9ef2f28f13c3148c4d91b5f7f44.tar.gz
talos-hostboot-676861c4d6a6f9ef2f28f13c3148c4d91b5f7f44.zip
add 'OEM' bits to event_data in error log sel
per the table in section 29.7 of the IPMI spec. Change-Id: I82dc7c9e2e98ac0d6555253435388d47b686f25c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20247 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/ipmi')
-rw-r--r--src/usr/ipmi/ipmisel.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/ipmi/ipmisel.C b/src/usr/ipmi/ipmisel.C
index 26ef43771..6c4401694 100644
--- a/src/usr/ipmi/ipmisel.C
+++ b/src/usr/ipmi/ipmisel.C
@@ -372,6 +372,8 @@ void send_esel(eselInitData * i_data,
// copy in the SEL event record data
memcpy(data, i_data->eSel, sizeof(IPMISEL::selRecord));
// copy the eSEL recordID (if it was created) into the extra data area
+ // and mark the event_data1 to indicate this is OEM data
+ data[offsetof(selRecord,event_data1)] |= 0xA0;
data[offsetof(selRecord,event_data2)] = esel_recordID[1];
data[offsetof(selRecord,event_data3)] = esel_recordID[0];
OpenPOWER on IntegriCloud