linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: noman pouigt <variksla@gmail.com>
To: myungjoo.ham@samsung.com
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Re: devfreq relation with pm qos
Date: Wed, 11 Jul 2018 10:02:30 -0700	[thread overview]
Message-ID: <CAES_P+-=iictJKgHFGN2Mypp_+GMyTOVmZVQw=bSfHbyZMY4QA@mail.gmail.com> (raw)
In-Reply-To: <20180710055847epcms1p2eed3f89ae0220a06051faa83cc8b21ed@epcms1p2>

On Mon, Jul 9, 2018 at 10:58 PM, MyungJoo Ham <myungjoo.ham@samsung.com> wrote:
>> + dev freq maintainters.
>>
>> On Mon, Jul 9, 2018 at 3:37 AM, noman pouigt <variksla@gmail.com> wrote:
>> > folks,
>> >
>> > I am trying to figure out the relationship between PM QOS
>> > with devfreq framework. I see this thread[1] where MyungJoo
>> > talks about QOS and devfreq but that control is through
>> > sysfs but I don't see any relation of pm qos (kernel/power/qos.c)
>> > with devfreq directly as devfreq is not calling any of the QOS
>> > api's. Is this intended?
>> >
>> > Isn't QOS value update using pm_qos_update_request has a
>> > direct relation with devfreq drivers i.e. setting the value to
>> > high or low selects the corresponding voltage and frequency
>> > setting in devfreq framework? I went through the devfreq
>> > drivers and couldn't find that relationship. Is this by design or
>> > I am missing something very obvious?
>> >
>> > [1] https://lwn.net/Articles/484161/
>
> Hello,
>
> Unfortunately, the suggested concept in the referred article was not ever
> accepted in the mainline.

MyungJo, I am trying to understand the relationship of PM QOS with
devfreq drivers. I don't see any relation of PM QOS api's with devfreq drivers
directly as there are no QOS apis used in the devfreq framework.

The only explanation I have is that PM QOS has direct relationship
with CPUFREQ driver and as CPUFREQ driver works with CPU
frequency and that CPU frequency directly affects DEVFREQ drivers
as devfreq driver maps CPU frequency to device frequency and
that is why PM QOS doesn’t have direct relation with PM QOS.

Is my understanding right?

>
> Cheers,
> MyungJo

  reply	other threads:[~2018-07-11 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAES_P+_k=fz3yMnVZni2hEnfSujctnT33zoN9-KsBLBeQaG_sA@mail.gmail.com>
2018-07-09 21:34 ` devfreq relation with pm qos noman pouigt
     [not found] ` <CGME20180709213456epcas4p17e5753d1b59856a0df3790d7faef8d73@epcms1p2>
2018-07-10  5:58   ` MyungJoo Ham
2018-07-11 17:02     ` noman pouigt [this message]
     [not found]     ` <CGME20180709213456epcas4p17e5753d1b59856a0df3790d7faef8d73@epcms1p8>
2018-07-12  2:34       ` MyungJoo Ham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAES_P+-=iictJKgHFGN2Mypp_+GMyTOVmZVQw=bSfHbyZMY4QA@mail.gmail.com' \
    --to=variksla@gmail.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).