From: Thomas Renninger <trenn@suse.de>
To: Matthew Garrett <mjg@redhat.com>
Cc: Zhang Rui <rui.zhang@intel.com>,
"lenb@kernel.org" <lenb@kernel.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"Thomas, Sujith" <sujith.thomas@intel.com>
Subject: Re: [PATCH] acpi: move thermal trip handling to generic thermal layer
Date: Fri, 16 Jan 2009 14:48:52 +0100 [thread overview]
Message-ID: <200901161448.53765.trenn@suse.de> (raw)
In-Reply-To: <20081217031215.GC19430@srcf.ucam.org>
On Wednesday 17 December 2008 04:12:15 Matthew Garrett wrote:
> On Wed, Dec 17, 2008 at 11:02:18AM +0800, Zhang Rui wrote:
> > On Mon, 2008-12-08 at 20:59 +0800, Matthew Garrett wrote:
> > > They're needed if you want to implement any sort of sensible
> > > implementation of passive cooling. They might not be expressed in quite
> > > the same way, but the basic concept is identical.
> >
> > Seeing tc1, tc2, tsp under /sys/class/thermal/ is not good because we
> > don't want to make the generic thermal driver too ACPI specific, before
> > we've really concluded some basic concepts for passive cooling.
> > so why not do this after we have another generic thermal user with
> > passive cooling support?
>
> They're not exposed in /sys/class, and I don't think doing so is a
> sensible thing to do. If you know values for the hardware in question
> then they should be supplied by the firmware. But even so, the generic
> thermal layer needs a way of implementing passive cooling. Doing so
> involves deriving a formula to describe the behaviour of the system
> around the passive trip level, and the best used implementation of that
> in Linux at the moment is the one described in the ACPI spec. I don't
> see any real need to generate new terms to describe well documented
> concepts, even if other implementations don't use ACPI.
If others need a specific algorithm, another (set of) callback function(s)
could be added later which would provide the possibility of
a platform specific override?
Thomas
next prev parent reply other threads:[~2009-01-16 13:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-27 17:48 [PATCH] thermal: use integers rather than strings for thermal values Matthew Garrett
2008-11-27 17:49 ` Matthew Garrett
2008-11-28 2:52 ` Zhang Rui
2009-01-16 13:44 ` Thomas Renninger
2008-12-03 17:55 ` [PATCH] acpi: move thermal trip handling to generic thermal layer Matthew Garrett
2008-12-03 18:00 ` [PATCH] thermal: support forcing support for passive cooling Matthew Garrett
2008-12-17 3:19 ` Zhang Rui
2008-12-28 15:22 ` Matthew Garrett
2009-01-06 22:42 ` Matthew Garrett
2009-02-13 1:21 ` Matthew Garrett
2009-02-20 23:45 ` Len Brown
2008-12-08 6:59 ` [PATCH] acpi: move thermal trip handling to generic thermal layer Zhang Rui
2008-12-08 12:59 ` Matthew Garrett
2008-12-17 3:02 ` Zhang Rui
2008-12-17 3:12 ` Matthew Garrett
2009-01-16 13:48 ` Thomas Renninger [this message]
2009-02-20 16:53 ` Len Brown
2009-02-20 23:44 ` Len Brown
2009-02-20 15:56 ` [PATCH] thermal: use integers rather than strings for thermal values Len Brown
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=200901161448.53765.trenn@suse.de \
--to=trenn@suse.de \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rui.zhang@intel.com \
--cc=sujith.thomas@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.