All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>,
	"Rafael J. Wysocki" <rjw@sisk.pl>, Pavel Machek <pavel@suse.cz>,
	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>,
	stable@kernel.org
Subject: Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60 (bisected)
Date: Thu, 14 Aug 2008 15:56:12 +0200	[thread overview]
Message-ID: <48A4397C.8070602@redhat.com> (raw)
In-Reply-To: <20080812185941.GE1366@one.firstfloor.org>

(adding cc: stable, the bug is also in 2.6.26.2)

Andi Kleen wrote:

> On Tue, Aug 12, 2008 at 08:30:04PM +0200, Dominik Brodowski wrote:
>   
>> Hi,
>>
>> On Tue, Aug 12, 2008 at 05:48:27PM +0200, Milan Broz wrote:
>>     
>>> -static unsigned int ignore_ppc = -1;
>>> +static int ignore_ppc = -1;
>>>  module_param(ignore_ppc, uint, 0644);
>>>       
>> 			    ^^^^
>> follow-up change?
>>     
yep, thanks.
I am running my x60s with this patch now:

--

Fix signed parameter in ACPI frequency notifier.

  static unsigned int ignore_ppc = -1;
...
       if (event == CPUFREQ_START && ignore_ppc <= 0) {
               ignore_ppc = 0;
...

Signed-off-by: Milan Broz <mbroz@redhat.com>
---
 drivers/acpi/processor_perflib.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.26.y/drivers/acpi/processor_perflib.c
===================================================================
--- linux-2.6.26.y.orig/drivers/acpi/processor_perflib.c	2008-08-12 17:20:07.000000000 +0200
+++ linux-2.6.26.y/drivers/acpi/processor_perflib.c	2008-08-13 09:32:38.000000000 +0200
@@ -70,8 +70,8 @@ static DEFINE_MUTEX(performance_mutex);
  *  0 -> cpufreq low level drivers initialized -> consider _PPC values
  *  1 -> ignore _PPC totally -> forced by user through boot param
  */
-static unsigned int ignore_ppc = -1;
-module_param(ignore_ppc, uint, 0644);
+static int ignore_ppc = -1;
+module_param(ignore_ppc, int, 0644);
 MODULE_PARM_DESC(ignore_ppc, "If the frequency of your machine gets wrongly" \
 		 "limited by BIOS, this should help");
 




  parent reply	other threads:[~2008-08-14 14:03 UTC|newest]

Thread overview: 35+ 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 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 [this message]
2008-08-13  7:39                     ` Pavel Machek
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=48A4397C.8070602@redhat.com \
    --to=mbroz@redhat.com \
    --cc=andi@firstfloor.org \
    --cc=astarikovskiy@suse.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    --cc=stable@kernel.org \
    --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 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.