Bugzilla – Attachment 175114 Details for
Bug 299891
Crash in early stage install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Do not use ondemand per default on opterons
cpufreq_blacklist_opterons_ondemand.patch (text/plain), 1.43 KB, created by
Thomas Renninger
on 2007-09-27 11:11:47 UTC
(
hide
)
Description:
Do not use ondemand per default on opterons
Filename:
MIME Type:
Creator:
Thomas Renninger
Created:
2007-09-27 11:11:47 UTC
Size:
1.43 KB
patch
obsolete
>--- > drivers/cpufreq/cpufreq.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >Index: linux-2.6.22/drivers/cpufreq/cpufreq.c >=================================================================== >--- linux-2.6.22.orig/drivers/cpufreq/cpufreq.c >+++ linux-2.6.22/drivers/cpufreq/cpufreq.c >@@ -515,6 +515,8 @@ static ssize_t show_scaling_governor (st > /** > * store_scaling_governor - store policy for the specified CPU > */ >+static int cpufreq_gov_initialized; >+ > static ssize_t store_scaling_governor (struct cpufreq_policy * policy, > const char *buf, size_t count) > { >@@ -522,6 +524,9 @@ static ssize_t store_scaling_governor (s > char str_governor[16]; > struct cpufreq_policy new_policy; > >+ /* opteron, do not load ondemand per default workaround variable */ >+ cpufreq_gov_initialized = 1; >+ > ret = cpufreq_get_policy(&new_policy, policy->cpu); > if (ret) > return ret; >@@ -1466,6 +1471,15 @@ static int __cpufreq_governor(struct cpu > struct cpufreq_governor *gov = NULL; > #endif > >+#ifdef CONFIG_X86 >+ struct cpuinfo_x86 *c = &cpu_data[policy->cpu]; >+ if (!cpufreq_gov_initialized && strstr(c->x86_model_id, "Opteron")){ >+ if (policy->cpu == 0) >+ printk(KERN_INFO "Opteron detected - Initialising cpufreq" >+ " with performance governor\n"); >+ policy->governor = gov; >+ } else >+#endif > if (policy->governor->max_transition_latency && > policy->cpuinfo.transition_latency > > policy->governor->max_transition_latency) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 299891
:
157786
|
157787
|
158046
|
164149
|
164150
|
173419
|
173480
|
173544
|
173793
|
174384
| 175114 |
175489