Skip to contentSkip to conversation

thermal/intel_powerclamp: Add newer CPU models

PATCH Applied Jacob Pan 2 participants 2 messages Sep 26, 2013 – Oct 9, 2013 Thermal

lore
Share & tools
lore

Jacob Pan

author
#0 lore raw

PATCH 1/1 thermal/intel_powerclamp: Add newer CPU models

This will enable intel_powerclamp driver on newer Intel CPUs including some Ivy Bridge and Haswell processors.

---
 drivers/thermal/intel_powerclamp.c |    5 +++++
 1 file changed, 5 insertions(+)
drivers/thermal/intel_powerclamp.c +5 -0
index b40b37c..6e3b061 100644
@@ -675,6 +675,11 @@ static const struct x86_cpu_id intel_powerclamp_ids[] = {
 	{ X86_VENDOR_INTEL, 6, 0x2e},
 	{ X86_VENDOR_INTEL, 6, 0x2f},
 	{ X86_VENDOR_INTEL, 6, 0x3a},
+	{ X86_VENDOR_INTEL, 6, 0x3c},
+	{ X86_VENDOR_INTEL, 6, 0x3e},
+	{ X86_VENDOR_INTEL, 6, 0x3f},
+	{ X86_VENDOR_INTEL, 6, 0x45},
+	{ X86_VENDOR_INTEL, 6, 0x46},
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_powerclamp_ids);
Signature · 1 line
1.7.9.5
reviewer Applied
#1 lore raw
Quoted 4 lines · Jacob Pan

This will enable intel_powerclamp driver on newer Intel CPUs including some Ivy Bridge and Haswell processors.

applied to thermal -next.

thanks,
rui

Quoted 20 lines
---
 drivers/thermal/intel_powerclamp.c |    5 +++++
 1 file changed, 5 insertions(+)
drivers/thermal/intel_powerclamp.c +5 -0
index b40b37c..6e3b061 100644
@@ -675,6 +675,11 @@ static const struct x86_cpu_id intel_powerclamp_ids[] = {
 	{ X86_VENDOR_INTEL, 6, 0x2e},
 	{ X86_VENDOR_INTEL, 6, 0x2f},
 	{ X86_VENDOR_INTEL, 6, 0x3a},
+	{ X86_VENDOR_INTEL, 6, 0x3c},
+	{ X86_VENDOR_INTEL, 6, 0x3e},
+	{ X86_VENDOR_INTEL, 6, 0x3f},
+	{ X86_VENDOR_INTEL, 6, 0x45},
+	{ X86_VENDOR_INTEL, 6, 0x46},
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_powerclamp_ids);