public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [git pull request] ACPI patches for 2.6.34-rc6
Date: Fri, 7 May 2010 16:21:13 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1005071618410.901@i5.linux-foundation.org> (raw)
In-Reply-To: <201005080117.23760.rjw@sisk.pl>



On Sat, 8 May 2010, Rafael J. Wysocki wrote:

> On Saturday 08 May 2010, Linus Torvalds wrote:
> > 
> > On Sat, 8 May 2010, Rafael J. Wysocki wrote:
> > 
> > > On Friday 07 May 2010, Linus Torvalds wrote:
> > > > 
> > > > Btw, why don't we just force the SCI_EN by hand?
> > > 
> > > Because there are boxes that are broken right away by this.
> > > 
> > > I have one on my desk in front of me. :-)
> > 
> > Also if we check whether it was already set before?
> 
> Yes.

I don't think you understood the question.

If we check whether it was already set before, we wouldn't _do_ it by 
hand.

> > The thing is, if that bit is clear (_after_ we've done the regular ACPI 
> > setup), the box can't work correctly as far as I know.
> 
> That's correct.  But on that particular box acpi_enable() is necessary to
> make things work.  Setting SCI_EN by hand makes it hang solid.

Let me explain what I think we should do with actual code:

	acpi_enable();
	if (test_if_that_f_cking_bit_still_isnt_set)
		set_it_by_hand();

wouldn't that work on your box? The acpi_enable() seems to work for you, 
so it wouldn't actually ever set it by hand. 

But the problem is that on a number of boxes, acpi_enable() apparently 
doesn't do what it should do. Because the stupid BIOS "knows" it is 
already in ACPI mode, but it forgot to actually set the bit!

			Linus

  reply	other threads:[~2010-05-07 23:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07  2:22 [git pull request] ACPI patches for 2.6.34-rc6 Len Brown
2010-05-07  2:34 ` Linus Torvalds
2010-05-07  6:12   ` Matthew Garrett
2010-05-07 21:06     ` Linus Torvalds
2010-05-07 21:13       ` Matthew Garrett
2010-05-07 21:21         ` Linus Torvalds
2010-05-07 21:36           ` Matthew Garrett
2010-05-11 17:25             ` Matthew Garrett
2010-05-11 17:42               ` Linus Torvalds
2010-05-11 17:59                 ` Matthew Garrett
2010-05-11 18:17                   ` Linus Torvalds
2010-05-11 18:22                     ` Matthew Garrett
2010-05-12 16:07               ` Robert Wörle
2010-05-12 16:12                 ` Matthew Garrett
2010-05-07 22:39   ` Rafael J. Wysocki
2010-05-07 23:00     ` Linus Torvalds
2010-05-07 23:17       ` Rafael J. Wysocki
2010-05-07 23:21         ` Linus Torvalds [this message]
2010-05-08  0:03           ` Rafael J. Wysocki
2010-05-08  0:10             ` Linus Torvalds
2010-05-08  5:19               ` Len Brown

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=alpine.LFD.2.00.1005071618410.901@i5.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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