Commit e8217b4
committed
cpufreq: intel_pstate: Update the maximum CPU frequency consistently
There are 3 places at which the maximum CPU frequency may change,
store_no_turbo(), intel_pstate_update_limits() (when called by the
cpufreq core) and intel_pstate_notify_work() (when handling a HWP
change notification). Currently, cpuinfo.max_freq is only updated by
store_no_turbo() and intel_pstate_notify_work(), although it principle
it may be necessary to update it in intel_pstate_update_limits() either.
Make all of them mutually consistent.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>1 parent f32587d commit e8217b4
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
| 1156 | + | |
| 1157 | + | |
1156 | 1158 | | |
1157 | 1159 | | |
| 1160 | + | |
1158 | 1161 | | |
1159 | 1162 | | |
1160 | 1163 | | |
1161 | 1164 | | |
1162 | 1165 | | |
1163 | | - | |
| 1166 | + | |
1164 | 1167 | | |
1165 | | - | |
| 1168 | + | |
| 1169 | + | |
1166 | 1170 | | |
1167 | | - | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1168 | 1182 | | |
1169 | 1183 | | |
1170 | 1184 | | |
| |||
1311 | 1325 | | |
1312 | 1326 | | |
1313 | 1327 | | |
1314 | | - | |
| 1328 | + | |
1315 | 1329 | | |
1316 | 1330 | | |
1317 | 1331 | | |
| |||
1595 | 1609 | | |
1596 | 1610 | | |
1597 | 1611 | | |
1598 | | - | |
1599 | 1612 | | |
1600 | 1613 | | |
1601 | 1614 | | |
| |||
0 commit comments