RFC Add a header for MSR_PKG_CST_CONFIG_CONTROL
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest1 patch 2 repliesIn review
- v1 RFC1 patch 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | x86: msr: add 'msr_pkg_cst_config_control.h' headerarch/ drivers/ drivers/ | +46 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/1] Add a header for MSR_PKG_CST_CONFIG_CONTROL
From: Artem Bityutskiy <[email protected]>
Implement a suggestion from Rafael Wysocki. Previous version of the RFC:
https://lore.kernel.org/linux-pm/[email protected]/T/#t
The suggestion is to add a common helper for switching the C1 demotion feature on/off via MSR_PKG_CST_CONFIG_CONTROL.
Still RFC because I feel like the common helper is not universal enough, because the bit number was different on the Lincroft platform, and the MSR is not architectural, so may change from platform to platform.
Therefore, just to linux-pm as RFC so far, and as a single patch.
This patch applies on top of the following patch-set that I sent to linux-pm a bit earlier today:
Subject: [PATCH v3 0/3] intel_idle: Add C1 demotion on/off sysfs knob
Artem Bityutskiy (1):
x86: msr: add 'msr_pkg_cst_config_control.h' header
.../include/asm/msr_pkg_cst_config_control.h | 41 +++++++++++++++++++ drivers/idle/intel_idle.c | 10 +---- drivers/platform/x86/intel/pmc/cnp.c | 7 ++-- 3 files changed, 46 insertions(+), 12 deletions(-) create mode 100644 arch/x86/include/asm/msr_pkg_cst_config_control.h
Signature · 1 line
2.48.1