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

Vishal Badole posted 2 patches 2 weeks, 2 days ago
There is a newer version of this series
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
[PATCH 0/2] cpufreq: amd-pstate: Capacity Aware Scheduling on hybrid platforms
Posted by Vishal Badole 2 weeks, 2 days ago
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

-- 
2.34.1