Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1105954pxa; Wed, 5 Aug 2020 22:55:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws0oSZrRsdsxiRi2VZZjv3oAO+EvXCeAtj0cKfmlGf2s/PNMQ9v1/Q22ASMFsYE2Y+5i53 X-Received: by 2002:a17:906:d930:: with SMTP id rn16mr2851187ejb.330.1596693338522; Wed, 05 Aug 2020 22:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596693338; cv=none; d=google.com; s=arc-20160816; b=I8nOanRN3EBj0ThadKU0ivPqoHRShTWj+wPvMthq0O33Ng/zsTclh8vrXuWTXM7ch9 +nKBSLMbDdlfcvvYiWyJTRb7XPBGR2pWADz8s2YWwapMg06/5MH7pNVLh6llQMjER0DK cTNq2ptKVIGNw/NTWBA+cvGZTTtIlKkClw+3SPFvKGn8/l3VPmFZ/Tnx2/rm1RfA6LEG yipzPWQ6VQwa0WiHFFVI3KZCXx1naadkFd9eRQaitPgfXiAXR/MVHbIjJAPsuMxgU0tm 962Zf2AV+UVfQk3SUl5WqE5xiQE5tQwT7FVc81BsfWtlhSitsbCYUgfGuZpO5+DT7gQg RDbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=ZKRCmfmY7qH1fYpcTFnkxc4BBI/P+hB+ur+vMXpXInE=; b=Y9WkQ8Sq9ggO+bSq0MwukURhW3B9dukG5s9knFVwVS8DXYWxsXZtyLHDgg/w4FYDMr vkBUPfyTpqjx8FBfyM1nhDXyvr3uFD16ix64mG9OvMNeW/nmzoUzn1lSB1ibqtXLcl7o BtihSx4lLK4uD/mZ0lAWDwuWe25tkmnQTJsaEeP2debOABwrEN7YKmKJisJw54rpj+zt F3alUDe6LftOMlPlHzFyDKWcwTB3eu81wMnerq3BpF8bM03cm7EvkzHa3FwfMT/52oJQ aUDhX55u0dfjklrxKreHwDn15DNRDNHnUIiXQEElA30tvxt2iWPdOozC7OoNly7iV814 8dUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=cYf8dodn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq3si2499289edb.474.2020.08.05.22.55.16; Wed, 05 Aug 2020 22:55:38 -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; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=cYf8dodn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727964AbgHFFyz (ORCPT + 99 others); Thu, 6 Aug 2020 01:54:55 -0400 Received: from cmta19.telus.net ([209.171.16.92]:44036 "EHLO cmta19.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728000AbgHFFyy (ORCPT ); Thu, 6 Aug 2020 01:54:54 -0400 Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id 3YrYk5XS8pULu3YrakoH4d; Wed, 05 Aug 2020 23:54:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1596693292; bh=ZKRCmfmY7qH1fYpcTFnkxc4BBI/P+hB+ur+vMXpXInE=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=cYf8dodneEcXRANPNqohD4vRf1YhXlcXh+fZWg+2Jpa1HXqUO2bj5cP5bpDrWkJS0 X7+zOH4JQQfAMo5ic0hieekcLF9p3HF+QsJZsjBRosQsNFooHK/kQns4dAFI3Kh9Ge I8iAo5spxKcKv/oAGRsnfAs7LRKvxW7lc2D+C6pfxJb+Ry5qUOYjl6akaRzTGi/6F3 zApE5gUaCFg8aHpOZWv25TdEH+moCwYM1wGTg/+FTcWsp9aPgkqTO0Gn8ISSNzBNtG BGhNRK6aKyCFKTWhIrQ+aeW4HkY/C0H5Ose+61dlfQI41X4v8G8EBSRT4ZEzRXvg/j 1OPSO+pjToeCQ== X-Telus-Authed: none X-Authority-Analysis: v=2.3 cv=T9TysMCQ c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=kj9zAlcOel0A:10 a=aatUQebYAAAA:8 a=QyXUC8HyAAAA:8 a=kxsy6qjK8mjSY2g15b0A:9 a=CjuIK1q_8ugA:10 a=7715FyvI7WU-l6oqrZBK:22 From: "Doug Smythies" To: "'Rafael J. Wysocki'" Cc: "'Rafael J. Wysocki'" , "'Linux Documentation'" , "'LKML'" , "'Peter Zijlstra'" , "'Srinivas Pandruvada'" , "'Giovanni Gherdovich'" , "'Francisco Jerez'" , "'Linux PM'" References: <3955470.QvD6XneCf3@kreacher> <000b01d668e0$11508160$33f18420$@net> <2418846.A4mPlhI7ni@kreacher> In-Reply-To: <2418846.A4mPlhI7ni@kreacher> Subject: RE: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled Date: Wed, 5 Aug 2020 22:54:47 -0700 Message-ID: <004601d66bb6$199ce1a0$4cd6a4e0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdZpuL2bqTQ7WVOQQDGjuypkZ2m0fQB/FDrw Content-Language: en-ca X-CMAE-Envelope: MS4wfNeNeYgtpMCRSyru0hnnAznLpIvQeKA3hO2SbSq2DdMtsX1dcU3AOaz5jRYZe1Iu0rbgkIfXcTLyKRhaShDxshuUaj9DoQntc+bLcKc49Db9p0A/+hWz Dd3hddYsNbsTFxopZ/1W/irsqKGQhKR8z8jxhWkkD8EzhVVgLBLVHSWDfStldxgh2bYmWTEhlaDQxjxPGC92XkZZTiExZ/ExFAkfOtITCbNG6NLdpBNMbg6Y 5M72MeZwaq2pTBpAk6kaN19cL33Q2WhVc+FNCBYY2Flo8VDCNbZzwX4UPWkm+ForjdlxnYPZZuMpVeGqhHMqmShyvpH2ahM98DqCtL9y7MDrGA5bAe2LWxG0 hDYmWeXFH865H/0xbJ/+KhVci6lsaTbaOmAKo+j0OtfOnREeoVf7aNKWorjmjmHNy4CR6tXjYqlUV7/JdBbQTD3jg5C+6568AfSvZ9iBSMyxKGTralE= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020.08.03 10:09 Rafael J. Wysocki wrote: > On Sunday, August 2, 2020 5:17:39 PM CEST Doug Smythies wrote: > > 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? Yes, fair enough. But we aren't changing what it means by default between kernel 5.8 and 5.9-rc1. ... Doug