From: tomasz.figa@gmail.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] ARM: EXYNOS: Add default latency values for Device and Power Domain
Date: Mon, 11 Nov 2013 15:15:43 +0100 [thread overview]
Message-ID: <1462328.Ohojb4XpRs@flatron> (raw)
In-Reply-To: <CAKew6eUrtw7bTqo8tWD4JCwvCM0jRowSj=v4=dnqc5krPLpRWg@mail.gmail.com>
On Monday 11 of November 2013 23:11:41 Yadwinder Singh Brar wrote:
> >> +};
> >> +
> >> static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on)
> >> {
> >> struct exynos_pm_domain *pd;
> >> @@ -83,7 +94,7 @@ static void exynos_add_device_to_domain(struct exynos_pm_domain *pd,
> >> dev_dbg(dev, "adding to power domain %s\n", pd->pd.name);
> >>
> >> while (1) {
> >> - ret = pm_genpd_add_device(&pd->pd, dev);
> >> + ret = __pm_genpd_add_device(&pd->pd, dev, &dev_latencies);
> >
> > The double underscore prefix scares me a bit. Is this function really
> > supposed to be used like this?
> >
>
> Moreover, it also seems little bit odd in the first place, to pass
> dev_latencies(QoS timing parameters) when we are not using/providing
> any governor for the genpd. QoS timing parameters have to be provided
> to be used by governor. In our case since we are not using/providing
> any governor yet, so it seems odd to provide QoS timing parameters. It
> seems, here core pd code is giving unnecessary warning in our case,
> since we are not providing governor(not interested in QoS). So IMO
> warning should be fixed instead of just suppressing it by giving some
> big values of timing parameters.
>
Yes, that would be probably much better option than providing some random
values that do not have any rationale behind them.
Rafael, could you comment on this?
Best regards,
Tomasz
prev parent reply other threads:[~2013-11-11 14:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1383892025-14759-1-git-send-email-sachin.kamat@linaro.org>
2013-11-10 16:55 ` [PATCH 1/1] ARM: EXYNOS: Add default latency values for Device and Power Domain Tomasz Figa
2013-11-11 3:22 ` Sachin Kamat
2013-11-11 4:49 ` Prasanna Kumar
2013-11-11 14:14 ` Tomasz Figa
2013-11-11 14:11 ` Yadwinder Singh Brar
2013-11-11 14:15 ` Tomasz Figa [this message]
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=1462328.Ohojb4XpRs@flatron \
--to=tomasz.figa@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).