06 Mar, 2010

9 commits


12 Jan, 2010

2 commits


11 Jan, 2010

1 commit

  • The latest version of the Revision Guide for AMD Family 10h Processors
    lists two more processor revisions which may be affected by erratum 319.
    Change the blacklisting code to correctly detect those processors, by
    implementing AMD's recommended algorithm.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Jean Delvare
    Cc: Andreas Herrmann

    Clemens Ladisch
     

17 Dec, 2009

1 commit


16 Dec, 2009

3 commits

  • [akpm@linux-foundation.org: s/q/g/ (Randy)]
    Signed-off-by: Samu Onkalo
    Acked-by: Éric Piel
    Cc: Pavel Machek
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • Most of the documentation and comments were written when the driver was
    only supporting one type of chip, only via ACPI/HP. Update the info to
    the much clearer understanding that we have now.

    Signed-off-by: Éric Piel
    Signed-off-by: Samu Onkalo
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Éric Piel
     
  • Add control of fan minimum turn-on output levels, decoupling it from the
    fan turn-off output level. Add control of rate of change of fan output
    level. These in turn allow lower turn-off rotor speed and smoother
    transitions for better thermal and acoustic control authority. Add
    support for constant fan speed and proportional-response operations modes.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Daniel J Blueman
    Cc: Jean Delvare
    Cc: David Hubbard
    Cc: Hans de Goede
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel J Blueman
     

10 Dec, 2009

10 commits

  • The ADT7476 has 5 dedicated pins for VID input, and the +12V input can
    optionally be used as a 6th VID pin. Add support for VID input.

    Signed-off-by: Jean Delvare
    Cc: Hans de Goede
    Cc: Jordan Crouse
    Cc: "Darrick J. Wong"

    Jean Delvare
     
  • Add support for the Analog Devices ADT7476 chip. This chip is largely
    compatible with the ADT7473 and ADT7475, with additional features.
    In particular, it has 5 voltage inputs instead of 2, and VID input
    pins.

    Signed-off-by: Jean Delvare
    Cc: Hans de Goede
    Cc: Jordan Crouse
    Cc: "Darrick J. Wong"

    Jean Delvare
     
  • Add support for the Analog Devices ADT7490 chip. This chip is largely
    compatible with the ADT7473 and ADT7475, with additional features.
    In particular, it has 6 voltage inputs instead of 2.

    Signed-off-by: Jean Delvare
    Cc: Hans de Goede
    Cc: Jordan Crouse
    Cc: "Darrick J. Wong"

    Jean Delvare
     
  • New documentation for the adt7475 driver, based on the adt7473 driver
    documentation. It is IMHO much more useful that the previous
    documentation which was essentially redundant with sysfs-interface.

    Signed-off-by: Jean Delvare
    Cc: "Mark M. Hoffman"
    Cc: Hans de Goede
    Cc: Jordan Crouse
    Cc: "Darrick J. Wong"

    Jean Delvare
     
  • Add support for the ADT7473 to the adt7475 driver, and mark the
    adt7473 driver for removal. The ADT7473 and ADT7475 chips are almost
    the same chip and essentially compatible, so there's no point in
    having separate drivers for them.

    Signed-off-by: Jean Delvare
    Cc: "Mark M. Hoffman"
    Cc: Hans de Goede
    Cc: Jordan Crouse
    Cc: "Darrick J. Wong"

    Jean Delvare
     
  • This adds support for the Fintek f71889fg to the f71882fg driver,
    many thanks to Gerd v. Egidy for providing (remote) access to a
    machine which such an ic.

    Note that this bit of the patch:
    - val = SENSORS_LIMIT(val, 0, 255);
    +
    + if (data->type == f71889fg)
    + val = SENSORS_LIMIT(val, -128, 127);
    + else
    + val = SENSORS_LIMIT(val, 0, 127);

    Changes behaviour for already supported models, the new behaviour is correct
    as the already supported models have bit 7 of the involved registers fixed at
    0, so the previous behaviour which allowed setting temp zone limits > 127
    was not correct.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     
  • This driver provides support for the ADC integrated into the
    Freescale MC13783 PMIC.

    Signed-off-by: Luotao Fu
    Signed-off-by: Sascha Hauer
    Signed-off-by: Uwe Kleine-König
    Reviewed-by: Mark Brown
    Acked-by: Hans de Goede
    Cc: Eric Piel
    Signed-off-by: Jean Delvare

    Luotao Fu
     
  • This module parameter is there to workaround broken BIOS. I'm not even
    sure if it was used in the past 5 years, and it gets in the way of
    converting the driver to the MFD infrastructure. So tell the users how
    they can do the same from user-space.

    Signed-off-by: Jean Delvare
    Cc: Rodolfo Giometti

    Jean Delvare
     
  • The VID input pins can alternatively be used as GPIOs. Make sure we
    have at least 4 pins used for VID, otherwise don't bother reading and
    exposing VID.

    Signed-off-by: Jean Delvare
    Tested-by: Adam Nielsen

    Jean Delvare
     
  • Document the case of hybrid automatic fan speed control
    implementations, where trip points are associated to both PWM output
    channels and temperature input channels.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

29 Oct, 2009

1 commit

  • Augment the documentation of the hwmon sysfs API to accomodate ACPI power
    meters and the current desired behavior of power capping hardware drivers.

    Signed-off-by: Darrick J. Wong
    Cc: Zhang Rui
    Cc: Pavel Machek
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Darrick J. Wong
     

05 Oct, 2009

