Opened 8 years ago

Closed 7 years ago

#8445 closed enhancement (fixed)

x86: Initialize IA32_MSR_ENERGY_PERF_BIAS

Reported by: yongcong Owned by: yongcong
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/alpha3
Keywords: gsoc2012 Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

The lowest 4 bits of the MSR serves as a hint to the hardware to favor performance or energy saving. 0 means a hint preference for highest performance while 15 corresponds to the maximum energy savings. A value of 7 translates into a hint to balance performance with energy savings.

The default reset value of the MSR is 0. If BIOS doesn't intialize the MSR, the hardware will run in performance state. This patch initialize the MSR with value of 7 for balance between performance and energy savings

Attachments (2)

0002-x86-Initialize-IA32_MSR_ENERGY_PERF_BIAS.patch (2.6 KB ) - added by yongcong 8 years ago.
0002-x86-Initialize-IA32_MSR_ENERGY_PERF_BIAS.2.patch (2.6 KB ) - added by yongcong 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by yongcong, 8 years ago

Has a Patch: set

comment:2 by yongcong, 8 years ago

Keywords: gsoc2012 added

comment:3 by yongcong, 8 years ago

rebase and resend the patch. Thanks

comment:4 by mmadia, 7 years ago

Owner: changed from axeld to yongcong
Status: newassigned

comment:5 by tqh, 7 years ago

Resolution: fixed
Status: assignedclosed

I must have missed this bug, this was applied in hrev44590.

Note: See TracTickets for help on using tickets.