From: Dmitry Osipenko <digetx@gmail.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
linux-pm@vger.kernel.org, Kevin Hilman <khilman@kernel.org>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Rajendra Nayak <rnayak@codeaurora.org>,
Dong Aisheng <aisheng.dong@nxp.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PM: domains: Prevent power off for parent unless child is in deepest state
Date: Wed, 16 Feb 2022 00:49:12 +0300 [thread overview]
Message-ID: <5e27fc63-5dd7-8da6-01f5-d7c7660874e3@gmail.com> (raw)
In-Reply-To: <CAPDyKFokevJSYoH009t3PA4h48tx-LK+DaWVpC_14L6xZF3iZA@mail.gmail.com>
14.02.2022 12:22, Ulf Hansson пишет:
> On Sun, 13 Feb 2022 at 13:14, Dmitry Osipenko <digetx@gmail.com> wrote:
>>
>> 07.02.2022 11:43, Ulf Hansson пишет:
>>>> In general, such changes usually are deferred from being upstreamed
>>>> until there is a real user, otherwise there is a risk of cluttering the
>>>> code with unused features. Do you have a time estimation in regards to
>>>> when STMicro may start to benefit from this change?
>>> The STMicro folkz are working on it right now, but I can't give you
>>> any estimates for their work.
>>>
>>> Moreover, I think the important point in this regard, is that the
>>> $subject patch doesn't really hurt anything else, so then what's the
>>> point of holding this back?
>>
>> If that work will never pan out, will you remove the unused code?
>
> Sure, I will continue to monitor the situation, which is what I have
> been doing for many years by now.
>
> In the past we have agreed to add new things to genpd, even if those
> didn't have in-tree users when the changes went in. The current
> dev_pm_genpd_set_next_wakeup() inteface, for example, is still lacking
> a user upstream. It's a balance, because I certainly agree with you,
> that we don't want to carry around dead code in the kernel - unless we
> have reasons to believe it's an intermediate step before there a user
> turning up.
I've seen enough of dead code while was doing a tree-wide changes, we
don't need more :)
Oh, well. Sounds like you're working closely with the STMicro people, so
should be fine.
prev parent reply other threads:[~2022-02-15 21:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 11:37 Ulf Hansson
2022-01-31 18:29 ` Dmitry Osipenko
2022-02-04 9:43 ` Ulf Hansson
2022-02-04 19:10 ` Dmitry Osipenko
2022-02-07 8:43 ` Ulf Hansson
2022-02-13 12:14 ` Dmitry Osipenko
2022-02-14 9:22 ` Ulf Hansson
2022-02-15 21:49 ` Dmitry Osipenko [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=5e27fc63-5dd7-8da6-01f5-d7c7660874e3@gmail.com \
--to=digetx@gmail.com \
--cc=aisheng.dong@nxp.com \
--cc=alexandre.torgue@foss.st.com \
--cc=geert+renesas@glider.be \
--cc=khilman@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rnayak@codeaurora.org \
--cc=ulf.hansson@linaro.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
all inboxes | Powered by JetHome®