All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Ingo Molnar <mingo@elte.hu>, Len Brown <lenb@kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	Jason Vas Dias <jason.vas.dias@gmail.com>
Subject: [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first impressions)
Date: Mon, 6 Oct 2008 11:59:29 +0200	[thread overview]
Message-ID: <200810061159.30103.rjw@sisk.pl> (raw)
In-Reply-To: <20081006062235.GA2808@amd.corenet.prv>

On Monday, 6 of October 2008, Dmitry Torokhov wrote:
> On Mon, Oct 06, 2008 at 12:29:42AM +0200, Rafael J. Wysocki wrote:
> > On Sunday, 5 of October 2008, Dmitry Torokhov wrote:
> > > On Sun, Oct 05, 2008 at 09:19:13PM +0200, Rafael J. Wysocki wrote:
> > > > On Sunday, 5 of October 2008, Dmitry Torokhov wrote:
> > > > > On Sun, Oct 05, 2008 at 08:59:49PM +0200, Rafael J. Wysocki wrote:
> > > > > > On Sunday, 5 of October 2008, Dmitry Torokhov wrote:
> > > > > > > Hi,
> > > > > > > 
> > > > > > > Lats night I loaded 2.6.27-rc8-tip for the first time on my AMD Turion
> > > > > > > 64 laptop that is normally runs with Fedora distribution kernel.
> > > > > > > Compared to 2.6.25 the thing is broken - hdparm reports about 3MB/sec
> > > > > > > speed, fans are constantly on, everything seems sluggish.
> > > > > > > 
> > > > > > > Booting with hpet=force (HPET is disabled in BIOS) hangs the box
> > > > > > > somewhere in tty_init.
> > > > > > 
> > > > > > Is that an HP box, by chance?
> > > > > > 
> > > > > 
> > > > > Yeah, HP nx6115.
> > > > 
> > > > Oh well.
> > > > 
> > > > Please send me the output of dmidecode from it.
> > > > 
> > > 
> > > Here you go:
> > 
> > Thanks.
> > 
> > Please see if the appended patch helps.
> > 
> 
> Yep, works great, everything is zappy, hdparm reports 30Mb/s and fan is
> off. Thanks a lot!

OK, thanks for the confirmation.  Below is a changelogged version for
inclusion.

> Although I wonder why this blacklist is needed now, earlier kernels were
> able to cope with this condition.

Please see the changelog. :-)

Thanks,
Rafael

---
From: Rafael J. Wysocki <rjw@sisk.pl>

x86 ACPI: Blacklist two HP machines with buggy BIOSes

There is a bug in the BIOSes of some HP boxes with AMD Turions which
connects IO-APIC pins with ACPI thermal trip points in such a way
that if the state of the IO-APIC is not as expected by the (buggy)
BIOS, the thermal trip points are set to insanely low values
(usually all of them become 16 degrees Celsius).  As a result,
thermal throttling kicks in and knock the system down to its shoes.

Unfortunately some of the recent IO-APIC changes made the bug show
up.  To prevent this from happening, blacklist machines that are
known to be affected (nx6115 and 6715b in this particular case).

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=11516 listed as
a regression from 2.6.26.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Jason Vas Dias <jason.vas.dias@gmail.com>
---
 arch/x86/kernel/acpi/boot.c |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Index: linux-2.6/arch/x86/kernel/acpi/boot.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/acpi/boot.c
+++ linux-2.6/arch/x86/kernel/acpi/boot.c
@@ -1605,6 +1605,14 @@ static struct dmi_system_id __initdata a
 	 */
 	{
 	 .callback = dmi_ignore_irq0_timer_override,
+	 .ident = "HP nx6115 laptop",
+	 .matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq nx6115"),
+		     },
+	 },
+	{
+	 .callback = dmi_ignore_irq0_timer_override,
 	 .ident = "HP NX6125 laptop",
 	 .matches = {
 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
@@ -1619,6 +1627,14 @@ static struct dmi_system_id __initdata a
 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq nx6325"),
 		     },
 	 },
+	{
+	 .callback = dmi_ignore_irq0_timer_override,
+	 .ident = "HP 6715b laptop",
+	 .matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6715b"),
+		     },
+	 },
 	{}
 };
 

  reply	other threads:[~2008-10-06  9:55 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 18:36 2.6.27-rc8+ - first impressions Dmitry Torokhov
2008-10-05 18:59 ` Rafael J. Wysocki
2008-10-05 19:06   ` Dmitry Torokhov
2008-10-05 19:19     ` Rafael J. Wysocki
2008-10-05 19:27       ` Thomas Gleixner
2008-10-05 21:18       ` Dmitry Torokhov
2008-10-05 21:40         ` Parag Warudkar
2008-10-05 22:29         ` Rafael J. Wysocki
2008-10-06  6:23           ` Dmitry Torokhov
2008-10-06  9:59             ` Rafael J. Wysocki [this message]
2008-10-06 14:54               ` [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first impressions) Linus Torvalds
2008-10-06 15:00                 ` Ingo Molnar
2008-10-06 17:17                   ` Rafael J. Wysocki
2008-10-06 17:51                   ` Maciej W. Rozycki
2008-10-06 17:54                     ` Ingo Molnar
2008-10-06 20:59                     ` Andi Kleen
2008-10-06 21:39                       ` Maciej W. Rozycki
2008-10-06 22:11                         ` [PATCH] x86: SB450: skip IRQ0 override if it is not routed to INT2 of IOAPIC Andreas Herrmann
2008-10-07  3:41                           ` Ingo Molnar
2008-10-07  3:51                             ` Dmitry Torokhov
2008-10-07  4:57                               ` Ingo Molnar
2008-10-07 11:19                                 ` Dmitry Torokhov
2008-10-07 15:25                           ` Maciej W. Rozycki
2008-10-07 20:31                           ` Rafael J. Wysocki
2008-10-06 23:10                         ` [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first impressions) Andi Kleen
2008-10-07  1:35                           ` Maciej W. Rozycki
2008-10-07  4:42                             ` Ingo Molnar
2008-10-07  5:38                             ` Andi Kleen
2008-10-07 11:45                               ` Matthew Garrett
2008-10-07 12:04                               ` Ingo Molnar
2008-10-08  8:23                       ` Peter Zijlstra
2008-10-06 17:15                 ` Rafael J. Wysocki
2008-10-06 17:54                   ` Maciej W. Rozycki
2008-10-05 19:10 ` 2.6.27-rc8+ - first impressions Arjan van de Ven
2008-10-06  6:28   ` Dmitry Torokhov
2008-10-06 19:53     ` Andreas Herrmann
2008-10-07  3:42       ` Dmitry Torokhov
2008-10-07  9:10         ` Andreas Herrmann
2008-10-07 11:37           ` Dmitry Torokhov
2008-10-07 12:07             ` Parag Warudkar
2008-10-08  1:07               ` Dmitry Torokhov
2008-10-07 13:19             ` Andreas Herrmann

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=200810061159.30103.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@linux-foundation.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jason.vas.dias@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@linux-mips.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@linux-foundation.org \
    /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.