From: Mario Limonciello <mario.limonciello@amd.com>
To: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
gautham.shenoy@amd.com, perry.yuan@amd.com, rafael@kernel.org,
viresh.kumar@linaro.org
Subject: Re: [PATCH 0/5] cpufreq/amd-pstate: Reuse and refactor code
Date: Wed, 4 Dec 2024 11:07:58 -0600 [thread overview]
Message-ID: <9cd10b8b-ff56-4171-ad9c-df84fdad6be2@amd.com> (raw)
In-Reply-To: <20241204144842.164178-1-Dhananjay.Ugwekar@amd.com>
On 12/4/2024 08:48, Dhananjay Ugwekar wrote:
> Use static calls to avoid frequent MSR/shared memory system checks.
>
> Reuse existing functions amd_pstate_update_perf() and
> amd_pstate_set_epp() instead of duplicating code.
>
> Remove an unnecessary check for active mode in online and offline
> functions.
>
> Eliminate a redundant function amd_pstate_epp_offline().
>
> Dhananjay Ugwekar (5):
> cpufreq/amd-pstate: Convert the amd_pstate_get/set_epp() to static
> calls
> cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf()
> cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and
> amd_pstate_epp_offline()
> cpufreq/amd-pstate: Remove the cppc_state check in offline/online
> functions
> cpufreq/amd-pstate: Merge amd_pstate_epp_cpu_offline() and
> amd_pstate_epp_offline()
>
> drivers/cpufreq/amd-pstate.c | 151 +++++++++++++++++------------------
> 1 file changed, 73 insertions(+), 78 deletions(-)
>
For the patches not already reviewed:
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
I'll add this to superm1/bleeding-edge.
I have another series that I will build on top of it as well.
next prev parent reply other threads:[~2024-12-04 17:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 14:48 [PATCH 0/5] cpufreq/amd-pstate: Reuse and refactor code Dhananjay Ugwekar
2024-12-04 14:48 ` [PATCH 1/5] cpufreq/amd-pstate: Convert the amd_pstate_get/set_epp() to static calls Dhananjay Ugwekar
2024-12-06 4:43 ` Gautham R. Shenoy
2024-12-04 14:48 ` [PATCH 2/5] cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf() Dhananjay Ugwekar
2024-12-06 4:45 ` Gautham R. Shenoy
2024-12-04 14:48 ` [PATCH 3/5] cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and amd_pstate_epp_offline() Dhananjay Ugwekar
2024-12-04 22:55 ` kernel test robot
2024-12-06 5:01 ` Gautham R. Shenoy
2024-12-04 14:48 ` [PATCH 4/5] cpufreq/amd-pstate: Remove the cppc_state check in offline/online functions Dhananjay Ugwekar
2024-12-04 14:48 ` [PATCH 5/5] cpufreq/amd-pstate: Merge amd_pstate_epp_cpu_offline() and amd_pstate_epp_offline() Dhananjay Ugwekar
2024-12-04 17:07 ` Mario Limonciello [this message]
2024-12-05 4:29 ` [PATCH 0/5] cpufreq/amd-pstate: Reuse and refactor code Dhananjay Ugwekar
2024-12-05 4:50 ` Mario Limonciello
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=9cd10b8b-ff56-4171-ad9c-df84fdad6be2@amd.com \
--to=mario.limonciello@amd.com \
--cc=Dhananjay.Ugwekar@amd.com \
--cc=gautham.shenoy@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=perry.yuan@amd.com \
--cc=rafael@kernel.org \
--cc=viresh.kumar@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