Skip to content

intel_idle: Drop C-states redundant when PC6 is disabled

Artem Bityutskiy linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3intel_idle: Add constants for MSR_PKG_CST_CONFIG_CONTROLdrivers/idle/intel_idle.c+7 -20 replies
2/3intel_idle: Introduce a helper for checking PC6drivers/idle/intel_idle.c+24 -240 replies
3/3intel_idle: Drop C-states redundant when PC6 is disableddrivers/idle/intel_idle.c+53 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/3R-b
2/3R-b
3/3

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/3] intel_idle: Drop C-states redundant when PC6 is disabled

From: Artem Bityutskiy <[email protected]>

This patch series drops redundant requestable C-states when PC6 is disabled in BIOS. For example, Granite Rapids Xeon has two C6 flavors: C6 and C6P. C6 allows only core C6 (CC6), while C6P allows both CC6 and package C6 (PC6). When PC6 is disabled, C6P becomes identical to C6 and is therefore redundant. Refer to patch 3 for the full rationale and details.

Patches 1 and 2 prepare the code for patch 3. They introduce no functional changes, only restructure it to improve readability and maintainability.

For more information about Granite Rapids C6 vs C6P, refer to this article:
https://github.com/intel/pepc/blob/main/docs/misc-c6p-c6sp.md

Thanks, Artem.

Artem Bityutskiy (3):
intel_idle: Add constants for MSR_PKG_CST_CONFIG_CONTROL
intel_idle: Introduce a helper for checking PC6
intel_idle: Drop C-states redundant when PC6 is disabled

 drivers/idle/intel_idle.c | 104 +++++++++++++++++++++++++++++---------
 1 file changed, 81 insertions(+), 23 deletions(-)
Signature · 1 line
2.53.0