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

From: Peter Feuerer
Date: Sat Apr 26 2014 - 21:31:23 EST


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@xxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxx>
Cc: Zhang Rui <rui.zhang@xxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/