1. 12 Jul, 2024 3 commits
  2. 10 Jul, 2024 1 commit
  3. 09 Jul, 2024 3 commits
  4. 04 Jul, 2024 2 commits
  5. 27 Jun, 2024 1 commit
  6. 25 Jun, 2024 2 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'thermal-core' · 06d55c42
      Rafael J. Wysocki authored
      Merge thermal core changes for v6.11:
      
       - Fix and clean up several minor shortcomings in thermal debug (Rafael
         Wysocki).
      
       - Rename __thermal_zone_set_trips() to thermal_zone_set_trips() and
         make it use trip thresholds (Rafael Wysocki).
      
       - Use READ_ONCE() for lockless access to trip temperature and
         hysteresis (Rafael Wysocki).
      
       - Drop unnecessary cooling device target state checks from the
         Bang-Bang thermal governor (Rafael Wysocki).
      
       - Avoid invoking thermal governor .trip_crossed() callback for critical
         and hot trip points (Rafael Wysocki).
      
      * thermal-core:
        thermal: core: Avoid calling .trip_crossed() for critical and hot trips
        thermal: gov_bang_bang: Drop unnecessary cooling device target state checks
        thermal: trip: Use READ_ONCE() for lockless access to trip properties
        thermal: trip: Make thermal_zone_set_trips() use trip thresholds
        thermal: trip: Rename __thermal_zone_set_trips() to thermal_zone_set_trips()
        thermal: trip: Use common set of trip type names
        thermal/debugfs: Move some statements from under thermal_dbg->lock
        thermal/debugfs: Compute maximum temperature for mitigation episode as a whole
        thermal/debugfs: Adjust check for trips without statistics in tze_seq_show()
        thermal/debugfs: Fix up units in "mitigations" files
        thermal/debugfs: Print mitigation timestamp value in milliseconds
        thermal/debugfs: Do not extend mitigation episodes beyond system resume
        thermal/debugfs: Use helper to update trip point overstepping duration
      06d55c42
    • Rafael J. Wysocki's avatar
      thermal: gov_step_wise: Go straight to instance->lower when mitigation is over · 52903814
      Rafael J. Wysocki authored
      Commit b6846826 ("thermal: gov_step_wise: Restore passive polling
      management") attempted to fix a Step-Wise thermal governor issue
      introduced by commit 042a3d80 ("thermal: core: Move passive polling
      management to the core"), which caused the governor to leave cooling
      devices in high states, by partially reverting that commit.
      
      However, this turns out to be insufficient on some systems due to
      interactions between the governor code restored by commit b6846826
      and the passive polling management in the thermal core.
      
      For this reason, revert commit b6846826 and make the governor set
      the target cooling device state to the "lower" one as soon as the zone
      temperature falls below the threshold of the trip point corresponding
      to the given thermal instance, which means that thermal mitigation is
      not necessary any more.
      
      Before this change the "lower" cooling device state would be reached in
      steps through the passive polling mechanism which was questionable for
      three reasons: (1) cooling device were kept in high states when that was
      not necessary (and it could adversely impact performance), (2) it only
      worked for thermal zones with nonzero passive_delay_jiffies value, and
      (3) passive polling belongs to the core and should not be hijacked by
      governors for their internal purposes.
      
      Fixes: b6846826 ("thermal: gov_step_wise: Restore passive polling management")
      Closes: https://lore.kernel.org/linux-pm/6759ce9f-281d-4fcd-bb4c-b784a1cc5f6e@oldschoolsolutions.bizReported-by: default avatarJens Glathe <jens.glathe@oldschoolsolutions.biz>
      Tested-by: default avatarJens Glathe <jens.glathe@oldschoolsolutions.biz>
      Link: https://patch.msgid.link/12464461.O9o76ZdvQC@rjwysocki.netSigned-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Tested-by: default avatarSteev Klimaszewski <steev@kali.org>
      Tested-by: default avatarJohan Hovold <johan+linaro@kernel.org>
      52903814
  7. 23 Jun, 2024 8 commits
  8. 22 Jun, 2024 19 commits
  9. 21 Jun, 2024 1 commit