linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Andi Kleen <andi@firstfloor.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Len Brown <lenb@kernel.org>,
	Jason Vas Dias <jason.vas.dias@gmail.com>
Subject: Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first impressions)
Date: Tue, 7 Oct 2008 06:42:37 +0200	[thread overview]
Message-ID: <20081007044237.GA6355@elte.hu> (raw)
In-Reply-To: <alpine.LFD.1.10.0810070142060.10470@ftp.linux-mips.org>


* Maciej W. Rozycki <macro@linux-mips.org> wrote:

> > >  Well, perhaps, but the thermal trip point phenomenon seems unique 
> > > to this family of systems.  The other aspects of the problem do 
> > > not really matter anymore as we seem to have addressed them 
> > > robustly enough now.
> > 
> > When you need DMI entries you clearly haven't.
> 
>  You can't just break a piece of hardware randomly (setting the 
> thermal trip points based on an interrupt mask of an I/O APIC input is 
> certainly beyond the ACPI spec), hide its documentation and still 
> demand it to be supported correctly, possibly hurting all the other 
> good equipment.  Sorry -- you have to draw a line somewhere. [...]

agreed. This is a clear example of a complex and hard to track down BIOS 
bug - and even in this case we go out on a limb working it around.

The first approach to such problems is usually a DMI pattern based fix - 
they happen when we dont know the full scope of a particular problem yet 
but have a rough idea and want to react to bugs quickly.

PCI ID based quirks are preferred much more in the long run: DMI pattern 
matching does not scale as the DMI space is human-visible and hence 
changes frequently not for technical/hw-environment but for 
perception/PR reasons, hence it is far less reliable programmatically 
than the PCI ID space.

But PCI ID methods, while more intelligent, they lag behind a bit and 
depend on good cooperation with hw makers. As long as DMI pattern 
matches end up turning into PCI ID based approaches, like here, i'm not 
complaining as a maintainer ;)

Thanks Maciej for your excellent in-depth analysis of this issue, and 
for your many fixes in this area of code - you squashed many difficult, 
long-standing bugs in this space.

	Ingo

  reply	other threads:[~2008-10-07  4:43 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             ` [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first impressions) Rafael J. Wysocki
2008-10-06 14:54               ` 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 [this message]
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=20081007044237.GA6355@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.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=rjw@sisk.pl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).