Skip to content

thermal: processor_thermal: Suport workload hint

Srinivas Pandruvada linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesIn review
  2. v27 patches 3 repliesSuperseded
  3. v17 patches 12 repliesSuperseded

Changes in v3 from the cover letter

Changes in the commit log
Rename of files for using WT instead of WLT
Address comments from Rafael on v2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7thermal: int340x: processor_thermal: Move mailbox code to common moduledrivers/thermal/intel/int340x_thermal/Makefile drivers/thermal/intel/int340x_thermal/processor_thermal_device.c drivers/thermal/intel/int340x_thermal/processor_thermal_device.h +4 more+159 -1410 replies
2/7thermal: int340x: processor_thermal: Add interrupt configurationdrivers/thermal/intel/int340x_thermal/processor_thermal_device.h drivers/thermal/intel/int340x_thermal/processor_thermal_mbox.c+68 -190 replies
3/7thermal: int340x: processor_thermal: Use non MSI interrupts by defaultdrivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c+21 -90 replies
4/7thermal/drivers/int340x: Remove PROC_THERMAL_FEATURE_WLT_REQ for Meteor Lakedrivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c+1 -20 replies
5/7thermal: int340x: processor_thermal: Add workload type hint interfaceDocumentation/driver-api/thermal/intel_dptf.rst drivers/thermal/intel/int340x_thermal/Makefile drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +3 more+323 -10 replies
6/7thermal/drivers/int340x: Support workload hint interruptsdrivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c+32 -70 replies
7/7selftests/thermel/intel: Add test to read workload hinttools/testing/selftests/Makefile tools/testing/selftests/thermal/intel/workload_hint/Makefile tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c+170 -00 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchZhang Rui
1/7R-b
2/7
3/7
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] thermal: processor_thermal: Suport workload hint

Add support for Meteor Lake workload hints. Before adding this support, some reorganization and clean up is required.
First four changes are for clean up and to reorganize code to add support for workload hint. The last patch adds a test program as part of self tests.

v3:
Changes in the commit log
Rename of files for using WT instead of WLT
Address comments from Rafael on v2

v2:
Changes in comments and commit log
Self test program is improved to disable workloadtype notification on exit

Srinivas Pandruvada (7):
thermal: int340x: processor_thermal: Move mailbox code to common
module
thermal: int340x: processor_thermal: Add interrupt configuration
thermal: int340x: processor_thermal: Use non MSI interrupts by default thermal/drivers/int340x: Remove PROC_THERMAL_FEATURE_WLT_REQ for
Meteor Lake
thermal: int340x: processor_thermal: Add workload type hint interface thermal/drivers/int340x: Support workload hint interrupts selftests/thermel/intel: Add test to read workload hint

 .../driver-api/thermal/intel_dptf.rst         |  51 ++++
 .../thermal/intel/int340x_thermal/Makefile    |   2 +
 .../processor_thermal_device.c                |  17 +-
 .../processor_thermal_device.h                |  21 +-
 .../processor_thermal_device_pci.c            |  79 ++++--
 .../processor_thermal_device_pci_legacy.c     |   3 +-
 .../int340x_thermal/processor_thermal_mbox.c  | 179 ++++---------
 .../processor_thermal_wt_hint.c               | 252 ++++++++++++++++++
 .../processor_thermal_wt_req.c                | 136 ++++++++++
 tools/testing/selftests/Makefile              |   1 +
 .../thermal/intel/workload_hint/Makefile      |  12 +
 .../intel/workload_hint/workload_hint_test.c  | 157 +++++++++++
 12 files changed, 752 insertions(+), 158 deletions(-)
 create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_wt_hint.c
 create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_wt_req.c
 create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/Makefile
 create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c
Signature · 1 line
2.40.1