1. 15 8月, 2010 18 次提交
  2. 12 8月, 2010 1 次提交
  3. 11 8月, 2010 1 次提交
  4. 10 8月, 2010 8 次提交
  5. 06 8月, 2010 1 次提交
  6. 05 8月, 2010 1 次提交
  7. 04 8月, 2010 1 次提交
    • F
      x86, hwmon: Package Level Thermal/Power: pkgtemp hwmon driver · cb84b194
      Fenghua Yu 提交于
      This patch adds a hwmon driver for package level thermal control. The driver
      dumps package level thermal information through sysfs interface so that upper
      level application (e.g. lm_sensor) can retrive the information.
      
      Instead of having the package level hwmon code in coretemp, I write a seperate
      driver pkgtemp because:
      
      First, package level thermal sensors include not only sensors for each core,
      but also sensors for uncore, memory controller or other components in the
      package. Logically it will be clear to have a seperate hwmon driver for package
      level hwmon to monitor wider range of sensors in a package. Merging package
      thermal driver into core thermal driver doesn't make sense and may mislead.
      
      Secondly, merging the two drivers together may cause coding mess. It's easier
      to include various package level sensors info if more sensor information is
      implemented. Coretemp code needs to consider a lot of legacy machine cases.
      Pkgtemp code only considers platform starting from Sandy Bridge.
      
      On a 1Sx4Cx2T Sandy Bridge platform, lm-sensors dumps the pkgtemp and coretemp:
      
      pkgtemp-isa-0000
      Adapter: ISA adapter
      physical id 0: +33.0°C  (high = +79.0°C, crit = +99.0°C)
      
      coretemp-isa-0000
      Adapter: ISA adapter
      Core 0:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
      
      coretemp-isa-0001
      Adapter: ISA adapter
      Core 1:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
      
      coretemp-isa-0002
      Adapter: ISA adapter
      Core 2:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
      
      coretemp-isa-0003
      Adapter: ISA adapter
      Core 3:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
      
      [ hpa: folded v3 patch removing improper global variable "SHOW" ]
      Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
      LKML-Reference: <1280448826-12004-3-git-send-email-fenghua.yu@intel.com>
      Reviewed-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      cb84b194
  8. 24 7月, 2010 1 次提交
  9. 09 7月, 2010 4 次提交
    • J
      hwmon: (coretemp) Properly label the sensors · 3f4f09b4
      Jean Delvare 提交于
      Don't assume that CPU entry number and core ID always match. It
      worked in the simple cases (single CPU, no HT) but fails on
      multi-CPU systems.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NHuaxu Wan <huaxu.wan@intel.com>
      Cc: stable@kernel.org
      3f4f09b4
    • J
      hwmon: (coretemp) Skip duplicate CPU entries · d883b9f0
      Jean Delvare 提交于
      On hyper-threaded CPUs, each core appears twice in the CPU list. Skip
      the second entry to avoid duplicate sensors.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NHuaxu Wan <huaxu.wan@intel.com>
      Cc: stable@kernel.org
      d883b9f0
    • J
      hwmon: (it87) Fix in7 on IT8720F · 436cad2a
      Jean Delvare 提交于
      The IT8720F has no VIN7 pin, so VCCH should always be routed
      internally to VIN7 with an internal divider. Curiously, there still
      is a configuration bit to control this, which means it can be set
      incorrectly. And even more curiously, many boards out there are
      improperly configured, even though the IT8720F datasheet claims that
      the internal routing of VCCH to VIN7 is the default setting. So we
      force the internal routing in this case.
      
      It turns out that all boards with the wrong setting are from Gigabyte,
      so I suspect a BIOS bug. But it's easy enough to workaround in the
      driver, so let's do it.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jean-Marc Spaggiari <jean-marc@spaggiari.org>
      Cc: stable@kernel.org
      436cad2a
    • A
      hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions · d535bad9
      Andreas Herrmann 提交于
      Reported temperature for ASB1 CPUs is too high.
      Add ASB1 CPU revisions (these are also non-desktop variants) to the
      list of CPUs for which the temperature fixup is not required.
      
      Example: (from LENOVO ThinkPad Edge 13, 01972NG, system was idle)
      
        Current kernel reports
      
        $ sensors
        k8temp-pci-00c3
        Adapter: PCI adapter
        Core0 Temp:  +74.0 C
        Core0 Temp:  +70.0 C
        Core1 Temp:  +69.0 C
        Core1 Temp:  +70.0 C
      
        With this patch I have
      
        $ sensors
        k8temp-pci-00c3
        Adapter: PCI adapter
        Core0 Temp:  +54.0 C
        Core0 Temp:  +51.0 C
        Core1 Temp:  +48.0 C
        Core1 Temp:  +49.0 C
      
      Cc: stable@kernel.org [.32.x .33.x, .34.x]
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Signed-off-by: NAndreas Herrmann <andreas.herrmann3@amd.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      d535bad9
  10. 20 6月, 2010 3 次提交
  11. 03 6月, 2010 1 次提交