The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: David Vernet <void@manifault.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>
Cc: "Gautham R. Shenoy" <gautham.shenoy@amd.com>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	"André Almeida" <andrealmeid@igalia.com>,
	"Changwoo Min" <changwoo@igalia.com>
Subject: Re: [RFC PATCH 1/4] cpufreq/amd-pstate: Document missing kernel-doc members
Date: Tue, 28 Jul 2026 10:06:32 -0500	[thread overview]
Message-ID: <6922d983-d1da-45fe-b402-7de54ce2f180@kernel.org> (raw)
In-Reply-To: <20260728073150.54964-2-void@manifault.com>



On 7/28/26 02:31, David Vernet wrote:
> kernel-doc warns about five undescribed members in amd-pstate.h:
> union perf_cached's @val and struct amd_cpudata's @raw_epp,
> @current_profile, @ppdev and @profile_name. Describe them.
> 
> Signed-off-by: David Vernet <void@manifault.com>
> ---
>   drivers/cpufreq/amd-pstate.h | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/cpufreq/amd-pstate.h b/drivers/cpufreq/amd-pstate.h
> index 23e8baa05849..99532595150e 100644
> --- a/drivers/cpufreq/amd-pstate.h
> +++ b/drivers/cpufreq/amd-pstate.h
> @@ -32,6 +32,7 @@
>    * @min_limit_perf: Cached value of the performance corresponding to policy->min
>    * @max_limit_perf: Cached value of the performance corresponding to policy->max
>    * @bios_min_perf: Cached perf value corresponding to the "Requested CPU Min Frequency" BIOS option
> + * @val: Raw 64-bit value for atomic access via READ_ONCE()/WRITE_ONCE()
>    */
>   union perf_cached {
>   	struct {
> @@ -89,7 +90,12 @@ struct amd_aperf_mperf {
>    * @epp_default_ac: Default EPP value for AC power source
>    * @epp_default_dc: Default EPP value for DC power source
>    * @dynamic_epp: Whether dynamic EPP is enabled
> + * @raw_epp: Whether the last EPP write was a raw numeric value rather than a
> + *	     named preference
>    * @power_nb: Notifier block for power events
> + * @current_profile: Currently selected platform profile option
> + * @ppdev: Device registered with the platform profile handler
> + * @profile_name: Name under which @ppdev is registered
>    *
>    * The amd_cpudata is key private data for each CPU thread in AMD P-State, and
>    * represents all the attributes and goals that AMD P-State requests at runtime.

Thanks!

This is a pure doc fix.  I'll pick it up from the series to include in 
my 7.3 PR later this week.

Acked-by: Mario Limonciello (AMD) <superm1@kernel.org>

  reply	other threads:[~2026-07-28 15:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28  7:31 [RFC PATCH 0/4] cpufreq/amd-pstate: Per-core EPP boost for recently-busy CPUs David Vernet
2026-07-28  7:31 ` [RFC PATCH 1/4] cpufreq/amd-pstate: Document missing kernel-doc members David Vernet
2026-07-28 15:06   ` Mario Limonciello [this message]
2026-07-28  7:31 ` [RFC PATCH 2/4] cpufreq/amd-pstate: Update cppc_req_cached before writing the MSR David Vernet
2026-07-28  7:31 ` [RFC PATCH 3/4] cpufreq/amd-pstate: Add per-core EPP boost for recently-busy CPUs David Vernet
2026-07-28 21:02   ` Mario Limonciello
2026-07-28  7:31 ` [RFC PATCH 4/4] Documentation: amd-pstate: Document the epp_boost parameter David Vernet
2026-07-28  7:36 ` [RFC PATCH 0/4] cpufreq/amd-pstate: Per-core EPP boost for recently-busy CPUs David Vernet
2026-07-28 14:17 ` Christian Loehle
2026-07-28 19:43   ` 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=6922d983-d1da-45fe-b402-7de54ce2f180@kernel.org \
    --to=superm1@kernel.org \
    --cc=andrealmeid@igalia.com \
    --cc=changwoo@igalia.com \
    --cc=gautham.shenoy@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=void@manifault.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