<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [BYT] System fail to enter package c6 using 2014Q1 release kernel ver 3.13.6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76542#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [BYT] System fail to enter package c6 using 2014Q1 release kernel ver 3.13.6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76542">bug 76542</a>
from <span class="vcard"><a class="email" href="mailto:wendy.wang@intel.com" title="wendy.wang@intel.com">wendy.wang@intel.com</a>
</span></b>
<pre>After Ping with Jacob, his comment as following:"BYT uses different MSRs for
PC6. Therefore,turbostat tool needs to be updated to correctly capture the
residency count. BYT uses PC7 counter for PC6 :(, but since the program is so
late, it will unlikely to be fixed in punit fw."
And test through reading the raw counter,we got:
[root@x-byt01 performance_pnp]# ./turbostat -c 0x3fa -i 2 -v
turbostat v3.7 Feb 6, 2014 - Len Brown <<a href="mailto:lenb@kernel.org">lenb@kernel.org</a>>
CPUID(0): GenuineIntel 11 CPUID levels; family:model:stepping 0x6:37:3 (6:55:3)
CPUID(6): APERF, DTS, EPB
SLM BCLK: 133.3 Mhz
RAPL: 4581 sec. Joule Counter Range, at 30 Watts
cpu0: MSR_NHM_PLATFORM_INFO: 0x40008001000
4 * 133 = 533 MHz max efficiency
16 * 133 = 2133 MHz TSC frequency
cpu0: MSR_IA32_POWER_CTL: 0x00000000 (C1E auto-promotion: DISabled)
cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x0010000f (UNlocked: pkg-cstate-limit=7:
pc7)
cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x00000000
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
cpu0: MSR_RAPL_POWER_UNIT: 0x00000505 (0.031250 Watts, 0.000032 Joules,
0.000977 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x003880fa (UNlocked)
cpu0: PKG Limit #1: ENabled (7.812500 Watts, 262144.000000 sec, clamp DISabled)
cpu0: PKG Limit #2: DISabled (0.000000 Watts, 0.000977* sec, clamp DISabled)
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00690000 (105 C)
cpu0: MSR_IA32_THERM_STATUS: 0x884b0000 (30 C +/- 1)
cpu1: MSR_IA32_THERM_STATUS: 0x884a0000 (31 C +/- 1)
Core CPU Avg_MHz %Busy Bzy_MHz TSC_MHz SMI count 0x3FA CPU%c1
CPU%c6 CoreTmp PkgWatt CorWatt
- - 76 3.60 2102 2133 0 3685522176 0.53
95.87 30 0.43 0.27
0 0 55 2.66 2060 2133 0 3685522176 0.86
96.49 30 0.43 0.27
1 1 96 4.53 2127 2133 0 3685522176 0.21
95.25 30
Core CPU Avg_MHz %Busy Bzy_MHz TSC_MHz SMI count 0x3FA CPU%c1
CPU%c6 CoreTmp PkgWatt CorWatt
- - 152 7.20 2111 2133 0 2996674304 0.83
91.98 32 0.67 0.51
0 0 65 3.17 2045 2133 0 2996674304 1.23
95.60 30 0.67 0.51
1 1 239 11.22 2130 2133 0 2996674304 0.43
88.35 32
Core CPU Avg_MHz %Busy Bzy_MHz TSC_MHz SMI count 0x3FA CPU%c1
CPU%c6 CoreTmp PkgWatt CorWatt
- - 154 7.28 2119 2133 0 3677171712 0.35
92.38 30 0.49 0.33
0 0 45 2.21 2054 2133 0 3677171712 0.65
97.13 30 0.49 0.33
1 1 263 12.34 2130 2133 0 3677171712 0.04
87.62 30
Core CPU Avg_MHz %Busy Bzy_MHz TSC_MHz SMI count 0x3FA CPU%c1
CPU%c6 CoreTmp PkgWatt CorWatt
- - 217 10.24 2118 2133 0 3005754112 0.68
89.08 32 0.54 0.38
0 0 109 5.23 2078 2133 0 3005754112 1.17
93.60 30 0.54 0.38
1 1 325 15.26 2132 2133 0 3005754112 0.19
84.56 32
Core CPU Avg_MHz %Busy Bzy_MHz TSC_MHz SMI count 0x3FA CPU%c1
CPU%c6 CoreTmp PkgWatt CorWatt
- - 1 0.11 1281 2133 0 3061620992 8.21
91.67 30 0.56 0.40
0 0 2 0.17 1221 2133 0 3061620992 0.40
99.43 30 0.56 0.40
1 1 1 0.05 1469 2133 0 3061620992 16.03
83.92 30
Then calculate PC6 residency thought this formula:
pc6_3fa_count/(TSC_Mhz*1000000*sample_peroid_sec), I can see BYT entries PC6
state, so will close this bug as will not fix.
Used kernel is:
[root@x-byt01 performance_pnp]# uname -a
Linux x-byt01 3.15.0-rc7_drm-intel-nightly_085391_20140602+ #3182 SMP Mon Jun 2
11:24:51 CST 2014 x86_64 x86_64 x86_64 GNU/Linux</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>