Skip to content

powercap, intel_rapl, implement time window checks

Prarit Bhargava lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powercap, intel_rapl, implement get_max_time_windowdrivers/powercap/intel_rapl.c drivers/powercap/powercap_sys.c+35 -22 replies
2/3powercap, intel_rapl, implement check for minimum time windowdrivers/powercap/intel_rapl.c+9 -20 replies
3/3powercap, intel_rapl, Add ignore_max_time_window_check module parameter for broken BIOSesdrivers/powercap/intel_rapl.c+15 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] powercap, intel_rapl, implement time window checks

Try #2 at this ....

P.

------8<---------

The Intel ASDM provides a maximum time window that can be specified when setting a time window in the RAPL driver. While the ASDM doesn't explicitly provide a minimum time window value, it does provide a minimum time window unit that also can be used as a minimum value.

This patchset implements barrier checking for the time windows, and adds reporting of a known bug in which the maxmimum time window value may be erroneously set to 0, as well as a module parameter to avoid the maximum window checks on broken BIOSes.

[v2]: update 3/3 with minor changes

Cc "Rafael J. Wysocki" <[email protected]>
Cc Prarit Bhargava <[email protected]>
Cc Radivoje Jovanovic <[email protected]>
Cc Seiichi Ikarashi <[email protected]>
Cc Mathias Krause <[email protected]>
Cc Ajay Thomas <[email protected]>

Prarit Bhargava (3):
powercap, intel_rapl, implement get_max_time_window powercap, intel_rapl, implement check for minimum time window powercap, intel_rapl, Add ignore_max_time_window_check module
parameter for broken BIOSes

 drivers/powercap/intel_rapl.c   |   50 +++++++++++++++++++++++++++++++++++++++
 drivers/powercap/powercap_sys.c |    6 +++--
 2 files changed, 54 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.3