Granite Rapids Idle/P-State Work For Linux 6.12 & An Important AMD Energy Reporting Fix

Written by Michael Larabel in Hardware on 20 August 2024 at 09:36 AM EDT. 1 Comment
HARDWARE
Queued yesterday into the Linux power management subsystem's "linux-next" branch ahead of the Linux 6.12 kernel are some important additions for Intel processors and also an important fix for AMD processors to enjoy package power monitoring.

New on the Intel side is Intel_Idle driver support for Granite Rapids Xeon being queued. The patch message explains of the Intel Idle CPU handling for upcoming Granite Rapids:
"Add Granite Rapids Xeon C-states, which are C1, C1E, C6, and C6P.

Comparing to previous Xeon Generations (e.g., Emerald Rapids), C6 requests end up only in core C6 state, and no package C-state promotion takes place even if all cores in the package are in core C6.

C6P requests also end up in core C6, but if all cores have requested C6P, the SoC will enter the package C6 state."

It's a bit surprising the Granite Rapids support for the Intel_Idle driver didn't land months ago. Also on the Granite Rapids side is this patch also queued yesterday ahead of Linux 6.12. That patch for the Intel P-State CPU frequency scaling driver gets out-of-band (OOB) mode support working for both Granite Rapids and Sapphire Rapids Xeon Scalable processors. Emerald Rapids OOB support for Intel P-State was already in place but older Sapphire Rapids and newer Granite Rapids was missing the IDs.

Intel Sapphire Rapids server


Also on the Intel power management side for Linux 6.12 that was queued up yesterday is Arrow Lake U support for the Intel RAPL driver for power monitoring.

Over on the AMD side entering the power management queue yesterday is this fix for AMD energy package event reporting. This is important for proper RAPL power reporting to avoid inaccurate power readings due to a regression since Linux 6.10. (An issue I originally encountered and reported and already worked around for all my recent CPU power reporting.)

Still yet to be queued up for Linux power management's linux-next or as 6.11 fixes is this one line patch for RAPL support on AMD Family 1Ah (Zen 5) processors.

We'll see what more power management work is readied in time for the upcoming Linux 6.12 cycle.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week