Skip to content

powercap: intel_rapl: Fixes and new platform enabling

Zhang Rui linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6powercap: intel_rapl: Fix a NULL pointer dereference bugdrivers/powercap/intel_rapl_common.c+5 -00 replies
2/6powercap: intel_rapl: Fix locking for TPMI RAPLdrivers/powercap/intel_rapl_common.c drivers/powercap/intel_rapl_msr.c drivers/thermal/intel/int340x_thermal/processor_thermal_rapl.c +1 more+40 -110 replies
3/6powercap: intel_rapl_tpmi: Fix a register bugdrivers/powercap/intel_rapl_tpmi.c+1 -00 replies
4/6powercap: intel_rapl_tpmi: Fix System Domain probingdrivers/powercap/intel_rapl_tpmi.c+14 -00 replies
5/6powercap: intel_rapl: Add support for LNL-M paltformdrivers/powercap/intel_rapl_common.c+1 -00 replies
6/6powercap: intel_rapl: add support for Arrow Lakedrivers/powercap/intel_rapl_common.c+1 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] powercap: intel_rapl: Fixes and new platform enabling

Patch 1/6 fixes a real bug when MMIO RAPL driver is probed on platforms that are not listed in current CPU model list. IMO, it should be considered as stable material.

Patch 2/6 fixes a potential racing issue, but I have not reproduced it yet.

Patch 3/6 ~ 4/6 fix a problem that TPMI RAPL driver probes disabled System (Psys) RAPL Domains.

Patch 5/6 and 6/6 are two simple CPU model updates to support MSR RAPL on Arrowlake and Lunarlake platforms.

thanks,
rui

----------------------------------------------------------------
Sumeet Pawnikar (1):
powercap: intel_rapl: add support for Arrow Lake

Zhang Rui (5):
powercap: intel_rapl: Fix a NULL pointer reference bug
powercap: intel_rapl: Fix locking for TPMI RAPL
powercap: intel_rapl_tpmi: Fix a register bug
powercap: intel_rapl_tpmi: Fix System Domain probing
powercap: intel_rapl: Add support for LNL-M paltform

 drivers/powercap/intel_rapl_common.c               | 36 ++++++++++++++++++++--
 drivers/powercap/intel_rapl_msr.c                  |  8 ++---
 drivers/powercap/intel_rapl_tpmi.c                 | 15 +++++++++
 .../intel/int340x_thermal/processor_thermal_rapl.c |  8 ++---
 include/linux/intel_rapl.h                         |  6 ++++
 5 files changed, 62 insertions(+), 11 deletions(-)