1. 06 11月, 2009 1 次提交
  2. 27 8月, 2009 1 次提交
    • M
      thermal_sys: check get_temp return value · 0d288162
      Michael Brunner 提交于
      The return value of the get_temp function is not checked when doing a
      thermal zone update.  This may lead to a critical shutdown if get_temp
      fails and the content of the temp variable is incorrectly set higher than
      the critical trip point.
      
      This has been observed on a system with incorrect ACPI implementation
      where the corresponding methods were not serialized and therefore
      sometimes triggered ACPI errors (AE_ALREADY_EXISTS).  The following
      critical shutdowns indicated a temperature of 2097 C, which was obviously
      wrong.
      
      The patch adds a return value check that jumps over all trip point
      evaluations printing a warning if get_temp fails.  The trip points are
      evaluated again on the next polling interval with successful get_temp
      execution.
      Signed-off-by: NMichael Brunner <mibru@gmx.de>
      Acked-by: NZhang Rui <rui.zhang@intel.com>
      Cc: Len Brown <lenb@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0d288162
  3. 16 6月, 2009 1 次提交
  4. 15 5月, 2009 1 次提交
  5. 28 3月, 2009 1 次提交
    • M
      thermal: support forcing support for passive cooling · 03a971a2
      Matthew Garrett 提交于
      Due to poor thermal design or Linux driving hardware outside its thermal
      envelope, some systems will reach critical temperature and shut down
      under high load. This patch adds support for forcing a polling-based
      passive trip point if the firmware doesn't provide one. The assumption
      is made that the processor is the most practical means to reduce the
      dynamic heat generation, so hitting the passive thermal limit will cause
      the CPU to be throttled until the temperature stabalises around the
      defined value.
      
      UI is provided via a "passive" sysfs entry in the thermal zone
      directory. It accepts a decimal value in millidegrees celsius, or "0" to
      disable the functionality. Default behaviour is for this functionality
      to be disabled.
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      03a971a2
  6. 21 2月, 2009 1 次提交
  7. 20 2月, 2009 1 次提交
  8. 07 1月, 2009 1 次提交
  9. 26 6月, 2008 1 次提交
  10. 29 4月, 2008 3 次提交
  11. 16 4月, 2008 1 次提交
  12. 18 3月, 2008 1 次提交
  13. 13 3月, 2008 1 次提交
  14. 16 2月, 2008 2 次提交
  15. 08 2月, 2008 1 次提交
  16. 02 2月, 2008 1 次提交