From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC] Implement thermal limiting in generic thermal class
Date: Thu, 12 Jun 2008 10:28:40 +0100 [thread overview]
Message-ID: <20080612092840.GA10762@srcf.ucam.org> (raw)
In-Reply-To: <1213237534.4867.32.camel@rzhang-dt.sh.intel.com>
On Thu, Jun 12, 2008 at 10:25:34AM +0800, Zhang Rui wrote:
> this patch introduce two things that are obsolete in ACPI thermal
> driver, polling and trip point overriding.
Overriding active trip points was pretty much doomed to failure, given
that the platform can redefine them at any time.
> I'm under the impression that they are known to break some laptops for
> some reason. Len may have comments on this? :p
Polling is known to break in one case, where the laptop provides a
passive cooling zone that's at around 50 degrees C. The hardware doesn't
send any notifications, but if you enable polling thermal limiting will
start at an excessively low temperature. This patch won't affect that
case. I'm not aware of any other situations where polling has been
demonstrated to break things, especially when at a frequency as low as
this. Of course, it's possible that some machines take an excessively
long time to respond to temperature reads - that's something that could
be handled without any trouble.
> as cdev->throttle is cleared by default, this may affect the cooling
> devices in the thermal zones that don't enable passive cooling.
Hm, yes, that's a good point and needs rectifying.
> Hmm, I don't think we should enable the force_passive by default.
> IMO, we should just create "passive" attribute for thermal zones without
> a passive trip point, and enable it until user set a valid value.
That would be an option (and certainly better than the current
situation), but I'd prefer systems to work out of the box where
possible.
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2008-06-12 9:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 10:06 [PATCH] Clean up thermal API Matthew Garrett
2008-06-11 16:42 ` [PATCH] More cleanup of the " Matthew Garrett
2008-06-11 16:58 ` [RFC] Implement thermal limiting in generic thermal class Matthew Garrett
2008-06-12 2:25 ` Zhang Rui
2008-06-12 9:28 ` Matthew Garrett [this message]
2008-06-12 1:29 ` [PATCH] More cleanup of the thermal API Zhang Rui
2008-06-12 1:26 ` [PATCH] Clean up " Zhang Rui
2008-06-16 8:55 ` [PATCH v2] " Matthew Garrett
2008-06-16 9:26 ` [Patch v2] Implement thermal limiting in the generic thermal class Matthew Garrett
2008-06-17 18:53 ` Pavel Machek
2008-06-18 9:28 ` Zhang, Rui
2008-06-18 9:56 ` Matthew Garrett
2008-06-17 15:54 ` [PATCH] Clean up thermal API Pavel Machek
2008-06-17 15:59 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080612092840.GA10762@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox