* Re: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt [not found] <20151117090947.GC8819@pd.tnic> @ 2015-11-17 14:38 ` Rafael J. Wysocki 2015-11-17 14:14 ` Borislav Petkov 2015-11-17 17:06 ` Srinivas Pandruvada 0 siblings, 2 replies; 4+ messages in thread From: Rafael J. Wysocki @ 2015-11-17 14:38 UTC (permalink / raw) To: Borislav Petkov Cc: Srinivas Pandruvada, Kristen Carlson Accardi, Rafael J. Wysocki, lkml, Linux PM list On Tuesday, November 17, 2015 10:09:47 AM Borislav Petkov wrote: > Hi, > > patch in $Subject breaks my IVB laptop here. It does not go over 1.2GHz > during load like building a kernel with -j4, for example. 1.2GHz > according to cpupower in tools/power/cpupower is the lowest P-state: > > # LD_LIBRARY_PATH=. ./cpupower frequency-info > analyzing CPU 0: > driver: intel_pstate > CPUs which run at the same hardware frequency: 0 > CPUs which need to have their frequency coordinated by software: 0 > maximum transition latency: 0.97 ms. > hardware limits: 1.20 GHz - 3.60 GHz > available cpufreq governors: performance, powersave > current policy: frequency should be within 1.20 GHz and 3.60 GHz. > The governor "powersave" may decide which speed to use > within this range. > current CPU frequency is 1.20 GHz (asserted by call to hardware). > boost state support: > Supported: yes > Active: yes > 3400 MHz max turbo 4 active cores > 3400 MHz max turbo 3 active cores > 3400 MHz max turbo 2 active cores > 3600 MHz max turbo 1 active cores > --- > > turbostat output during building a kernel is: > > CPU Avg_MHz %Busy Bzy_MHz TSC_MHz > - 1194 99.70 1200 2893 > 0 1196 99.92 1200 2893 > 1 1197 99.97 1200 2893 > 2 1197 99.95 1200 2893 > 3 1185 98.95 1200 2893 > > I've enabled the pr_debug's in intel_pstate_init_perf_limits() and it > says: > > [ 0.826111] intel_pstate: default limits 0xc 0x1d 0x24 > [ 0.829252] intel_pstate: CPU0 - ACPI _PSS perf data > [ 0.830337] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24 > [ 0.830356] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz > [ 0.830908] intel_pstate: default limits 0xc 0x1d 0x24 > [ 0.833002] intel_pstate: CPU1 - ACPI _PSS perf data > [ 0.833339] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24 > [ 0.833361] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz > [ 0.833535] intel_pstate: default limits 0xc 0x1d 0x24 > [ 0.835727] intel_pstate: CPU2 - ACPI _PSS perf data > [ 0.836036] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24 > [ 0.836058] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz > [ 0.836237] intel_pstate: default limits 0xc 0x1d 0x24 > [ 0.838432] intel_pstate: CPU3 - ACPI _PSS perf data > [ 0.838731] intel_pstate: Updated limits using _PSS 0xc 0x1d 0x24 > [ 0.838753] intel_pstate: policy max_freq=3600000 Khz min_freq = 1200000 KHz > > during boot. > > When I boot with "intel_pstate=no_acpi" it boosts normally to 3.4GHz and > above and turbostat says: > > CPU Avg_MHz %Busy Bzy_MHz TSC_MHz > - 3392 99.92 3400 2895 > 0 3395 99.96 3400 2897 > 1 3390 99.88 3400 2895 > 2 3391 99.89 3400 2895 > 3 3391 99.95 3400 2893 > > which is what it should be saying. :) Well, sorry for the breakage. acpidump output would help to diagnose this I suppose. Thanks, Rafael ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt 2015-11-17 14:38 ` 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt Rafael J. Wysocki @ 2015-11-17 14:14 ` Borislav Petkov 2015-11-17 17:06 ` Srinivas Pandruvada 1 sibling, 0 replies; 4+ messages in thread From: Borislav Petkov @ 2015-11-17 14:14 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Srinivas Pandruvada, Kristen Carlson Accardi, Rafael J. Wysocki, lkml, Linux PM list On Tue, Nov 17, 2015 at 03:38:50PM +0100, Rafael J. Wysocki wrote: > Well, sorry for the breakage. Bah, don't worry. I'm used to stuff being b0rked constantly. :-) > acpidump output would help to diagnose this I suppose. Coming up in a private mail. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt 2015-11-17 14:38 ` 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt Rafael J. Wysocki 2015-11-17 14:14 ` Borislav Petkov @ 2015-11-17 17:06 ` Srinivas Pandruvada 2015-11-17 18:14 ` Borislav Petkov 1 sibling, 1 reply; 4+ messages in thread From: Srinivas Pandruvada @ 2015-11-17 17:06 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Borislav Petkov, Kristen Carlson Accardi, Rafael J. Wysocki, lkml, Linux PM list On Tue, 2015-11-17 at 15:38 +0100, Rafael J. Wysocki wrote: > On Tuesday, November 17, 2015 10:09:47 AM Borislav Petkov wrote: > > Hi, > > [...] > > during boot. Also can you try with processor.ignore_ppc=1 in kernel command line. Thanks, Srinivas > > > > When I boot with "intel_pstate=no_acpi" it boosts normally to 3.4GHz and > > above and turbostat says: > > > > CPU Avg_MHz %Busy Bzy_MHz TSC_MHz > > - 3392 99.92 3400 2895 > > 0 3395 99.96 3400 2897 > > 1 3390 99.88 3400 2895 > > 2 3391 99.89 3400 2895 > > 3 3391 99.95 3400 2893 > > > > which is what it should be saying. :) > > Well, sorry for the breakage. > > acpidump output would help to diagnose this I suppose. > > Thanks, > Rafael > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt 2015-11-17 17:06 ` Srinivas Pandruvada @ 2015-11-17 18:14 ` Borislav Petkov 0 siblings, 0 replies; 4+ messages in thread From: Borislav Petkov @ 2015-11-17 18:14 UTC (permalink / raw) To: Srinivas Pandruvada Cc: Rafael J. Wysocki, Kristen Carlson Accardi, Rafael J. Wysocki, lkml, Linux PM list On Tue, Nov 17, 2015 at 09:06:30AM -0800, Srinivas Pandruvada wrote: > Also can you try with processor.ignore_ppc=1 in kernel command line. Doesn't change anything. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-17 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20151117090947.GC8819@pd.tnic>
2015-11-17 14:38 ` 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt Rafael J. Wysocki
2015-11-17 14:14 ` Borislav Petkov
2015-11-17 17:06 ` Srinivas Pandruvada
2015-11-17 18:14 ` Borislav Petkov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox