From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi <linux-acpi@vger.kernel.org>, Len Brown <lenb@kernel.org>
Subject: Re: [PATCH 2/2] Add a passive cooling trip point if the firmware doesn't define one
Date: Thu, 15 May 2008 12:40:16 +0100 [thread overview]
Message-ID: <20080515114016.GA22798@srcf.ucam.org> (raw)
In-Reply-To: <1210820783.2929.55.camel@rzhang-crestline.sh.intel.com>
On Thu, May 15, 2008 at 11:06:23AM +0800, Zhang Rui wrote:
> On Thu, 2008-05-15 at 03:24 +0100, Matthew Garrett wrote:
> ACPI thermal zone knows how to throttle a processor,
> but it never knows how to throttle the LCD and memory controller.
>
> Device throttling is implemented in its native driver, like ACPI
> processor, ACPI video and intel_menlow etc, and all the driver may be
> loaded as a module.
> I don't like the idea of adding hooks like we do for processors.
> what do you think?
I think it would be beneficial if the ACPI thermal code could call into
the native device code, kind of like the processor thermal code does
with cpufreq. But that's for the future, rather than something I'm
worried about now. Doing that through the generic thermal code rather
than the ACPI layer itself seems like the right way to do it, assuming
that we can tie all the physical devices to their ACPI handles.
> > The alternative is to leave it as it is currently in my patch. If the
> > userspace daemon starts, it disables the ACPI control and will handle it
> > itself. If it doesn't start, the kernel does the only thing it can -
> > reduce the speed of the CPU.
>
> it can work and it doesn't break the current flowchart on menlow.
> but I still doubt if this is the right way to go.
> As you said, a _TZD method means these devices need to be throttled when
> overheating, it's also presumable that BIOS doesn't want to throttle the
> processor for a thermal zone without _PSV, e.g. the thermal zone is for
> the skin temperature and throttling the processor doesn't help.
> anyway, a fake passive trip point is a little tricky IMO. :)
Like I said, if the device is within 5 degrees of a critical shutdown
then it seems likely that it's going to power off in the near future
unless we do something about it. If the BIOS doesn't provide a passive
zone or a _TZD package, then the only thing we can do is throttle the
CPU. It might help, or it might not - but it's certainly not going to
icnrease the instantaneous heat load on the device.
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2008-05-15 11:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 1:00 [PATCH] Fix polling policy in the absence of _TZP Matthew Garrett
2008-05-14 1:03 ` [PATCH 1/2] Add a list of processor objects to the ACPI core Matthew Garrett
2008-05-14 1:08 ` [PATCH 2/2] Add a passive cooling trip point if the firmware doesn't define one Matthew Garrett
2008-05-14 3:30 ` Len Brown
2008-05-14 9:33 ` Matthew Garrett
2008-05-14 15:37 ` Len Brown
2008-05-14 23:01 ` Matthew Garrett
2008-05-15 0:55 ` Zhang Rui
2008-05-15 1:04 ` Matthew Garrett
[not found] ` <1210814699.2929.10.camel@rzhang-crestline.sh.intel.com>
[not found] ` <20080515015831.GA14829@srcf.ucam.org>
2008-05-15 2:15 ` Zhang Rui
2008-05-15 2:24 ` Matthew Garrett
2008-05-15 3:06 ` Zhang Rui
2008-05-15 11:40 ` Matthew Garrett [this message]
2008-05-15 11:47 ` Andi Kleen
2008-05-15 12:02 ` Matthew Garrett
2008-05-14 3:19 ` [PATCH] Fix polling policy in the absence of _TZP Len Brown
2008-05-14 10:14 ` Matthew Garrett
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=20080515114016.GA22798@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@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 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.