* Intel_powerclamp on Xeon E3v3 Haswell?
@ 2013-08-17 15:58 Ilari Stenroth
0 siblings, 0 replies; only message in thread
From: Ilari Stenroth @ 2013-08-17 15:58 UTC (permalink / raw)
To: linux-pm; +Cc: Arjan Van De Ven, Jacob Pan
Hi,
Does somebody know why intel_powerclamp driver doesn't work on
a Xeon E3v3 CPU? Tried it on E3-1265L v3 but the driver gave out errors:
[ 632.399837] intel_powerclamp: Start idle injection to reduce power
[ 632.400068] intel_powerclamp: pkg cstate counter not functional, abort
cat /sys/kernel/debug/intel_powerclamp/powerclamp_calib
controlling cpu: 0
pct confidence steady dynamic (compensation)
0 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0
10 0 0 0
11 0 0 0
12 0 0 0
13 0 0 0
14 0 0 0
15 0 0 0
16 0 0 0
17 0 0 0
18 0 0 0
19 0 0 0
20 0 0 0
21 0 0 0
22 0 0 0
23 0 0 0
24 0 0 0
25 0 0 0
26 0 0 0
27 0 0 0
28 0 0 0
29 0 0 0
30 0 0 0
31 0 0 0
32 0 0 0
33 0 0 0
34 0 0 0
35 0 0 0
36 0 0 0
37 0 0 0
38 0 0 0
39 0 0 0
40 0 0 0
41 0 0 0
42 0 0 0
43 0 0 0
44 0 0 0
45 0 0 0
46 0 0 0
47 0 0 0
48 0 0 0
49 0 0 0
I've applied a simple patch to make intel_powerclamp detect a CPU
family 0x06 model 0x3c:
diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c
index b40b37c..bac481f 100644
--- a/drivers/thermal/intel_powerclamp.c
+++ b/drivers/thermal/intel_powerclamp.c
@@ -675,6 +675,7 @@ 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},
{}
};
MODULE_DEVICE_TABLE(x86cpu, intel_powerclamp_ids);
--
Ilari Stenroth
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-17 16:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 15:58 Intel_powerclamp on Xeon E3v3 Haswell? Ilari Stenroth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).