Re: [PATCH v4 0/2] cpufreq: intel_pstate: Implement passive mode with HWP enabled
From: Rafael J. Wysocki <hidden>
Date: 2020-08-03 17:23:30
Also in:
linux-pm, lkml
On Saturday, August 1, 2020 6:39:30 PM CEST Srinivas Pandruvada wrote:
--=-bU21ZBsdw4g45G9I/wXt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2020-07-28 at 17:09 +0200, Rafael J. Wysocki wrote:quoted
Hi All, On Monday, July 27, 2020 5:13:40 PM CEST Rafael J. Wysocki wrote:quoted
On Thursday, July 16, 2020 7:37:04 PM CEST Rafael J. Wysocki wrote:quoted
This really is a v2 of this patch: https://patchwork.kernel.org/patch/11663271/ with an extra preceding cleanup patch to avoid making unrelated changes in the [2/2].I applied this series along with [PATCH] cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode on 5.8 latest master (On top of raw epp patchset). When intel_pstate=passive from kernel command line then it is fine, no crash. But switch dynamically, crashed: Attached crash.txt. I may need to try your linux-pm tree.
Please try the v5 on top of my linux-next branch: https://patchwork.kernel.org/patch/11698495/ FWIW, I cannot reproduce the crash with it.
Then after some playing I reached a state when I monitor MSR 0x774: while true; do rdmsr 0x774; sleep 1; done 80002704 ... ... ff000101 ff000101 ff000101 ff000101 ff000101 ff000101 ff000101 ff000101 Don't have a recipe to reproduce this.
Well, maybe it locked up due to the deadlock in the v4 of the patch. Please see if you get this with the v5 above applied. Cheers!