lp:~mreed8855/ubuntu/+source/linux/+git/mantic

Owned by Michael Reed
Get this repository:
git clone https://git.not.enabled/~mreed8855/ubuntu/+source/linux/+git/mantic
Only Michael Reed can upload to this repository. If you are Michael Reed please log in for upload directions.

Branches

Name Last Modified Last Commit
cpuinfo_freq_mantic 2023-08-10 01:21:57 UTC
cpufreq: intel_pstate: Fix scaling for hybrid-capable systems with disabled E...

Author: Srinivas Pandruvada
Author Date: 2023-06-29 19:45:09 UTC

cpufreq: intel_pstate: Fix scaling for hybrid-capable systems with disabled E-cores

BugLink: https://bugs.launchpad.net/bugs/2030924

Some system BIOS configuration may provide option to disable E-cores.
As part of this change, CPUID feature for hybrid (Leaf 7 sub leaf 0,
EDX[15] = 0) may not be set. But HWP performance limits will still be
using a scaling factor like any other hybrid enabled system.

The current check for applying scaling factor will fail when hybrid
CPUID feature is not set and the only way to make sure that scaling
should be applied by checking CPPC nominal frequency and nominal
performance.

First, or systems predating Alder Lake, the CPPC nominal frequency and
nominal performance are 0, which can be used to distinguish those
systems from hybrid systems with disabled E-cores.

Second, if the CPPC nominal frequency and nominal performance are
defined, which indicates the need to use a special scaling factor, and
the nominal performance value multiplied by 100 is not equal to the
nominal frequency one, use hybrid scaling factor.

This can be done for all HWP systems without additional CPU model check.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
[ rjw: Subject and changelog edits, removal of unneeded parens, comment
  edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 0fcfc9e51990246a9813475716746ff5eb98c6aa)
Signed-off-by: Michael Reed <Michael.Reed@canonical.com>

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers