[PATCH 0/4] acerhdf/thermal: adding new models and appropriate governor

Peter Feuerer
2014-04-27T01:30:00Z

Hi,

finally I found time, to do some work on acerhdf.

This patch series is intended to:

* Introduce "manual mode" support (Patch 1 & 2), which is needed to control
the fan of a few new models. Unfortunately this extends lines defining
the bios table over 80 characters, but all other methods make the code
really ugly and hard to read. So I hope for the reason of readability it
is ok to break this rule.

* Add an appropriate thermal governor (Patch 3 & 4). Manipulating and
fiddling around with the step-wise governor has been a very fragile thing
in the past and as it broke again, I used the opportunity to add a two
point thermal governor which implements the actual fan handling required by
acerhdf and puts from my point of view things straight.

Please test/review the patches and send me your comments.

Thanks and kind regards,
peter

Cc: Andreas Mohr <andi@lisas.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>

Peter Feuerer (4):
acerhdf: Adding support for "manual mode"
acerhdf: Adding support for new models
thermal: Added Bang-bang thermal governor
acerhdf: Use bang-bang thermal governor

drivers/platform/x86/Kconfig | 2 +-
drivers/platform/x86/acerhdf.c | 246 +++++++++++++++++++++++++---------------
drivers/thermal/Kconfig | 10 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/gov_bang_bang.c | 124 ++++++++++++++++++++
drivers/thermal/thermal_core.c | 5 +
drivers/thermal/thermal_core.h | 8 ++
7 files changed, 304 insertions(+), 92 deletions(-)
create mode 100644 drivers/thermal/gov_bang_bang.c

--
1.9.2