1 commit

  • There is no point in implementing a detect callback for the LTC4215
    and LTC4245, as these devices can't be detected. It was there solely
    to handle "force" module parameters to instantiate devices, but now
    we have a better sysfs interface that can do the same.

    So we can get rid of the ugly module parameters and the detect
    callbacks. This shrinks the binary module sizes by 36% and 46%,
    respectively.

    Signed-off-by: Jean Delvare
    Cc: Ira W. Snyder

    Jean Delvare
     

24 Sep, 2009

6 commits

  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (ltc4245) Clear faults at startup
    hwmon: (ltc4215) Clear faults at startup
    hwmon: (coretemp) Add Lynnfield CPU
    hwmon: (coretemp) Add support for Penryn mobile CPUs
    hwmon: (coretemp) Fix Atom CPUs support
    hwmon: Delete deprecated FSC drivers
    hwmon: (adm1031) Add sysfs files for temperature offsets

    Linus Torvalds
     
  • Add Lynnfield processor support. Lynnfield is a quad-core Nehalem
    based microprocessor for Desktop market, which is introduced in
    September 2009.

    Signed-off-by: Huaxu Wan
    Signed-off-by: Kent Liu
    Acked-by: Rudolf Marek
    Signed-off-by: Jean Delvare

    Huaxu Wan
     
  • Following patch adds support for mobile Penryn CPUs. Intel documents this
    poorly. I asked the Coretemp author for some help. This is totally untested and
    may not work. Please test!

    Signed-off-by: Rudolf Marek
    Cc: Huaxu Wan
    Cc: Kent Liu
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • Fix Atom CPUs support. Intel documents TjMax at 90 degrees C but
    some Atoms may have 125 degrees C (this is undocumented speculation).

    Signed-off-by: Rudolf Marek
    Cc: Huaxu Wan
    Cc: Kent Liu
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • The legacy fscpos and fscher drivers have been replaced by the unified
    fschmd driver. The transition period is over now, we can delete them.

    Signed-off-by: Jean Delvare
    Acked-by: Hans de Goede

    Jean Delvare
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits)
    ACPI: don't pass handle for fixed hardware notifications
    ACPI: remove null pointer checks in deferred execution path
    ACPI: simplify deferred execution path
    acerhdf: additional BIOS versions
    acerhdf: convert to dev_pm_ops
    acerhdf: fix fan control for AOA150 model
    thermal: add missing Kconfig dependency
    acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
    hp-wmi: fix rfkill memory leak on unload
    ACPI: remove unnecessary #ifdef CONFIG_DMI
    ACPI: linux/acpi.h should not include linux/dmi.h
    hwmon driver for ACPI 4.0 power meters
    topstar-laptop: add new driver for hotkeys support on Topstar N01
    thinkpad_acpi: fix rfkill memory leak on unload
    thinkpad-acpi: report brightness events when required
    thinkpad-acpi: don't poll by default any of the reserved hotkeys
    thinkpad-acpi: Fix procfs hotkey reset command
    thinkpad-acpi: deprecate hotkey_bios_mask
    thinkpad-acpi: hotkey poll fixes
    thinkpad-acpi: be more strict when detecting a ThinkPad
    ...

    Linus Torvalds
     

21 Sep, 2009

4 commits

  • Allows users who use an IDE driver for their disk to use hpfall without
    having to modify the source. By default /dev/sda is used.
    Suggested by Christian Thaeter in http://lkml.org/lkml/2009/3/25/505.

    While we're add it, improve error message if opening /dev/freefall fails.

    Signed-off-by: Frans Pop
    Cc: Christian Thaeter
    Acked-by: Pavel Machek
    Signed-off-by: Jiri Kosina

    Frans Pop
     
  • Improve the example code to be at least useable, as in not causing
    harm (as shown below). Code can still be improved further, but this
    adds some basic safeguards.

    1. hpfall *MUST* mlockall(MCL_CURRENT|MCL_FUTURE); itself!
    Since the Program sits and waits most of the time it becomes very likely
    swapped out. If it gets woken up when the laptop drops from the table
    while it is swapped out it actually triggers harddrive activity!

    2. Daemonize hpfall using 'daemon(0,0)' (quick and dirty).

    3. Give hpfall realtime priority.
    Should give a chance that it has less latency when woken up.

    Signed-off-by: Christian Thaeter
    Signed-off-by: Frans Pop
    Acked-by: Pavel Machek
    Signed-off-by: Jiri Kosina

    Christian Thaeter
     
  • Signed-off-by: Anand Gadiyar
    Signed-off-by: Jiri Kosina

    Anand Gadiyar
     
  • This patch makes hpfall.c conform to kernel coding style.

    I have not fixed the C99 // comments on two lines as they
    help indicate that those are not actually comments but
    incomplete code.

    Before:
    total: 10 errors, 6 warnings, 101 lines checked
    After:
    total: 2 errors, 0 warnings, 99 lines checked

    Signed-off-by: Frans Pop
    Acked-by: Pavel Machek
    Signed-off-by: Jiri Kosina

    Frans Pop
     

19 Sep, 2009

2 commits

  • Len Brown
     
  • This driver exposes ACPI 4.0 compliant power meters as hardware monitoring
    devices. This second revision of the driver also exports the ACPI string
    info as sysfs attributes, a list of the devices that the meter measures,
    and will send ACPI notifications over the ACPI netlink socket. This
    latest revision only enables the power capping controls if it can be
    confirmed that the power cap can be enforced by the hardware and explains
    how the notification interfaces work.

    [akpm@linux-foundation.org: remove default-y]
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Darrick J. Wong
    Cc: Zhang Rui
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Darrick J. Wong