From: Len Brown <lenb@kernel.org>
To: Thomas Renninger <trenn@suse.de>
Cc: Matthew Garrett <mjg@redhat.com>, Zhang Rui <rui.zhang@intel.com>,
"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, 20 Feb 2009 11:53:26 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0902201151140.19156@localhost.localdomain> (raw)
In-Reply-To: <200901161448.53765.trenn@suse.de>
On Fri, 16 Jan 2009, Thomas Renninger wrote:
> 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?
yeah, that is probalby the way to do it.
But until we have a 2nd customer besides ACPI,
we are kidding outselves if we think we can dream up a real "generic"
that will not need later modification...
--
Len Brown, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-02-20 17:53 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
2009-02-20 16:53 ` Len Brown [this message]
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=alpine.LFD.2.00.0902201151140.19156@localhost.localdomain \
--to=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rui.zhang@intel.com \
--cc=sujith.thomas@intel.com \
--cc=trenn@suse.de \
/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