linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fix passive zone thermal throttling
@ 2011-12-27  6:34 Andi Kleen
  2011-12-27  6:34 ` [PATCH 1/4] ACPI: ec: Do request_region outside WARN() Andi Kleen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andi Kleen @ 2011-12-27  6:34 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, linux-kernel

I have a laptop with a broken fan and it would constantly shut down
under load. In principle passive thermal zone throttling was supposed
to prevent that by slowing down the CPU, but this didn't work.

This patchkit makes it work on my system.

It turned out to be a combination of problems: the EC driver 
talking to the embedded controller on my system would frequently
get out of step, which resulted in missing temperature events.
While not completely cured it's much better now with some
replies.

The other more serious problem was that the throttling code
never really worked on multi-core systems: it only lowers
the frequency of a single CPU, that gets the event, but the
other threads/cores still keep the frequency up. Also worse
throttling would never be invoked before the lowest frequency
is reached.

The first patch is merely a cleanup, the other patches fix
these problems.

Now that the kernel is fixed I can send the laptop in for repair.

-Andi


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-27 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-27  6:34 Fix passive zone thermal throttling Andi Kleen
2011-12-27  6:34 ` [PATCH 1/4] ACPI: ec: Do request_region outside WARN() Andi Kleen
2011-12-27  6:34 ` [PATCH 2/4] ACPI: Make ACPI interrupt threaded Andi Kleen
2011-12-27  6:34 ` [PATCH 4/4] ACPI: Do cpufreq clamping for throttling per package instead of per CPU Andi Kleen
2011-12-27 16:43   ` Matthew Garrett
2011-12-27 21:21     ` Andi Kleen
2011-12-27 21:41       ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).