1. 22 9月, 2011 2 次提交
    • G
      hwmon: (coretemp) Don't use threshold registers for tempX_max · f4af6fd6
      Guenter Roeck 提交于
      With commit c814a4c7, the meaning of tempX_max
      was changed. It no longer returns the value of bits 8:15 of
      MSR_IA32_TEMPERATURE_TARGET, but instead returns the value of CPU threshold
      register T1. tempX_max_hyst was added to reflect the value of temperature
      threshold register T0.
      
      As it turns out, T0 and T1 are used on some systems, presumably by the BIOS.
      Also, T0 and T1 don't have a well defined meaning. The thresholds may be used
      as upper or lower limits, and it is not guaranteed that T0 <= T1. Thus, the new
      attribute mapping does not reflect the actual usage of the threshold registers.
      Also, register contents are changed during runtime by an entity other than the
      hwmon driver, meaning the values cached by the driver do not reflect actual
      register contents.
      
      Revert most of c814a4c7 to address the problem.
      Support for T0 and T1 will be added back in with a separate commit, using new
      attribute names.
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Durgadoss R <durgadoss.r@intel.com>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      f4af6fd6
    • J
      hwmon: (coretemp) Let the user force TjMax · a45a8c85
      Jean Delvare 提交于
      On old CPUs (and even some recent Atom CPUs) TjMax can't be read from
      the CPU registers, so it is guessed by the driver using a complex
      heuristic which isn't reliable. So let users who know their CPU's
      TjMax pass it as a module parameter.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: "R, Durgadoss" <durgadoss.r@intel.com>
      Cc: Guenter Roeck <guenter.roeck@ericsson.com>
      Cc: Alexander Stein <alexander.stein@systec-electronic.com>
      Acked-by: NFenghua Yu <fenghua.yu@intel.com>
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      a45a8c85
  2. 28 7月, 2011 1 次提交
  3. 20 5月, 2011 1 次提交
  4. 10 8月, 2010 1 次提交
  5. 24 9月, 2009 3 次提交
  6. 18 2月, 2008 1 次提交
  7. 17 2月, 2008 1 次提交
  8. 10 10月, 2007 1 次提交
  9. 08 5月, 2007 1 次提交