]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/intel: Allow processing of HWP interrupt
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 20 Aug 2021 02:40:05 +0000 (19:40 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 9 Sep 2021 14:33:20 +0000 (16:33 +0200)
commit715b23887e97fb4c3013e13ffa361155487afdcc
tree61706d4b98778f40bbb345ffa7b7ca01b0d83857
parent539adf8014f3df8ed066f2b4503a0292f1c3c839
thermal/drivers/intel: Allow processing of HWP interrupt

Add a weak function to process HWP (Hardware P-states) notifications and
move updating HWP_STATUS MSR to this function.

This allows HWP interrupts to be processed by the intel_pstate driver in
HWP mode by overriding the implementation.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210820024006.2347720-1-srinivas.pandruvada@linux.intel.com
drivers/thermal/intel/therm_throt.c
drivers/thermal/intel/thermal_interrupt.h