Get SEL Info 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

标准命令,查询 SEL 的基本信息,包括版本号,入口编号,以及最近的删除时间等信息。 This command returns the number of entries in the SEL, SEL command version, and the timestamp for the most recent entry and delete/clear.

权限

ReadOnly

命令信息

请求信息

无请求信息。

响应信息

字节顺序域取值说明
1Completion Code.
81h = cannot execute command, SEL erase in progress
2SEL Version - version number of the SEL command set for this SEL Device.
51h for this specification.
(BCD encoded). BCD encoded with bits 7:4 holding the Least Significant digit of the revision and bits 3:0 holding the Most Significant bits
3:4Entries LS Byte first
5:6Free Space in bytes, LS Byte first. FFFFh indicates 65535 or more bytes of free space are available.
7:10Most recent addition timestamp. LS byte first. Returns FFFF_FFFFh if no SEL entries have ever been made or if a component update or error caused the retained value to be lost.
11:14Most recent erase timestamp. Last time that one or more entries were deleted from the log. LS byte first.
15Operation Support
[7] - Overflow Flag. 1=Events have been dropped due to lack of space in the SEL.
[6:4] - reserved. Write as 000
[3] - 1b = Delete SEL command supported
[2] - 1b = Partial Add SEL Entry command supported
[1] - 1b = Reserve SEL command supported
[0] - 1b = Get SEL Allocation Information command supported

命令样例

样例1:

  • 请求:
  • 响应:

返回到索引