public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jonathanh@nvidia.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	MyungJoo Ham <myungjoo.ham@samsung.com>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Dmitry Osipenko <digetx@gmail.com>,
	Thierry Reding <thierry.reding@gmail.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	Robie Basak <robibasa@qti.qualcomm.com>
Subject: Re: [PATCH] devreq: move governor.h to a public header location
Date: Wed, 17 Sep 2025 14:39:52 +0100	[thread overview]
Message-ID: <074aaf93-b402-4228-a843-227a6323bffc@nvidia.com> (raw)
In-Reply-To: <20250903-governor-public-v1-1-111abd89a89a@oss.qualcomm.com>


On 03/09/2025 14:43, Dmitry Baryshkov wrote:
> Some device drivers (and out-of-tree modules) might want to define
> device-specific device governors. Rather than restricting all of them to
> be a part of drivers/devfreq/ (which is not possible for out-of-tree
> drivers anyway) move governor.h to include/linux/devfreq-governor.h and
> update all drivers to use it.
> 
> The devfreq_cpu_data is only used internally, by the passive governor,
> so it is moved to the driver source rather than being a part of the
> public interface.
> 
> Reported-by: Robie Basak <robibasa@qti.qualcomm.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
>   drivers/devfreq/devfreq.c                          |  2 +-
>   drivers/devfreq/governor_passive.c                 | 27 +++++++++++++++++-
>   drivers/devfreq/governor_performance.c             |  2 +-
>   drivers/devfreq/governor_powersave.c               |  2 +-
>   drivers/devfreq/governor_simpleondemand.c          |  2 +-
>   drivers/devfreq/governor_userspace.c               |  2 +-
>   drivers/devfreq/hisi_uncore_freq.c                 |  3 +-
>   drivers/devfreq/tegra30-devfreq.c                  |  3 +-
>   .../governor.h => include/linux/devfreq-governor.h | 33 +++-------------------
>   9 files changed, 37 insertions(+), 39 deletions(-)

For the Tegra part ...

Acked-by: Jon Hunter <jonathanh@nvidia.com>

Jon

-- 
nvpublic


  parent reply	other threads:[~2025-09-17 13:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-03 13:43 [PATCH] devreq: move governor.h to a public header location Dmitry Baryshkov
2025-09-16 17:24 ` Dmitry Baryshkov
2025-09-17 13:39 ` Jon Hunter [this message]
2025-09-18  1:57 ` Mikko Perttunen
2025-09-26  3:16 ` Jie Zhan
2025-09-26 10:33   ` Jon Hunter
2025-09-28  2:01     ` Jie Zhan

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=074aaf93-b402-4228-a843-227a6323bffc@nvidia.com \
    --to=jonathanh@nvidia.com \
    --cc=cw00.choi@samsung.com \
    --cc=digetx@gmail.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=robibasa@qti.qualcomm.com \
    --cc=thierry.reding@gmail.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