Bugzilla – Attachment 64821 Details for
Bug 119836
CPU politics not applied
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Make cpufreq-core aware of cpufreq changes done behind the back of kernel by BIOS
cpufreq_bios_ppc_change (text/plain), 1.07 KB, created by
Thomas Renninger
on 2006-01-24 16:58:35 UTC
(
hide
)
Description:
Make cpufreq-core aware of cpufreq changes done behind the back of kernel by BIOS
Filename:
MIME Type:
Creator:
Thomas Renninger
Created:
2006-01-24 16:58:35 UTC
Size:
1.07 KB
patch
obsolete
>Author: Thomas Renninger <trenn@suse.de> > >BIOS might change frequency behind our back >when BIOS changes allowed frequencies via _PPC. >in this case cpufreq core got out of sync. >-> ask driver for current freq and notify > governors about a change > >cpufreq.c | 10 ++++++++++ >1 files changed, 10 insertions(+) > >Index: linux-2.6.15/drivers/cpufreq/cpufreq.c >=================================================================== >--- linux-2.6.15.orig/drivers/cpufreq/cpufreq.c 2006-01-03 04:21:10.000000000 +0100 >+++ linux-2.6.15/drivers/cpufreq/cpufreq.c 2006-01-20 11:11:55.000000000 +0100 >@@ -1402,6 +1402,16 @@ > policy.policy = data->user_policy.policy; > policy.governor = data->user_policy.governor; > >+ /* BIOS might change freq behind our back >+ -> ask driver for current freq and notify >+ governors about a change >+ */ >+ if (cpufreq_driver->get){ >+ policy.cur = cpufreq_driver->get(cpu); >+ if (data->cur != policy.cur) >+ cpufreq_out_of_sync(cpu, data->cur, policy.cur); >+ } >+ > ret = __cpufreq_set_policy(data, &policy); > > up(&data->lock);
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 119836
:
51313
|
51314
| 64821 |
64823
|
76338
|
76340