Skip to content

Commit 676861c

Browse files
Brian HortonA. Patrick Williams III
authored andcommitted
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>
1 parent fe966be commit 676861c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/usr/ipmi/ipmisel.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ void send_esel(eselInitData * i_data,
372372
// copy in the SEL event record data
373373
memcpy(data, i_data->eSel, sizeof(IPMISEL::selRecord));
374374
// copy the eSEL recordID (if it was created) into the extra data area
375+
// and mark the event_data1 to indicate this is OEM data
376+
data[offsetof(selRecord,event_data1)] |= 0xA0;
375377
data[offsetof(selRecord,event_data2)] = esel_recordID[1];
376378
data[offsetof(selRecord,event_data3)] = esel_recordID[0];
377379

0 commit comments

Comments
 (0)