01 Mar, 2011
1 commit
-
Several ACPI drivers fail to build if CONFIG_NET is unset, because
they refer to things depending on CONFIG_THERMAL that in turn depends
on CONFIG_NET. However, CONFIG_THERMAL doesn't really need to depend
on CONFIG_NET, because the only part of it requiring CONFIG_NET is
the netlink interface in thermal_sys.c.Put the netlink interface in thermal_sys.c under #ifdef CONFIG_NET
and remove the dependency of CONFIG_THERMAL on CONFIG_NET from
drivers/thermal/Kconfig.Signed-off-by: Rafael J. Wysocki
Acked-by: Randy Dunlap
Cc: Ingo Molnar
Cc: Len Brown
Cc: Stephen Rothwell
Cc: Luming Yu
Cc: Andrew Morton
Signed-off-by: Linus Torvalds
12 Jan, 2011
2 commits
-
This patch adds event notification support to the generic
thermal sysfs framework in the kernel. The notification is in the
form of a netlink event.Signed-off-by: R.Durgadoss
Signed-off-by: Len Brown
01 Dec, 2010
1 commit
-
And while touching that function definition do something about the disaster
of formatting there.Signed-off-by: Alan Cox
Acked-by: Zhang Rui
Signed-off-by: Len Brown
28 Mar, 2009
1 commit
-
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: Matthew Garrett
Signed-off-by: Len Brown
21 Feb, 2009
1 commit
-
The ACPI code currently carries its own thermal trip handling, meaning that
any other thermal implementation will need to reimplement it. Move the code
to the generic thermal layer.Signed-off-by: Matthew Garrett
Signed-off-by: Len Brown
20 Feb, 2009
1 commit
-
The thermal API currently uses strings to pass values to userspace. This
makes it difficult to use from within the kernel. Change the interface
to use integers and fix up the consumers.Signed-off-by: Matthew Garrett
Acked-by: Zhang Rui
Acked-by: Thomas Renninger
Signed-off-by: Len Brown
26 Jun, 2008
1 commit
-
A bug in libsensors
Acked-by: Mark M. Hoffman
Signed-off-by: Len Brown
29 Apr, 2008
3 commits
-
Add hwmon sys I/F for generic thermal driver.
Note: we have one hwmon class device for EACH TYPE of the thermal zone device.
Signed-off-by: Zhang Rui
Acked-by: Jean Delvare
Signed-off-by: Len Brown -
Add a new callback so that the generic thermal can get
the critical trip point info of a thermal zone,
which is needed for building the tempX_crit hwmon sysfs attribute.Signed-off-by: Zhang Rui
Acked-by: Jean Delvare
Signed-off-by: Len Brown -
Build the generic thermal driver as module "thermal_sys".
Make ACPI thermal, video, processor and fan SELECT the generic
thermal driver, as these drivers rely on it to build the sysfs I/F.Signed-off-by: Zhang Rui
Acked-by: Jean Delvare
Signed-off-by: Len Brown
16 Apr, 2008
1 commit
-
The THERMAL_MAX_TRIPS value is set to 10. It is too few for the Compaq AP550
machine which has 12 trip points.Signed-off-by: Krzysztof Helt
Cc: Len Brown
Cc: Zhang Rui
Cc: "Rafael J. Wysocki"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Feb, 2008
1 commit
-
This fixes the build, but acpi_fan_add() still needs
to be updated to handle thermal_cooling_device_register()
returning NULL as a non-fatal condition.Signed-off-by: Len Brown
02 Feb, 2008
2 commits
-
Fix an imprecision in CELSIUS_TO_KELVIN and move these
two macroes to a proper place.Signed-off-by: Zhang Rui
Signed-off-by: Thomas Sujith
Signed-off-by: Len Brown -
The Generic Thermal sysfs driver for thermal management.
Signed-off-by: Zhang Rui
Signed-off-by: Thomas Sujith
Signed-off-by: Len Brown