diff options
author | Borislav Petkov <bp@suse.de> | 2021-01-07 15:29:05 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-02-08 13:43:20 +0300 |
commit | 9223d0dccb8f8523754122f68316dd1a4f39f7f8 (patch) | |
tree | 4f27773dde344b360c3b9e18f442714527e8d825 /drivers/thermal/intel/Kconfig | |
parent | 4f432e8bb15b352da72525144da025a46695968f (diff) | |
download | linux-9223d0dccb8f8523754122f68316dd1a4f39f7f8.tar.xz |
thermal: Move therm_throt there from x86/mce
This functionality has nothing to do with MCE, move it to the thermal
framework and untangle it from MCE.
Requested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lkml.kernel.org/r/20210202121003.GD18075@zn.tnic
Diffstat (limited to 'drivers/thermal/intel/Kconfig')
-rw-r--r-- | drivers/thermal/intel/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig index 8025b21f43fa..ce4f59213c7a 100644 --- a/drivers/thermal/intel/Kconfig +++ b/drivers/thermal/intel/Kconfig @@ -8,6 +8,10 @@ config INTEL_POWERCLAMP enforce idle time which results in more package C-state residency. The user interface is exposed via generic thermal framework. +config X86_THERMAL_VECTOR + def_bool y + depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC + config X86_PKG_TEMP_THERMAL tristate "X86 package temperature thermal driver" depends on X86_THERMAL_VECTOR |