Skip to content

platform/x86/intel/uncore-freq: Enhance HW interface

Srinivas Pandruvada lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86/intel/uncore-freq: Move to uncore-frequency folderdrivers/platform/x86/intel/Kconfig drivers/platform/x86/intel/Makefile drivers/platform/x86/intel/uncore-frequency/Kconfig +2 more+32 -140 replies
2/4platform/x86/intel/uncore-freq: Use sysfs API to create attributesdrivers/platform/x86/intel/uncore-frequency/uncore-frequency.c+113 -1120 replies
3/4platform/x86/intel/uncore-freq: Display uncore current frequencydrivers/platform/x86/intel/uncore-frequency/uncore-frequency.c+62 -90 replies
4/4platform/x86/intel-uncore-freq: Split common and enumeration partdrivers/platform/x86/intel/uncore-frequency/Makefile drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.h +1 more+365 -2830 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRafael J. Wysocki
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] platform/x86/intel/uncore-freq: Enhance HW interface

The uncore frequency scaling is getting used by more customers to either have a deterministic performance or control power consumption. The uncore frequency scaling depends on non architecture MSRs, format of those MSR can be different on different generations of CPUs. This series prepares for easy addition of new HW interface.

There are no functional changes done except adding a new addition to read uncore frequency.

- The first patch creates a separate folder for uncore-freq.
- The second patch uses sysfs groups to create attributes.
- The third patch adds capability to read current uncore frequency.
- The fourth patch splits common and enumeration part. The enumeration part will be specific to each HW interface.

Srinivas Pandruvada (4):
platform/x86/intel/uncore-freq: Move to uncore-frequency folder platform/x86/intel/uncore-freq: Use sysfs API to create attributes platform/x86/intel/uncore-freq: Display uncore current frequency platform/x86/intel-uncore-freq: Split common and enumeration part

 drivers/platform/x86/intel/Kconfig            |  14 +-
 drivers/platform/x86/intel/Makefile           |   4 +-
 drivers/platform/x86/intel/uncore-frequency.c | 452 ------------------
 .../x86/intel/uncore-frequency/Kconfig        |  21 +
 .../x86/intel/uncore-frequency/Makefile       |   9 +
 .../uncore-frequency-common.c                 | 252 ++++++++++
 .../uncore-frequency-common.h                 |  62 +++
 .../intel/uncore-frequency/uncore-frequency.c | 272 +++++++++++
 8 files changed, 620 insertions(+), 466 deletions(-)
 delete mode 100644 drivers/platform/x86/intel/uncore-frequency.c
 create mode 100644 drivers/platform/x86/intel/uncore-frequency/Kconfig
 create mode 100644 drivers/platform/x86/intel/uncore-frequency/Makefile
 create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
 create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.h
 create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
Signature · 1 line
2.31.1