Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] cpufreq: intel_pstate: Add scaling factor for Bartlett Lake P-core only SKUs
@ 2026-05-08  6:30 Henry Tseng
  2026-05-08  6:30 ` [PATCH v2 1/2] cpufreq: intel_pstate: Fix scaling for hybrid-capable CPUs not reporting hybrid Henry Tseng
  2026-05-08  6:30 ` [PATCH v2 2/2] cpufreq: intel_pstate: Use HYBRID_SCALING_FACTOR_ADL for Bartlett Lake Henry Tseng
  0 siblings, 2 replies; 4+ messages in thread
From: Henry Tseng @ 2026-05-08  6:30 UTC (permalink / raw)
  To: Srinivas Pandruvada, Rafael J. Wysocki, Len Brown, Viresh Kumar
  Cc: linux-pm, SW Chen, Kevin Ko, Henry Tseng

On Bartlett Lake P-core only SKUs (e.g. Intel Core 9 273PE),
cpuinfo_max_freq is reported as 7.0/7.3 GHz, exceeding the datasheet
Max Turbo Frequency of 5.7 GHz.  Root cause: hwp_get_cpu_scaling()
returns 100000 (default core scaling) instead of the correct factor
78741.

Patch 1 fixes a framework regression introduced by 9b18d536b124,
where the registered hybrid_scaling_factor is bypassed for
table-registered models not reporting X86_FEATURE_HYBRID_CPU.
Patch 1 must apply before patch 2; the Bartlett Lake entry alone has
no effect on these SKUs without the framework fix.

Patch 2 adds Bartlett Lake to intel_hybrid_scaling_factor[] with
HYBRID_SCALING_FACTOR_ADL.

---
v2:
  - Reuse intel_hybrid_scaling_factor[] with HYBRID_SCALING_FACTOR_ADL
    instead of introducing a new intel_cppc_scaling_ids[] table and
    computing the scaling factor via CPPC at runtime.
  - Split into two patches: framework fix + Bartlett Lake entry.
v1:
  - https://lore.kernel.org/linux-pm/20260506095157.1591221-1-henrytseng@qnap.com/

Henry Tseng (2):
  cpufreq: intel_pstate: Fix scaling for hybrid-capable CPUs not
    reporting hybrid
  cpufreq: intel_pstate: Use HYBRID_SCALING_FACTOR_ADL for Bartlett Lake

 drivers/cpufreq/intel_pstate.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-10 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08  6:30 [PATCH v2 0/2] cpufreq: intel_pstate: Add scaling factor for Bartlett Lake P-core only SKUs Henry Tseng
2026-05-08  6:30 ` [PATCH v2 1/2] cpufreq: intel_pstate: Fix scaling for hybrid-capable CPUs not reporting hybrid Henry Tseng
2026-05-10 14:34   ` srinivas pandruvada
2026-05-08  6:30 ` [PATCH v2 2/2] cpufreq: intel_pstate: Use HYBRID_SCALING_FACTOR_ADL for Bartlett Lake Henry Tseng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox