From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B212DC31E44 for ; Wed, 12 Jun 2019 00:08:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CC8121734 for ; Wed, 12 Jun 2019 00:08:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MQ8+52Gh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391042AbfFLAIg (ORCPT ); Tue, 11 Jun 2019 20:08:36 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41851 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387563AbfFLAIf (ORCPT ); Tue, 11 Jun 2019 20:08:35 -0400 Received: by mail-pg1-f195.google.com with SMTP id 83so7856791pgg.8 for ; Tue, 11 Jun 2019 17:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SGNSHS6b7nRtN7DrDXjS9yuoQKj+7ZkbE1CIpuAR0o0=; b=MQ8+52GhzhWZKD3KJyvwipDYgFo0aBfeAV4asNBlO1HN3E7RBSFhPidXKlsrutqxjp aBpiHXTYxXdT2Jo4++ZzdtJ1b49mQNMNGcn3EUCOpb5YopOUWVO7/8cOHObpXTvLnXrY M6Mb/SFP008eotrXlq0XND7Q/TH/iECuXkvjg= 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=SGNSHS6b7nRtN7DrDXjS9yuoQKj+7ZkbE1CIpuAR0o0=; b=fYsZlXnnlJiECqwPeAHvpknDBtkRLTG2RxnpCwAmsaeuCmUb3j3at0FQfaXtpDFsEk funAVhMQrBDfq1RHDucltCHsYahElM1Gx4PgqnopI8OFYyORgbn/VgQdKfMsQ2XZ8ZO2 LQGBHAu8jHsdaRt4NVXc9iCqJCFJUY/D6u7Y02zI+dvrLFQp32gEMYOfcsktHnohtXEZ dAjngD7pCQ63d532nomXH13+kpdklBFTCXIX0VFP94KijgDAUgu/K3YEgVz6tI1SvSVZ htgADQ0ooSp1+Zp4wxrjPnI50WUHObv96lV4kitMkd+Hh0g5K5AEri26xEcjV3sZJtI6 EnAQ== X-Gm-Message-State: APjAAAWGSPVABoAbhdwvpjOJ1/xigyN81//gJegU8h3ckXeFby9jXWvV Rr39OBapCSGPbHV/zcs2n+97Vw== X-Google-Smtp-Source: APXvYqxc4ALuUprM7w4tknTdmgXVfcDqP+QnqH3fxaQ40gioXu/MGGHFvDTnkI3q1VGAjtu6Cx1+1Q== X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr29110581pjz.140.1560298115153; Tue, 11 Jun 2019 17:08:35 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id u23sm10563943pfn.140.2019.06.11.17.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 17:08:33 -0700 (PDT) Date: Tue, 11 Jun 2019 17:08:32 -0700 From: Matthias Kaehlcke To: Viresh Kumar Cc: Rafael Wysocki , Len Brown , Pavel Machek , Kevin Hilman , Ulf Hansson , Daniel Lezcano , linux-pm@vger.kernel.org, Vincent Guittot , Qais.Yousef@arm.com, juri.lelli@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3 2/5] PM / QOS: Pass request type to dev_pm_qos_read_value() Message-ID: <20190612000832.GJ137143@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Mon, Jun 10, 2019 at 04:21:33PM +0530, Viresh Kumar wrote: > In order to use dev_pm_qos_read_value(), and other internal routines to > it, to read values for different QoS requests, pass request type as a > parameter to these routines. nit: I find that somewhat hard to parse, a possible improvement: "In order to allow dev_pm_qos_read_value() and other {related,similar} internal routines to read values for different QoS requests, pass request type as a parameter to these routines." (I'm not a native English speaker, so I don't claim this to be correct ;-) > For now, it only supports resume-latency request type. > > Signed-off-by: Viresh Kumar > --- > Documentation/power/pm_qos_interface.txt | 2 +- > drivers/base/power/domain_governor.c | 4 +-- > drivers/base/power/qos.c | 10 +++--- > drivers/base/power/runtime.c | 2 +- > drivers/cpuidle/governor.c | 2 +- > include/linux/pm_qos.h | 41 +++++++++++++++++------- > 6 files changed, 40 insertions(+), 21 deletions(-) looks good to me, however I'm just a QoS n00b: Reviewed-by: Matthias Kaehlcke