Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125612 Details for
Bug 180306
gentoo-sources-2.6.21-r2 reports unbelievable CPU scaling frequencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
clockmodnew.patch (text/plain), 1.03 KB, created by
Daniel Drake (RETIRED)
on 2007-07-22 04:32:14 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2007-07-22 04:32:14 UTC
Size:
1.03 KB
patch
obsolete
>reverted: >--- b/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c >+++ a/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c >@@ -51,6 +51,7 @@ > > > static int has_N44_O17_errata[NR_CPUS]; >+static int has_N60_errata[NR_CPUS]; > static unsigned int stock_freq; > static struct cpufreq_driver p4clockmod_driver; > static unsigned int cpufreq_p4_get(unsigned int cpu); >@@ -223,6 +224,12 @@ > case 0x0f12: > has_N44_O17_errata[policy->cpu] = 1; > dprintk("has errata -- disabling low frequencies\n"); >+ break; >+ >+ case 0x0f29: >+ has_N60_errata[policy->cpu] = 1; >+ dprintk("has errata -- disabling frequencies lower than 2ghz\n"); >+ break; > } > > /* get max frequency */ >@@ -234,6 +241,8 @@ > for (i=1; (p4clockmod_table[i].frequency != CPUFREQ_TABLE_END); i++) { > if ((i<2) && (has_N44_O17_errata[policy->cpu])) > p4clockmod_table[i].frequency = CPUFREQ_ENTRY_INVALID; >+ else if (has_N60_errata[policy->cpu] && ((stock_freq * i)/8) < 2000000) >+ p4clockmod_table[i].frequency = CPUFREQ_ENTRY_INVALID; > else > p4clockmod_table[i].frequency = (stock_freq * i)/8; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180306
:
120670
|
120672
|
125305
|
125307
| 125612