projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a798c10
)
intel_idle: fix IVT idle state table setting
author
Christoph Jaeger
<christophjaeger@linux.com>
Sat, 12 Apr 2014 17:57:30 +0000
(19:57 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 21 Apr 2014 21:36:07 +0000
(23:36 +0200)
Ivy Town idle state table will not be set as intended. Fix it.
Picked up by Coverity - CID
1201420
/
1201421
.
Fixes: 0138d8f075 ("intel_idle: fine-tune IVT residency targets")
Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c
patch
|
blob
|
history
diff --git
a/drivers/idle/intel_idle.c
b/drivers/idle/intel_idle.c
index a43220c2e3d943a3437e29df1352aca30593e4cf..4d140bbbe1006c172cecd2fd5313778e8eb5db17 100644
(file)
--- a/
drivers/idle/intel_idle.c
+++ b/
drivers/idle/intel_idle.c
@@
-750,9
+750,10
@@
void intel_idle_state_table_update(void)
if (package_num + 1 > num_sockets) {
num_sockets = package_num + 1;
- if (num_sockets > 4)
+ if (num_sockets > 4)
{
cpuidle_state_table = ivt_cstates_8s;
return;
+ }
}
}