mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] platform/x86/intel/uncore-freq: Enhance HW interface
@ 2022-02-04  0:03 Srinivas Pandruvada
  2022-02-04  0:03 ` [PATCH 1/4] platform/x86/intel/uncore-freq: Move to uncore-frequency folder Srinivas Pandruvada
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Srinivas Pandruvada @ 2022-02-04  0:03 UTC (permalink / raw)
  To: hdegoede, markgross
  Cc: platform-driver-x86, linux-kernel, Srinivas Pandruvada

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

-- 
2.31.1


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

end of thread, other threads:[~2022-02-17 12:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04  0:03 [PATCH 0/4] platform/x86/intel/uncore-freq: Enhance HW interface Srinivas Pandruvada
2022-02-04  0:03 ` [PATCH 1/4] platform/x86/intel/uncore-freq: Move to uncore-frequency folder Srinivas Pandruvada
2022-02-04  0:03 ` [PATCH 2/4] platform/x86/intel/uncore-freq: Use sysfs API to create attributes Srinivas Pandruvada
2022-02-04  0:03 ` [PATCH 3/4] platform/x86/intel/uncore-freq: Display uncore current frequency Srinivas Pandruvada
2022-02-04  0:03 ` [PATCH 4/4] platform/x86/intel-uncore-freq: Split common and enumeration part Srinivas Pandruvada
2022-02-17 12:25 ` [PATCH 0/4] platform/x86/intel/uncore-freq: Enhance HW interface Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®