mbox series

[0/5] thermal: processor_thermal: Power floor status

Message ID 20230926225813.995948-1-srinivas.pandruvada@linux.intel.com
Headers show
Series thermal: processor_thermal: Power floor status | expand

Message

Srinivas Pandruvada Sept. 26, 2023, 10:58 p.m. UTC
Support power floor notifications for Meteor Lake processors.

The first change is to prepare for power floor status and others
add support for power floor.

Srinivas Pandruvada (5):
  thermal: int340x: processor_thermal: Set feature mask before
    proc_thermal_add
  thermal: int340x: processor_thermal: Support power floor notifications
  thermal: int340x: processor_thermal: Handle power floor interrupts
  thermal: int340x: processor_thermal: Enable power floor support
  selftests/thermel/intel: Add test to read power floor status

 .../driver-api/thermal/intel_dptf.rst         |   8 ++
 .../thermal/intel/int340x_thermal/Makefile    |   1 +
 .../processor_thermal_device.c                |  68 ++++++++++-
 .../processor_thermal_device.h                |   8 ++
 .../processor_thermal_device_pci.c            |  29 +++--
 .../processor_thermal_power_floor.c           | 114 ++++++++++++++++++
 tools/testing/selftests/Makefile              |   1 +
 .../thermal/intel/power_floor/Makefile        |  12 ++
 .../intel/power_floor/power_floor_test.c      | 108 +++++++++++++++++
 9 files changed, 336 insertions(+), 13 deletions(-)
 create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_power_floor.c
 create mode 100644 tools/testing/selftests/thermal/intel/power_floor/Makefile
 create mode 100644 tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c