Re: [PATCH v3] cpufreq/amd-pstate: Cache the max frequency in cpudata

From: Mario Limonciello

Date: Tue Mar 31 2026 - 08:11:12 EST




On 3/31/26 4:12 AM, Gautham R. Shenoy wrote:
Hello Mario,

On Thu, Mar 26, 2026 at 02:36:20PM -0500, Mario Limonciello wrote:
From: "Mario Limonciello (AMD)" <superm1@xxxxxxxxxx>

The value of maximum frequency is fixed and never changes. Doing
calculations every time based off of perf is unnecessary.

Signed-off-by: Mario Limonciello (AMD) <superm1@xxxxxxxxxx>

This one looks good to me. Thanks for fixing this.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@xxxxxxx>


Thanks, I've applied it.