From: srinivas pandruvada <srinivas.pandruvada@linux.intel.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
rui.zhang@intel.com, amitk@kernel.org
Subject: Re: [PATCH v3 2/4] powercap: idle_inject: Add update callback
Date: Thu, 19 Jan 2023 10:01:06 -0800 [thread overview]
Message-ID: <75ce7c301f0f3b8d1bd7fa94e0f54984ccb851be.camel@linux.intel.com> (raw)
In-Reply-To: <CAJZ5v0jzYbpeVxtuqMWUN+X-wwYtKYq=7Ky3jRnb_S6NZc1RVQ@mail.gmail.com>
On Tue, 2023-01-17 at 16:09 +0100, Rafael J. Wysocki wrote:
Hi Daniel,
> On Tue, Jan 17, 2023 at 4:08 PM srinivas pandruvada
> <srinivas.pandruvada@linux.intel.com> wrote:
> >
> > On Tue, 2023-01-17 at 12:13 +0100, Daniel Lezcano wrote:
> > > On 17/01/2023 03:07, Srinivas Pandruvada wrote:
> > >
> > > [ ... ]
> > >
> > > > +struct idle_inject_device *idle_inject_register(struct cpumask
> > > > *cpumask)
> > > > +{
> > > > + return idle_inject_register_full(cpumask, NULL);
> > > > +}
> > > > EXPORT_SYMBOL_NS_GPL(idle_inject_register, IDLE_INJECT);
> > >
> > > Why not just add the parameter to idle_inject_register() ?
> > >
> > > There is only one user ATM
> > That was done in v1. But Rafael suggested to avoid changes to
> > existing
> > kernel source.
>
> However, it can be done if Daniel prefers that. It is 1 callback now
> only, so no big deal I suppose.
Do you have preference? I can submit an update.
Thanks,
Srinivas
next prev parent reply other threads:[~2023-01-20 4:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 2:07 [PATCH v3 0/4] Per CPU idle injection Srinivas Pandruvada
2023-01-17 2:07 ` [PATCH v3 1/4] powercap: idle_inject: Export symbols Srinivas Pandruvada
2023-01-17 9:34 ` Daniel Lezcano
2023-01-17 2:07 ` [PATCH v3 2/4] powercap: idle_inject: Add update callback Srinivas Pandruvada
2023-01-17 11:13 ` Daniel Lezcano
2023-01-17 15:08 ` srinivas pandruvada
2023-01-17 15:09 ` Rafael J. Wysocki
2023-01-19 18:01 ` srinivas pandruvada [this message]
2023-01-17 2:07 ` [PATCH v3 3/4] thermal/drivers/intel_powerclamp: Use powercap idle-inject framework Srinivas Pandruvada
2023-01-17 11:16 ` Daniel Lezcano
2023-01-17 14:49 ` Rafael J. Wysocki
2023-01-17 14:55 ` Daniel Lezcano
2023-01-17 2:07 ` [PATCH v3 4/4] thermal/drivers/intel_cpu_idle_cooling: Introduce Intel cpu idle cooling driver Srinivas Pandruvada
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=75ce7c301f0f3b8d1bd7fa94e0f54984ccb851be.camel@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=amitk@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.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