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

From: Zhang Rui
Date: Wed Jan 31 2024 - 06:38:50 EST


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(-)