Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2212006pxa; Mon, 3 Aug 2020 10:09:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWAgOFJLi81SFw7eO4fC8NsYRmVtmtIbaAh35HwLNeRQ4T4JMyW8qAknWJqBbYtY6+/B0s X-Received: by 2002:aa7:c0d8:: with SMTP id j24mr16924955edp.338.1596474568286; Mon, 03 Aug 2020 10:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596474568; cv=none; d=google.com; s=arc-20160816; b=auOvqczEUnDT0Ld3H3Pp3UZHFaf/dezy+nfXB3mAQJGze8gbsqXcjhezH5P6IYr+xP soTl5cMUhzDsmPA8WQy5ssOZoYl60E34JkidweeIOnmYnx2+6bP9QJ1iWuTqs8XgdFAg 6cXF+0S2mxK9CKoSjVLUHvnD9YOMJbxrFvc5AN/vb+BI4SK39mBRERXi+2BFUM0sr5Q7 49DgAALpKbjx+C4BWpElTlfJY7cAWhoPk2chxHkkcfCNzDsr4nC1Ut7RVNUct+oYnNsn 5kVuriTVSeKEeau+/cQzkfMU5rONAoEs+6xsJA4TE5Jns1NDld0xG0DH9DUa0LhwaJvZ GfSw== 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=9ZtCQp5jUiEVjxrKsEOYu0ifuM3QWBhiMKVwiuj3hSY=; b=tJYUEnlhPUUJWRHpGZEaeSP8BAJVCXPiPCuNzJd6mwqX5XfmKUVzQxA69j8wzfzYji lszAIx7UKOGQXLuelEhQMysXpIAY6s6JxRZvCxoTH18Cil/MlOowRqQzHcFX8StcDHU0 gsKBIX+d53PDPv+ok3fmv6UQSRZMZTTdX3BBfBdPr+GBMNl8oeJGJ+IcJa0HeAmUgD4S Y03gQPLS5yN/5gU+Xdkmt9NU9hIm1lop5uZzjsvKqFhRRxBJSc2QCIdCqcuix0gnrbJl ByxPy+AtIk2t8IVm8RQ0ut/+QJ9IPr5LpHQmkoS9ilewpLk/57RQ+ufHa/KOGdMbJiA3 2c9g== 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 v8si12891423edl.307.2020.08.03.10.09.04; Mon, 03 Aug 2020 10:09:28 -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 S1728107AbgHCRIm (ORCPT + 99 others); Mon, 3 Aug 2020 13:08:42 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:42578 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726864AbgHCRIl (ORCPT ); Mon, 3 Aug 2020 13:08:41 -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 85810bff8759e0f8; Mon, 3 Aug 2020 19:08:39 +0200 From: "Rafael J. Wysocki" To: Doug Smythies Cc: "'Rafael J. Wysocki'" , 'Linux Documentation' , 'LKML' , 'Peter Zijlstra' , 'Srinivas Pandruvada' , 'Giovanni Gherdovich' , 'Francisco Jerez' , 'Linux PM' Subject: Re: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled Date: Mon, 03 Aug 2020 19:08:38 +0200 Message-ID: <2418846.A4mPlhI7ni@kreacher> In-Reply-To: <000b01d668e0$11508160$33f18420$@net> References: <3955470.QvD6XneCf3@kreacher> <000b01d668e0$11508160$33f18420$@net> 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 Sunday, August 2, 2020 5:17:39 PM CEST Doug Smythies wrote: > Hi Rafael, > > On 2020.07.19 04:43 Rafael J. Wysocki wrote: > > On Fri, Jul 17, 2020 at 3:37 PM Doug Smythies wrote: > > > On 2020.07.16 05:08 Rafael J. Wysocki wrote: > > > > On Wed, Jul 15, 2020 at 10:39 PM Doug Smythies wrote: > > > >> On 2020.07.14 11:16 Rafael J. Wysocki wrote: > > > >> > > > > >> > From: Rafael J. Wysocki > > > >> ... > > > >> > Since the passive mode hasn't worked with HWP at all, and it is not going to > > > >> > the default for HWP systems anyway, I don't see any drawbacks related to making > > > >> > this change, so I would consider this as 5.9 material unless there are any > > > >> > serious objections. > > > >> > > > >> Good point. > > > > > > Actually, for those users that default to passive mode upon boot, > > > this would mean they would find themselves using this. > > > Also, it isn't obvious, from the typical "what driver and what governor" > > > inquiry. > > > > So the change in behavior is that after this patch > > intel_pstate=passive doesn't imply no_hwp any more. > > > > That's a very minor difference though and I'm not aware of any adverse > > effects it can cause on HWP systems anyway. > > My point was, that it will now default to something where > testing has not been completed. > > > The "what governor" is straightforward in the passive mode: that's > > whatever cpufreq governor has been selected. > > I think you might have missed my point. > From the normal methods of inquiry one does not know > if HWP is being used or not. Why? Because with > or without HWP one gets the same answers under: > > /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor Yes, but this is also the case in the active mode, isn't it? Thanks!