powernow-k8 module gets stuck switching powerlevels on dualcore AMD64
http://bugzilla.kernel.org/show_bug.cgi?id=8264
------- Additional Comments From [email protected] 2007-03-27 12:54 -------
Quoted 11 lines
------- Additional Comments From [email protected] 2007-03-27 12:40 -------
Quoted 3 lines
Quoted 3 lines
Your issue with
u32 i = 0;is what, exactly?
I was just glancing at the line
i = lo &HW_PSTATE_MASK;
just before the loop trying to figure out what is the starting value of i(fortunately the mask is just0x07making for a small number)
Look at the code again:
if (cpu_family == CPU_HW_PSTATE) {
...
i = lo & HW_PSTATE_MASK;
...
return 0;
}
if i is set to the hardware_pstate index, itisn't used as a counter.
Quoted 4 lines
I noticed this function too trying to do a delay I think:
count_off_irt(data);Can we put it inside the do loop after setting the MSR ?
See p. 275 of the public BKDG. IRT is counted off after the pending bit clears.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.