lkml.org 
[lkml]   [2015]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt
From
Date
On Tue, 2015-11-17 at 19:17 +0100, Borislav Petkov wrote:
> On Tue, Nov 17, 2015 at 08:54:00AM -0800, Srinivas Pandruvada wrote:
> > Is it complete log? Can you send the complete log?
>
> See below.
Thanks for your help.
>
> > I don't see call to intel_pstate_set_policy() from cpufreq in this log?
> > Are you using 4.4.rc1 or cherry picked this patch?
>
> Plain 4.4-rc1.
>
> ---
> [ 0.825928] Intel P-state driver initializing.
> [ 0.826099] intel_pstate: controlling: cpu 0
> [ 0.826119] intel_pstate: default limits 0xc 0x1d 0x24
> [ 0.827000] intel_pstate: CPU0 - ACPI _PSS perf data
> [ 0.827020] *P0: 2901 MHz, 35000 mW, 0xff00
The problem is the control value in this table entry above, which is
causing issue. I will come up with change soon.

Thanks,
Srinivas

> [ 0.827037] P1: 2900 MHz, 35000 mW, 0x1d00
> [ 0.827055] P2: 2800 MHz, 33218 mW, 0x1c00
> [ 0.827072] P3: 2700 MHz, 31812 mW, 0x1b00
> [ 0.827089] P4: 2500 MHz, 28743 mW, 0x1900
> [ 0.827106] P5: 2400 MHz, 27087 mW, 0x1800
> [ 0.827124] P6: 2300 MHz, 25796 mW, 0x1700
> [ 0.827141] P7: 2200 MHz, 24202 mW, 0x1600
> [ 0.827158] P8: 2000 MHz, 21425 mW, 0x1400
> [ 0.827176] P9: 1900 MHz, 20234 mW, 0x1300
> [ 0.827193] P10: 1800 MHz, 19072 mW, 0x1200
> [ 0.827211] P11: 1700 MHz, 17625 mW, 0x1100
> [ 0.827228] P12: 1600 MHz, 16509 mW, 0x1000
> [ 0.827246] P13: 1400 MHz, 14056 mW, 0xe00
> [ 0.827263] P14: 1300 MHz, 12724 mW, 0xd00
> [ 0.827281] P15: 1200 MHz, 11711 mW, 0xc00
> [ 0.827298] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24
> [ 0.827317] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz
> [ 0.827765] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 0.827797] intel_pstate: set powersave
> [ 0.827816] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
> [ 0.827890] intel_pstate: controlling: cpu 1
> [ 0.827907] intel_pstate: default limits 0xc 0x1d 0x24
> [ 0.828813] intel_pstate: CPU1 - ACPI _PSS perf data
> [ 0.828833] *P0: 2901 MHz, 35000 mW, 0xff00
> [ 0.828851] P1: 2900 MHz, 35000 mW, 0x1d00
> [ 0.828868] P2: 2800 MHz, 33218 mW, 0x1c00
> [ 0.828885] P3: 2700 MHz, 31812 mW, 0x1b00
> [ 0.828903] P4: 2500 MHz, 28743 mW, 0x1900
> [ 0.828920] P5: 2400 MHz, 27087 mW, 0x1800
> [ 0.828937] P6: 2300 MHz, 25796 mW, 0x1700
> [ 0.828955] P7: 2200 MHz, 24202 mW, 0x1600
> [ 0.828972] P8: 2000 MHz, 21425 mW, 0x1400
> [ 0.828990] P9: 1900 MHz, 20234 mW, 0x1300
> [ 0.829007] P10: 1800 MHz, 19072 mW, 0x1200
> [ 0.829022] P11: 1700 MHz, 17625 mW, 0x1100
> [ 0.829040] P12: 1600 MHz, 16509 mW, 0x1000
> [ 0.829057] P13: 1400 MHz, 14056 mW, 0xe00
> [ 0.829075] P14: 1300 MHz, 12724 mW, 0xd00
> [ 0.829092] P15: 1200 MHz, 11711 mW, 0xc00
> [ 0.829109] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24
> [ 0.829128] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz
> [ 0.829786] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 0.829815] intel_pstate: set powersave
> [ 0.829826] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
> [ 0.829860] intel_pstate: controlling: cpu 2
> [ 0.829871] intel_pstate: default limits 0xc 0x1d 0x24
> [ 0.830366] intel_pstate: CPU2 - ACPI _PSS perf data
> [ 0.830378] *P0: 2901 MHz, 35000 mW, 0xff00
> [ 0.830388] P1: 2900 MHz, 35000 mW, 0x1d00
> [ 0.830398] P2: 2800 MHz, 33218 mW, 0x1c00
> [ 0.830408] P3: 2700 MHz, 31812 mW, 0x1b00
> [ 0.830418] P4: 2500 MHz, 28743 mW, 0x1900
> [ 0.830428] P5: 2400 MHz, 27087 mW, 0x1800
> [ 0.830438] P6: 2300 MHz, 25796 mW, 0x1700
> [ 0.830448] P7: 2200 MHz, 24202 mW, 0x1600
> [ 0.830458] P8: 2000 MHz, 21425 mW, 0x1400
> [ 0.830468] P9: 1900 MHz, 20234 mW, 0x1300
> [ 0.830478] P10: 1800 MHz, 19072 mW, 0x1200
> [ 0.830488] P11: 1700 MHz, 17625 mW, 0x1100
> [ 0.830498] P12: 1600 MHz, 16509 mW, 0x1000
> [ 0.830508] P13: 1400 MHz, 14056 mW, 0xe00
> [ 0.830518] P14: 1300 MHz, 12724 mW, 0xd00
> [ 0.830528] P15: 1200 MHz, 11711 mW, 0xc00
> [ 0.830538] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24
> [ 0.830549] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz
> [ 0.830639] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 0.830655] intel_pstate: set powersave
> [ 0.830665] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
> [ 0.830699] intel_pstate: controlling: cpu 3
> [ 0.830709] intel_pstate: default limits 0xc 0x1d 0x24
> [ 0.831167] intel_pstate: CPU3 - ACPI _PSS perf data
> [ 0.831178] *P0: 2901 MHz, 35000 mW, 0xff00
> [ 0.831188] P1: 2900 MHz, 35000 mW, 0x1d00
> [ 0.831198] P2: 2800 MHz, 33218 mW, 0x1c00
> [ 0.831208] P3: 2700 MHz, 31812 mW, 0x1b00
> [ 0.831218] P4: 2500 MHz, 28743 mW, 0x1900
> [ 0.831228] P5: 2400 MHz, 27087 mW, 0x1800
> [ 0.831238] P6: 2300 MHz, 25796 mW, 0x1700
> [ 0.831248] P7: 2200 MHz, 24202 mW, 0x1600
> [ 0.831258] P8: 2000 MHz, 21425 mW, 0x1400
> [ 0.831268] P9: 1900 MHz, 20234 mW, 0x1300
> [ 0.831278] P10: 1800 MHz, 19072 mW, 0x1200
> [ 0.831288] P11: 1700 MHz, 17625 mW, 0x1100
> [ 0.831298] P12: 1600 MHz, 16509 mW, 0x1000
> [ 0.831308] P13: 1400 MHz, 14056 mW, 0xe00
> [ 0.831318] P14: 1300 MHz, 12724 mW, 0xd00
> [ 0.831328] P15: 1200 MHz, 11711 mW, 0xc00
> [ 0.831338] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24
> [ 0.831349] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz
> [ 0.831439] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 0.831455] intel_pstate: set powersave
> [ 0.831465] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
>
> ...
>
>
> [ 28.587413] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587417] intel_pstate: set powersave
> [ 28.587419] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
> [ 28.587446] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587448] intel_pstate: set powersave
> [ 28.587449] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0x0]
> [ 28.587488] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.587489] intel_pstate: set powersave
> [ 28.587490] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.587515] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587516] intel_pstate: set powersave
> [ 28.587517] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.587593] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587594] intel_pstate: set powersave
> [ 28.587596] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.587619] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587620] intel_pstate: set powersave
> [ 28.587621] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.587646] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.587647] intel_pstate: set powersave
> [ 28.587648] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.587672] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.587673] intel_pstate: set powersave
> [ 28.587674] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588782] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.588783] intel_pstate: set powersave
> [ 28.588785] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588808] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.588809] intel_pstate: set powersave
> [ 28.588810] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588835] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.588836] intel_pstate: set powersave
> [ 28.588837] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.588860] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.588861] intel_pstate: set powersave
> [ 28.588862] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588933] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.588934] intel_pstate: set powersave
> [ 28.588936] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588959] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.588960] intel_pstate: set powersave
> [ 28.588961] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.588985] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.588986] intel_pstate: set powersave
> [ 28.588987] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.589010] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589011] intel_pstate: set powersave
> [ 28.589012] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589377] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589379] intel_pstate: set powersave
> [ 28.589380] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589404] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589405] intel_pstate: set powersave
> [ 28.589406] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589429] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.589430] intel_pstate: set powersave
> [ 28.589431] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.589455] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589456] intel_pstate: set powersave
> [ 28.589457] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589521] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589522] intel_pstate: set powersave
> [ 28.589523] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589546] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589547] intel_pstate: set powersave
> [ 28.589548] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589573] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.589574] intel_pstate: set powersave
> [ 28.589575] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.589599] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589600] intel_pstate: set powersave
> [ 28.589601] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589710] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589711] intel_pstate: set powersave
> [ 28.589712] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589735] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589736] intel_pstate: set powersave
> [ 28.589737] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 28.589762] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 28.589763] intel_pstate: set powersave
> [ 28.589764] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 28.589787] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 28.589788] intel_pstate: set powersave
> [ 28.589789] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.590221] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.590229] intel_pstate: set powersave
> [ 29.590233] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.590304] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.590363] intel_pstate: set powersave
> [ 29.590374] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.590508] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.590513] intel_pstate: set powersave
> [ 29.590516] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.590632] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.590634] intel_pstate: set powersave
> [ 29.590637] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.590958] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.590987] intel_pstate: set powersave
> [ 29.590991] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.591112] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.591114] intel_pstate: set powersave
> [ 29.591119] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.591234] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.591241] intel_pstate: set powersave
> [ 29.591247] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.591369] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.591372] intel_pstate: set powersave
> [ 29.591375] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.591696] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.591698] intel_pstate: set powersave
> [ 29.591702] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.591817] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.591819] intel_pstate: set powersave
> [ 29.591822] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.591931] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.591933] intel_pstate: set powersave
> [ 29.591935] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.592049] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.592051] intel_pstate: set powersave
> [ 29.592054] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.594127] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.594132] intel_pstate: set powersave
> [ 29.594138] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.594252] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.594254] intel_pstate: set powersave
> [ 29.594257] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.594424] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.594426] intel_pstate: set powersave
> [ 29.594430] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.594550] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.594557] intel_pstate: set powersave
> [ 29.594563] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.596138] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.596166] intel_pstate: set powersave
> [ 29.596169] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.596285] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.596291] intel_pstate: set powersave
> [ 29.596298] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.596422] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.596426] intel_pstate: set powersave
> [ 29.596430] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.596541] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.596542] intel_pstate: set powersave
> [ 29.596544] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.598215] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.598217] intel_pstate: set powersave
> [ 29.598220] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.598385] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.598388] intel_pstate: set powersave
> [ 29.598391] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.598510] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.598517] intel_pstate: set powersave
> [ 29.598524] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.598647] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.598648] intel_pstate: set powersave
> [ 29.598651] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.600201] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.600214] intel_pstate: set powersave
> [ 29.600218] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.600333] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.600339] intel_pstate: set powersave
> [ 29.600345] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 29.600469] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 1200000
> [ 29.600471] intel_pstate: set powersave
> [ 29.600474] intel_pstate: max 3600000 policy_max 1200000 perf_ctl [0xc-0xc]
> [ 29.600586] intel_pstate: intel_pstate_set_policy max 3600000 policy->max 3600000
> [ 29.600590] intel_pstate: set powersave
> [ 29.600595] intel_pstate: max 3600000 policy_max 3600000 perf_ctl [0xc-0xc]
> [ 67.817369] capability: warning: `turbostat' uses 32-bit capabilities (legacy support in use)
>




\
 
 \ /
  Last update: 2015-11-17 20:41    [W:0.088 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site