Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7372476ybp; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxej4JHd7usX0gyB7L4zWmoBudfHW/UyQrpYNAHajWi4zRtGWoIhcVGGylpK1Yz0UvtM/m5 X-Received: by 2002:a05:6402:1686:: with SMTP id a6mr12562336edv.174.1571237121143; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571237121; cv=none; d=google.com; s=arc-20160816; b=WIVQKeL0TtiHJ60Soydft2oaqDrD/itef0939dBMKSQItV50IJDoeQaxqmTAGMMCIf vlJNCoJmD5EIQlcoEtwOBLbh/v0K5TovKs8ZdFABsEaMSjkaa4z8J1ZFnssvnJB3V4El 5fWiSiy4uCZpFULCJHutixXNpvtRr4X5QwEg5yT9369uO3tvu0IKZFpItfzzBgQdg2kN iu0ce/1ZOEpqb+6x+xbN8jIfYDdxFcQnkTKC1Q7QMY2Zauy7lxa8R0GWHOKvlccPC8FQ yicR0ocAOWMevt/4UmH2nW3DTvnoTaj/ic9jEfYae5Z2icRvVnk5IIIplqfS1pKwAx0D 1Shg== 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 :message-id:date:subject:cc:to:from; bh=GhiZd8FfF6XAcpdETxvIb2S69oldEbUSmWDbPEfChys=; b=VwRzu7wJnbVSvhi/TIlwwfS6dHaz2FIzeb6kNEd70al0eLFNEkyssH5bKw+TGDV5eJ AmdPSHcCsBHhrmAd0NJjU0gZY6Px7sqhP+IvxOLZfty13UQenRCT+IMAX6FhazaA64nN moqFW5fekeNrUFe9SQKUqAagm1lRI6EUESPdDTZ6LJCBoX87+7pErrgGVNJ0q1Bl5cfN 5pek8WICOt+om4O28JMitL3eWtOWLLY5C84VZja4tgc9N/dy+L8ysltNKrsLkzKx7DWx 95JU6N0JoCufhUExEGqdD+N1qKMoVsaXlKKiO5v+vQG9Ei0FwUH2eMDmVemexuDEwaPw oXew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si17700431edk.157.2019.10.16.07.44.57; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392568AbfJPKsJ (ORCPT + 99 others); Wed, 16 Oct 2019 06:48:09 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:46265 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388377AbfJPKsG (ORCPT ); Wed, 16 Oct 2019 06:48:06 -0400 Received: from 79.184.255.51.ipv4.supernova.orange.pl (79.184.255.51) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.292) id 55930553095aead4; Wed, 16 Oct 2019 12:48:04 +0200 From: "Rafael J. Wysocki" To: Linux PM Cc: Linux ACPI , LKML , Viresh Kumar , Sudeep Holla , Dmitry Osipenko Subject: [RFT][PATCH 0/3] cpufreq / PM: QoS: Introduce frequency QoS and use it in cpufreq Date: Wed, 16 Oct 2019 12:37:58 +0200 Message-ID: <2811202.iOFZ6YHztY@kreacher> 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 Hi All, The motivation for this series is to address the problem discussed here: https://lore.kernel.org/linux-pm/5ad2624194baa2f53acc1f1e627eb7684c577a19.1562210705.git.viresh.kumar@linaro.org/T/#md2d89e95906b8c91c15f582146173dce2e86e99f and also reported here: https://lore.kernel.org/linux-pm/20191015155735.GA29105@bogus/ Plus, generally speaking, using the policy CPU as a proxy for the policy with respect to PM QoS does not feel particularly straightforward to me and adds extra complexity. Anyway, the first patch adds frequency QoS that is based on "raw" PM QoS (kind of in analogy with device PM QoS) and is just about min and max frequency requests (no direct relationship to devices). The second patch switches over cpufreq and its users to the new frequency QoS. [The Fixes: tag has been tentatively added to it.] The third one removes frequency request types from device PM QoS. Unfortunately, the patches are rather big, but also they are quite straightforward. I didn't have the time to test this series, so giving it a go would be much appreciated. Thanks, Rafael