Commit debadf24 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Work around buggy powernow-k7 BIOSes with low settling times.

parent cf019b12
...@@ -299,6 +299,11 @@ static int powernow_decode_bios (int maxfid, int startvid) ...@@ -299,6 +299,11 @@ static int powernow_decode_bios (int maxfid, int startvid)
dprintk (" voltage regulator)\n"); dprintk (" voltage regulator)\n");
latency = psb->settlingtime; latency = psb->settlingtime;
if (latency < 10000) {
printk (KERN_INFO PFX "BIOS set settling time to %d microseconds."
"Should be at least 10000. Correcting.\n", latency);
latency = 10000;
}
dprintk (KERN_INFO PFX "Settling Time: %d microseconds.\n", psb->settlingtime); dprintk (KERN_INFO PFX "Settling Time: %d microseconds.\n", psb->settlingtime);
dprintk (KERN_INFO PFX "Has %d PST tables. (Only dumping ones relevant to this CPU).\n", psb->numpst); dprintk (KERN_INFO PFX "Has %d PST tables. (Only dumping ones relevant to this CPU).\n", psb->numpst);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment