Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp747490ybg; Fri, 18 Oct 2019 06:50:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2nrygkz5jTOYir2Zm/yjWWaCHYmttaVikV+x6lNhhjgr6llKTGBwQHP0rIZSL0fOlclMx X-Received: by 2002:a17:906:3751:: with SMTP id e17mr8951889ejc.269.1571406656956; Fri, 18 Oct 2019 06:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571406656; cv=none; d=google.com; s=arc-20160816; b=FKL6Shf50KX0HreVAIP6VKgLJOIx6pdYKWAyriILP9oWIYNuQcT8vnA42k6scNCRFS sRIyBU7hHL2wA0K7+nFG3t/i+m6AUvWY6ajNWDUbkyGc8EiLNQ2doEd0U5Osg6yAsK1D m+lUNShVxo5XAFM8JDY116D7JOAofqlU2mwCvpt/t5nav8lMVVZTOaHEOxTdhhbnNRMH iKzx1V4DL0TA9ayBaDBcOks8myjNNLcr+Gw/PvBd7gY2gGvVoV6sKnslw0mua4EXBpOX gCcQXQ98scc5O+XzMgaB/yewFBEluv2/90xw5WcF5Cx6JML0Xw0w2rQb25a04dZ0gjNA 24Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HA1gROLlU5nGU3rZp9KPpPiUhlmPzfUUJa/DdhRHaus=; b=FMX3Dked9E7dYPR9o7gX8Pxv0fFZPZ1GitpwWGTHYQgPtCgM0VzZ4jullQxJaFiFaF 1AHr3DGTA/fs3CDExBAaa0Ux7IlY5R13EKtFvxexGbE8/Cm4fjZvLLLTmPDPHBvcXn/j tXD46fhYtIBAgyJfWqOzYSOBV0AGv7ls/+xhGqKZLDZmQN7qOhIHZm5Xkq/FoaJaE4zG tK2m/4SaHDJX9vC+Rf87qEleuAP5OBiia+r+0zlPZ7vGKt1VTHezey/4/niYlxbRWhku tYsQbTUs2Az7KIuitdLLSehVUCpHBxo/U8zKfcX2Dkyu2VGRdue12hImv6k2BqTj3hXd cc4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DsFChQGc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a38si4361838edf.260.2019.10.18.06.50.32; Fri, 18 Oct 2019 06:50:56 -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; dkim=pass header.i=@linaro.org header.s=google header.b=DsFChQGc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408650AbfJQJqR (ORCPT + 99 others); Thu, 17 Oct 2019 05:46:17 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36716 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392740AbfJQJqQ (ORCPT ); Thu, 17 Oct 2019 05:46:16 -0400 Received: by mail-pf1-f195.google.com with SMTP id y22so1301940pfr.3 for ; Thu, 17 Oct 2019 02:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HA1gROLlU5nGU3rZp9KPpPiUhlmPzfUUJa/DdhRHaus=; b=DsFChQGcXp/0iKktNloQYHrCgctEcJmlGRFe5cJtd064ngexVy5CRyAxFJHY8aZPmh H+WTGsg3MCA18mom70GTV4yMoRU+0splvu0vWL0Fj/tD1slcmF0KzCGKn4qPyI8CdrIY 3QU+pVnjgLTFZjL3l5PH/IuLilMbvi7tE96zXxd6eeqYJjRcMczwBJ088Y3+JHTxngB1 yNCe164G7MqXquzb1QZWaPfaaA4tBpAITRRTX9lK6PO3JTh7sIQCs9SzOsXQo8YnlZr2 uMP2fdizjwe0KKZ5Qpz7x1xURymp2OPpbqsEHwiVpRhq79xd5Nk0rmSyqO6kMHHaALl/ M6pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HA1gROLlU5nGU3rZp9KPpPiUhlmPzfUUJa/DdhRHaus=; b=idsgmxBX0Ou2Sni3i9K5wgkU6+6pgLeMbIeoL2Up5Onn2A5DOaI77nCH6fmQtd0mui e1TIQc9euTOYtGBEOrIeQcNpWx2Svj7DT3B/8moMN4wSg3iFwRfsAaieUN9/TcptF1HB Ts8nl10kNMpw+FVEjdV/s1uYWCEUcKfRYs3blsos2xZ2H43dU7KNgz4QI9XE2l/6zYD/ huLJUu7e+AIoPFZYW6TpWcduJSDIuKyr9YISv3al66SeLSpMDxiQghltCmstine5+wtJ 0/2x0uza0ZBMoIRn4/qZYz4/SvI9on8815YZfYJGapDvXjHEFDMGp7uYoIp2XLiKTMHO wVKA== X-Gm-Message-State: APjAAAV6BGT9yeKeOIEUQolfMRhfkMMevWPdeU2fIyI+r35AP4EmeEfO +AKAlsApPOw6lh4m0R5nEYiwbg== X-Received: by 2002:a65:6701:: with SMTP id u1mr3132918pgf.368.1571305575072; Thu, 17 Oct 2019 02:46:15 -0700 (PDT) Received: from localhost ([122.172.151.112]) by smtp.gmail.com with ESMTPSA id s202sm2510839pfs.24.2019.10.17.02.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 02:46:14 -0700 (PDT) Date: Thu, 17 Oct 2019 15:16:12 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM , Linux ACPI , LKML , Sudeep Holla , Dmitry Osipenko Subject: Re: [RFT][PATCH 0/3] cpufreq / PM: QoS: Introduce frequency QoS and use it in cpufreq Message-ID: <20191017094612.6tbkwoq4harsjcqv@vireshk-i7> References: <2811202.iOFZ6YHztY@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2811202.iOFZ6YHztY@kreacher> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16-10-19, 12:37, Rafael J. Wysocki wrote: > 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. Apart from the minor comment on one of the patches, these look okay to me. Acked-by: Viresh Kumar -- viresh