mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Milan Broz <mbroz@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Andi Kleen <andi@firstfloor.org>,
	kernel list <linux-kernel@vger.kernel.org>,
	ACPI mailing list <linux-acpi@vger.kernel.org>,
	Alexey Starikovskiy <astarikovskiy@suse.de>,
	Thomas Renninger <trenn@suse.de>
Subject: Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60 (bisected)
Date: Wed, 13 Aug 2008 09:39:28 +0200	[thread overview]
Message-ID: <20080813073928.GB19877@elf.ucw.cz> (raw)
In-Reply-To: <48A1B0CB.9050908@redhat.com>

On Tue 2008-08-12 17:48:27, Milan Broz wrote:
> 
> >>>> yes. maybe some userspace tool controlling frequency is involved, no idea yet.
> >>>> But it is 2.6.26 tree for sure.
> >>>>         
> >>> So it definitely is in 2.6.26.2, and it definitely is in 2.6.26?
> >>>       
> >
> >
> > The bug is _not_ in 2.6.26, it was introduced in 2.6.26.1.
> >
> > The problem is, that now the CPU frequency doesn't decrease at some
> > temperature level and fan is unable to cool it properly.
> >
> > bisect on 2.6.26.y tree finished in this patch:
> > (I expect similar patch in 2.6.27-rc)
> >
> > commit 04f496871e8af87a1e40c504371a206fd7389193
> > Author: Thomas Renninger <trenn@suse.de>
> > Date:   Wed Jul 30 18:20:10 2008 +0000
> >
> >   
> and this seems to fix it for me:
> --
> 
> Do not use unsigned int if there is test for negative number...
> 
> See drivers/acpi/processor_perflib.c
>   static unsigned int ignore_ppc = -1;
> ...
>   if (event == CPUFREQ_START && ignore_ppc <= 0) {
>        ignore_ppc = 0;
> ...
> 
> Signed-off-by: Milan Broz <mbroz@redhat.com>

Tested-by: Pavel Machek <pavel@suse.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  parent reply	other threads:[~2008-08-13  7:49 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06  9:02 2.6.27-rc1: critical thermal shutdown on thinkpad x60 Pavel Machek
2008-08-07  9:13 ` Pavel Machek
2008-08-07 10:38   ` Pavel Machek
2008-08-07 11:34 ` Karel Zak
2008-08-07 13:05   ` Fabio Comolli
2008-08-07 14:41     ` Yves-Alexis Perez
2008-08-07 16:01 ` Andi Kleen
2008-08-12  9:41   ` Pavel Machek
2008-08-12 10:54     ` Andi Kleen
2008-08-12 11:02       ` Pavel Machek
2008-08-12 11:07       ` Milan Broz
2008-08-12 11:26         ` Pavel Machek
2008-08-12 11:44           ` Milan Broz
2008-08-12 11:55             ` Pavel Machek
2008-08-12 14:34               ` Rafael J. Wysocki
2008-08-12 14:57                 ` 2.6.27-rc1: critical thermal shutdown on thinkpad x60 (bisected) Milan Broz
2008-08-12 15:48                   ` Milan Broz
2008-08-12 16:01                     ` 2.6.27-rc1 and 2.6.26.1: " Thomas Renninger
2008-08-13  7:08                       ` Pavel Machek
2008-08-12 16:28                     ` 2.6.27-rc1: " Andi Kleen
2008-08-12 18:30                     ` Dominik Brodowski
2008-08-12 18:59                       ` Andi Kleen
2008-08-12 19:56                         ` Rafael J. Wysocki
2008-08-13 10:39                         ` Milan Broz
2008-08-14 13:56                         ` Milan Broz
2008-08-13  7:39                     ` Pavel Machek [this message]
2008-08-13  7:39                   ` Pavel Machek
2008-08-12 15:32                 ` 2.6.27-rc1: critical thermal shutdown on thinkpad x60 Matthew Garrett
2008-08-12 19:57                   ` Rafael J. Wysocki
2008-08-13 20:13           ` Henrique de Moraes Holschuh
2008-08-13 20:28             ` Pavel Machek
2008-08-13 20:42               ` Henrique de Moraes Holschuh
2008-08-13 20:55                 ` Pavel Machek
2008-08-13  0:55     ` Zhang Rui

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=20080813073928.GB19877@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=andi@firstfloor.org \
    --cc=astarikovskiy@suse.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbroz@redhat.com \
    --cc=rjw@sisk.pl \
    --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

all inboxes | Powered by JetHome®