Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2221999pxa; Mon, 3 Aug 2020 10:24:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1T5zyD5SkCJqw/V78i+/69uQew7T2QM/lREELMGlvSX7zEkGkOVPeOGkQhYRqomnXtC8N X-Received: by 2002:a17:906:7802:: with SMTP id u2mr17152715ejm.206.1596475455916; Mon, 03 Aug 2020 10:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596475455; cv=none; d=google.com; s=arc-20160816; b=i2GKQ18X2I6IGcHirhH2dnXQKJauX99PkSH+L0Sr036mkd8PhHkEc2ReaC4ZRn45i8 sfBAonLgkjaFk7PIJqxf2q4xTq8Xiz4DlXRT7E/o/p/D4QFUC3y5sQArtoaK8KSV1nZN DdwVkxEJYqeQUgzhylNmsi2I6BOjPFEW2AoesecDLxIlYb+DOMZoD/aASO2w1iNmn+MA 8d5boxPJFc7DU1cXeq/1TDHNqmLayomsAWD1ui8JEEX7b1DhH2d6dVOpU2W3hwuNFtRp PuauPR/mTlefgf8PZcL+YmzsuwSJeFNQAWhxuM6d71Or1QPIdv3QCF2WdCiGG99nGOmx +TqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+BdWJOuvjDndizz2NEvf+9YMunx/wad2M21HDCcjYMA=; b=tpEOCdg/WIsRQhzSyd+r7CnPrxzvy9wKdB+e4bndsF31YeEPDiizPrVNufQcFzYvNa Gy92eVcV09EAy33mwJevYGqeYEgo2ebKLoszTqLukwQxH4rVpL6UQokIaw0SQsBpxMfD E3o0IQNM28SJpswd0cUcLqug5zRgrkvMHEz5CEq+TYCRJOQntGvobVFh+uok0pt1BQpt 7SbpaJ5lYbGr+HDUQqcjFuuzZEzlv0h6TfD/Wt7UI4GHUUGjvb6CxN2y6vgx4YNLAgJs nziQ5hUYuxMUILgC51PiHO2uyQZf0CKUy6TnQ+Bvkpd5tcSGTE5IHNMSuvMxvTjIkFkp v1SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc14si6796340ejb.8.2020.08.03.10.23.54; Mon, 03 Aug 2020 10:24:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728414AbgHCRXa (ORCPT + 99 others); Mon, 3 Aug 2020 13:23:30 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:54826 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbgHCRXa (ORCPT ); Mon, 3 Aug 2020 13:23:30 -0400 Received: from 89-64-89-42.dynamic.chello.pl (89.64.89.42) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.415) id 2f54c0c1df3e4a29; Mon, 3 Aug 2020 19:23:28 +0200 From: "Rafael J. Wysocki" To: Srinivas Pandruvada Cc: Linux PM , Linux Documentation , LKML , Peter Zijlstra , Giovanni Gherdovich , Doug Smythies , Francisco Jerez Subject: Re: [PATCH v4 0/2] cpufreq: intel_pstate: Implement passive mode with HWP enabled Date: Mon, 03 Aug 2020 19:23:27 +0200 Message-ID: <2039925.Us6koL3qmo@kreacher> In-Reply-To: <6febe0592d1830dac04aab281f66b47498dda887.camel@linux.intel.com> References: <4981405.3kqTVLv5tO@kreacher> <13207937.r2GEYrEf4f@kreacher> <6febe0592d1830dac04aab281f66b47498dda887.camel@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > Hi All, > > > > On Monday, July 27, 2020 5:13:40 PM CEST Rafael J. Wysocki wrote: > > > On Thursday, July 16, 2020 7:37:04 PM CEST Rafael J. Wysocki wrote: > > > > 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!