summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2022-09-20 14:08:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-09-21 21:31:05 +0300
commitc4e927da893b2d9ebe71ac206ed021df363771e4 (patch)
treeaf4f9a76663dc1a584a02bcab7df0e2c88cd6bd9 /scripts/gdb/linux
parent68b99e94a4a2db6ba9b31fe0485e057b9354a640 (diff)
downloadlinux-c4e927da893b2d9ebe71ac206ed021df363771e4.tar.xz
thermal: intel_powerclamp: Remove accounting for IRQ wakes
There is a static variable "idle_wakeup_counter", which accounts for number of wake ups because of IRQs and take actions to compensate idle injection. This is now read and reset to 0, but never incremented. So all the usage of this counter for idle injection has no use. Also another static variable "reduce_irq", which depends on "idle_wakeup_counter", so remove usage of "reduce_irq" also. Commit feb6cd6a0f9f ("thermal/intel_powerclamp: stop sched tick in forced idle") replaced the local use of "mwait_idle_with_hints" with play_idle(). This removed possibility of updating "idle_wakeup_counter" without change in play_idle(). This change was made in Linux 4.10. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions