[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161104204439.GA2581@amd>
Date: Fri, 4 Nov 2016 21:44:39 +0100
From: Pavel Machek <pavel@....cz>
To: "Pandruvada, Srinivas" <srinivas.pandruvada@...el.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"viresh.kumar@...aro.org" <viresh.kumar@...aro.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"rjw@...ysocki.net" <rjw@...ysocki.net>,
"Zhang, Rui" <rui.zhang@...el.com>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
ibm-acpi@....eng.br, ibm-acpi-devel@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org
Subject: Re: v4.8-rc1: thinkpad x60: running at low frequency even during
kernel build
Hi!
> > Let me try v4.9-rc2... that works ok (cpus at the high frequency
> > during the kernel build). Unfortunately that sends my cpus to 99C
> > temperature range (and eventually forces emergency shutdown).
>
> This we have to debug. Do you see same line likeĀ
> "
> /sys/devices/system/cpu/cpu0/cpufreq/bios_limit:1000000
> "
> If not we need
> to find out why.
I'd prefer mails over bugzilla for now...
4.9-rc2 has bios_limit:
pavel@duo:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit
1833000
and it has thermal zones:
/sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp 127000
/sys/devices/virtual/thermal/thermal_zone0/trip_point_0_type critical
/sys/devices/virtual/thermal/thermal_zone1/trip_point_0_temp 97000
/sys/devices/virtual/thermal/thermal_zone1/trip_point_0_type critical
/sys/devices/virtual/thermal/thermal_zone1/trip_point_1_temp 92500
/sys/devices/virtual/thermal/thermal_zone1/trip_point_1_type passive
..so it should slow down CPU at 92C.
So lets push the temperature up a bit...
sudo watch cat /proc/acpi/ibm/thermal
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit
/sys/devices/virtual/thermal/thermal_zone1/temp /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
temperatures: 98 49 -128 85 28 -128 28 -128 49 58 -128 -128 -128
-128 -128 -128
1833000
95000
1833000
Hmm. bios_limit does not seem to change, even when the temperature is
clearly above the trip point. (It is also interestng that acpi/ibm
reports bigger temperatures than
/sys/devices/virtual/thermal/thermal_zone1/temp . I have seen 103C there.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists