Merge branch 'pm-em'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2024 14:59:51 +0000 (15:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2024 14:59:51 +0000 (15:59 +0100)
commit3bd834640baa1e220a79e27d2033e2ef3a29124a
tree31d1e578d8696f7158c8033f7a57e730921e8c7d
parentc907ab55471c5ea07f33d799193cf2f5639d7046
parent3a561ea2413ea5a740f3b1d6b5355d46f88a7456
Merge branch 'pm-em'

Merge Enery Model changes for 6.9-rc1:

 - Allow the Energy Model to be updated dynamically (Lukasz Luba).

* pm-em: (24 commits)
  PM: EM: Fix nr_states warnings in static checks
  Documentation: EM: Update with runtime modification design
  PM: EM: Add em_dev_compute_costs()
  PM: EM: Remove old table
  PM: EM: Change debugfs configuration to use runtime EM table data
  drivers/thermal/devfreq_cooling: Use new Energy Model interface
  drivers/thermal/cpufreq_cooling: Use new Energy Model interface
  powercap/dtpm_devfreq: Use new Energy Model interface to get table
  powercap/dtpm_cpu: Use new Energy Model interface to get table
  PM: EM: Optimize em_cpu_energy() and remove division
  PM: EM: Support late CPUs booting and capacity adjustment
  PM: EM: Add performance field to struct em_perf_state and optimize
  PM: EM: Add em_perf_state_from_pd() to get performance states table
  PM: EM: Introduce em_dev_update_perf_domain() for EM updates
  PM: EM: Add functions for memory allocations for new EM tables
  PM: EM: Use runtime modified EM for CPUs energy estimation in EAS
  PM: EM: Introduce runtime modifiable table
  PM: EM: Split the allocation and initialization of the EM table
  PM: EM: Check if the get_cost() callback is present in em_compute_costs()
  PM: EM: Introduce em_compute_costs()
  ...
drivers/powercap/dtpm_cpu.c