From: Hanjun Guo <guohanjun@huawei.com>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org, sangyan@huawei.com
Subject: Does ACPI thermal driver support temperature under zero?
Date: Fri, 6 Feb 2015 11:02:38 +0800 [thread overview]
Message-ID: <54D42ECE.4040600@huawei.com> (raw)
Hi,
My colleague was testing the system booting in temprature at -20 ℃,
then the system print "thermal_sys: Critical temperature reached (244 C),
shutting down", and the system shutdown as not expected.
The system is using avoton CPU and the kernel version is 3.4 stable, I
just find that in the latest of version of kernel, all the temperature variable
in thermal structure is unsigned, it seems that in thermal_get_temp()
in drivers/acpi/thermal.c, *temp will be a large value if temperature
under zero, did I miss something?
Any help or guidance will be appreciated a lot.
Thanks
Hanjun
reply other threads:[~2015-02-06 3:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=54D42ECE.4040600@huawei.com \
--to=guohanjun@huawei.com \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=sangyan@huawei.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.