linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cpufreq: intel_pstate: HWP support on hybrid processors
@ 2021-05-12 14:14 Rafael J. Wysocki
  2021-05-12 14:15 ` [PATCH 1/2] cpufreq: intel_pstate: hybrid: Avoid exposing two global attributes Rafael J. Wysocki
  2021-05-12 14:19 ` [PATCH 2/2] cpufreq: intel_pstate: hybrid: CPU-specific scaling factor Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2021-05-12 14:14 UTC (permalink / raw)
  To: Linux PM
  Cc: Linux ACPI, LKML, Len Brown, Chen Yu, Srinivas Pandruvada, Zhang Rui

Hi All,

In Intel Hybrid processors there are cores with different micro-architecture,
so the relationship between CPU frequency and performance is generally not
uniform across all CPUs.  Because the units of CPU performance used in the
MSR_HWP_CAPABILITIES and MSR_HWP_REQUEST registers are the same for all CPUs,
the scaling between HWP performance levels and frequency generally depends on
the core type and it is not uniform across all CPUs either, so some assumptions
made by intel_pstate are not applicable to hybrid processors.

As the scaling factor between HWP performance and frequency will now generally
depend on the CPU, in particular it cannot be assumed to be equal to the
scaling factor between P-states and frequency for all CPUs which has been one
of the assumptions made so far by intel_pstate.  Unfortunately, in general it
is not very straightforward to determine that scaling factor which is the
purpose of patch [2/2] (please refer to the changelog of that patch for
details).

Moreover, two of the global sysfs attributes exposed by intel_pstate only work
as expected if all CPUs have the same number of HWP performance levels, so it
is better to avoid exposing those attributes when running on hybrid processors,
which is taken care of by patch [1/2].

Thanks!




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

end of thread, other threads:[~2021-05-12 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 14:14 [PATCH 0/2] cpufreq: intel_pstate: HWP support on hybrid processors Rafael J. Wysocki
2021-05-12 14:15 ` [PATCH 1/2] cpufreq: intel_pstate: hybrid: Avoid exposing two global attributes Rafael J. Wysocki
2021-05-12 14:19 ` [PATCH 2/2] cpufreq: intel_pstate: hybrid: CPU-specific scaling factor Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).