Skip to content

cpufreq: amd-pstate: Capacity Aware Scheduling on hybrid platforms

Vishal Badole linux-pm lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpufreq: amd-pstate: Set asymmetric CPU capacity on hybrid platformsMAINTAINERS drivers/cpufreq/amd-pstate.c include/linux/amd-pstate.h+115 -24 replies
2/2platform/x86/amd: hfi: Stand down when amd-pstate CAS is activedrivers/platform/x86/amd/hfi/hfi.c+8 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cpufreq: amd-pstate: Capacity Aware Scheduling on hybrid platforms

This series enables Capacity Aware Scheduling (CAS) for AMD heterogeneous processors that combine performance and efficiency cores.

amd-pstate does not export per-CPU capacity today, so the scheduler treats all cores as equal and places tasks without regard to core strength.

Patch 1 makes amd-pstate publish asymmetric per-CPU capacities via the arch hybrid capacity scaling interface. It is enabled by default on supported hardware and can be turned off with the "amd_cas=disable" boot parameter.

Patch 2 makes amd-hfi stand down when CAS is active, since both manage the same scheduler state.

Krishnamoorthi M (1):
platform/x86/amd: hfi: Stand down when amd-pstate CAS is active

Vishal Badole (1):
cpufreq: amd-pstate: Set asymmetric CPU capacity on hybrid platforms

 MAINTAINERS                        |   1 +
 drivers/cpufreq/amd-pstate.c       | 102 ++++++++++++++++++++++++++++-
 drivers/platform/x86/amd/hfi/hfi.c |   8 +++
 include/linux/amd-pstate.h         |  14 ++++
 4 files changed, 123 insertions(+), 2 deletions(-)
 create mode 100644 include/linux/amd-pstate.h
Signature · 1 line
2.34.1