From: Sudeep Holla <sudeep.holla@arm.com>
To: "Edwin Chiu 邱垂峰" <edwin.chiu@sunplus.com>
Cc: Edwin Chiu <edwinchiu0505tw@gmail.com>,
Sudeep Holla <sudeep.holla@arm.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"rafael@kernel.org" <rafael@kernel.org>,
"daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: [PATCH v5] cpuidle: sunplus: Create cpuidle driver for sunplus sp7021
Date: Tue, 1 Mar 2022 12:23:54 +0000 [thread overview]
Message-ID: <a2871e71-02af-198f-3944-d6565f3cd5f9@arm.com> (raw)
In-Reply-To: <7b09a22cc178439aa41a752af936313d@sphcmbx02.sunplus.com.tw>
On Tue, Mar 01, 2022 at 09:18:31AM +0000, Edwin Chiu 邱垂峰 wrote:
> >
> > You really don't need a cpuidle driver to just WFI for any states.
> > Add the driver when you have something non WFI in the suspend function.
> >
This is still valid and you haven't responded to this.
> > > +static const struct of_device_id sp7021_idle_state_match[] = {
> > > + { .compatible = "arm,idle-state", .data = sp7021_cpu_spc },
> > > + { },
> > > +};
> >
> > This is better than adding new driver like you did in previous version.
> >
> > I did a quick check but couldn't figure out. How do cpus get switched ON
> > or OFF on this platform(for example during CPU hotplug) ?.
> >
>
> In this patch, I just want to submit cpuidle function.
> So there have no cpu hotplug function now.
You need to document the binding now for both idle and hotplug. You
can't mix and match. You can either use PSCI or custom "sunplus,sc-smp"
for both cpu on/off and suspend. So you must document it now even if you
don't plan to support hotplug now. And when you add later, you must use
the same method.
However, you still don't need this driver for just WFI, so please
explain why you think otherwise. Until then, you still won't get ACK
from my side.
--
Regards,
Sudeep
next prev parent reply other threads:[~2022-03-01 12:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 7:26 [PATCH v5] Add cpuidle driver for Sunplus SP7021 Edwin Chiu
2022-02-21 7:26 ` [PATCH v5] cpuidle: sunplus: Create cpuidle driver for sunplus sp7021 Edwin Chiu
2022-02-21 10:51 ` Sudeep Holla
2022-03-01 9:18 ` Edwin Chiu 邱垂峰
2022-03-01 12:23 ` Sudeep Holla [this message]
2022-02-21 16:47 ` Krzysztof Kozlowski
2022-03-01 9:30 ` Edwin Chiu 邱垂峰
2022-03-01 11:33 ` Krzysztof Kozlowski
2022-03-03 9:01 ` Edwin Chiu 邱垂峰
2022-03-03 9:34 ` Krzysztof Kozlowski
2022-03-03 10:02 ` Sudeep Holla
2022-03-04 11:24 ` Edwin Chiu 邱垂峰
2022-03-04 14:37 ` Sudeep Holla
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=a2871e71-02af-198f-3944-d6565f3cd5f9@arm.com \
--to=sudeep.holla@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=edwin.chiu@sunplus.com \
--cc=edwinchiu0505tw@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.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®