mbox series

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

Message ID 20240131113713.74779-1-rui.zhang@intel.com (mailing list archive)
Headers show
Series powercap: intel_rapl: Fixes and new platform enabling | expand

Message

Zhang Rui Jan. 31, 2024, 11:37 a.m. UTC
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(-)

Comments

Rafael J. Wysocki Feb. 13, 2024, 6:37 p.m. UTC | #1
On Wed, Jan 31, 2024 at 12:37 PM Zhang Rui <rui.zhang@intel.com> wrote:
>
> 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(-)

All applied as 6.9 material with some minor changes in the subject and
changelogs of the last two patches.

Thanks!