• 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
thermal_core.c 45.6 KB