Config CPU Turbo
更新时间: 2026/08/26
在Gitcode上查看源码74h-配置CPU Turbo特性(Config-CPU-Turbo)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 26.09 | 2026/08/26 | 初稿,新增命令详情 |
基本信息
功能说明
配置CPU Turbo特性
权限
BasicSetting
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=74h |
| 5 | Operate Type。0x00: 设置CPU Turbo使能状态;0x01: 获取PMU Event ID;0x02: 设置PMU Event Value;0x03: 获取负载类型及微架构参数 |
| 6 | Length。当Operate Type = 0时:data[6]=Data Length;当Operate Type = 1时,该值无效,为0x00;当Operate Type = 2时:data[6]=Data Length;当Operate Type = 3时,该值无效,为0x00 |
| 7:N | Data。当Operate Type= 0时,data[7]: 0x00: Enable CPU Turbo 0x01:Disable CPU Turbo;当Operate Type= 1时,该值无效,为0x00;当Operate Type= 2时: data[7]: PMU Event ID(组寄存器数目);data[8-11]: PMU Event Value (big-endian);当Operate Type= 3时,该值无效,为0x00 |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code。00h = Command Completed Normally;C9h = The Property is Outside The Supported Range;CEh = Command Response Could not Be Provided;D5h = Invalid Status |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5 | Length。当Operate Type=1 或 3时,表示实际的返回长度;当Operate Type=0 或 2时,该值为0x00。 |
| 6:N | Response Data。当Operate Type= 0 时,data[6]: 0x00;当Operate Type= 1 时,data[6:N]: PMU Event ID (1 Byte);当Operate Type= 2 时,data[6]: 0x00;当Operate Type= 3 时,表示负载类型及微架构参数;data[6]: UpdateFlag (0x00=不更新,0x01=更新),data[7]: NumGroups(组寄存器数目),data[8-9]: start_core (big-endian),data[10-11]: end_core (big-endian),data[12]: microarchreg_id,data[13-20]: microarchreg_id_value (8 Bytes, big-endian) (每组 9 字节(1字节id + 8字节value)) |
命令样例
请求:
ipmitool raw 0x30 0x92 0xdb 0x07 0x00 0x74 0x01 0x00响应:
db 07 00 03 90 98 7f