Re: [PATCH v1] cpufreq: intel_pstate: Skip HWP_CAP reads in Broadwell mode
From: Rafael J. Wysocki
Date: Mon Jun 22 2026 - 12:38:44 EST
On Sun, Jun 21, 2026 at 11:39 PM srinivas pandruvada
<srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
>
> On Fri, 2026-06-19 at 21:24 +0200, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > When running in the Broadwell HWP mode, the turbo, max and min
> > P-state values are retrieved from MSR_PLATFORM_INFO, so reading
> > MSR_HWP_CAPABILITIES in that mode in order to update those values
> > is pointless. Moreover, using the MSR_HWP_CAPABILITIES value for
> > updating them in the Broadwell mode may be harmful, so avoid doing
> > that altogether.
> >
> > Fixes: de5bcf404ace ("cpufreq: intel_pstate: Clean up frequency
> > computations")
>
>
> Can't apply this patch on the latest Linux master even after applying
> prior 6 patches.
> What is this based on?
It should apply to
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=5504ce0317f777dcf102751c3e518284226fc2e1
but let me double check.
In any case, there will be a v2 due to the feedback from Yu.