Get CPU Lifetime ECCFault Count
更新时间: 2026/08/06
在Gitcode上查看源码Get CPU Lifetime ECCFault Count
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtaining the Number of ECC Errors in the CPU Life Cycle
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=71h |
| 5:6 | ECCErrorIndex, LS Byte first, index of the ECC error address, starting from 0 |
| 7:8 | ECCErrorMaxCount, maximum number of ECC error addresses queried by LS Byte first. The value starts from 0. |
| 9:12 | Reserved, reserved field |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5:6 | TotalECCErrCount, LS Byte first, total number of ECC error addresses |
| 7:8 | CurrentECCErrCount, LSB Byte first, number of ECC error addresses returned this time |
| 9:10 | ECCErrorIndex, LSB Byte first, address index of the first ECC error |
| 11 | Indicates the CPU ID, which starts from 0. |
| 12 | DieId: indicates the die ID in the CPU. 0:VDIEA, 1:VDIEB, 4:VDIEC: 5-VDIED. |
| 13 | Module ID in the CPU. 8: L3T; 9: L3D |
| 14 | Cluster ID, local cluster ID in the CPU die |
| 15 | SubModuleId: When the value of ModuleId is 8, the value can be 0 (L3T0) or 1 (L3T1). When the value of ModuleId is 8, the value 2 indicates L3 EXT. When the value of ModuleId is 9, the value can be 0 (L3D0) or 1 (L3D1). |
| 16 | ErrType: indicates the fault type. The value can be 1 (way) or 2 (buff). |
| 17 | ErrId_Low: indicates the low byte of the ID of the module where an error occurs. When ErrType is 1, it indicates WayId. Indicates BuffId when ErrType is set to 2. |
| 18 | ErrId_High: indicates the high byte of the ID of the module where an error occurs. When ErrType is set to 1, this field is ignored and the invalid value 0xFF is filled. Indicates the PQ ID when ErrType is 2. |
| 19:20 | CECount, LSB Byte first, CE count value. Note: The value is not accumulated after overflow. |
| 21:22 | UCECount, LSB Byte first, UCE count value. Note: The value is not accumulated after overflow. |
| 23 | MiscInfo: Bit 0: whether the BMC delivers soft isolation. 1: yes; 0: no Other bits: reserved |
| 24 | Resved: reserved |
| ...... | - |
| N:16+N | CPU ECC error information of group N. For details, see the definition of bit[9:24] in this table. |
Command Example
Example
Request:
bash
ipmicmd -k "0f 00 30 92 db 07 00 71 \{ECCErrorIndex\} \{ECCErrorMaxCount\} \{Reserved\}" smi 0Response:
text