All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Jiri Slaby <jirislaby@gmail.com>,
	"Brown, Len" <len.brown@intel.com>,
	linux-acpi@vger.kernel.org
Subject: Re: Resume on Apple Mac Mini
Date: Sun, 18 Jun 2006 14:25:06 +0100	[thread overview]
Message-ID: <20060618132506.GA13697@srcf.ucam.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0606171732370.5498@g5.osdl.org>

On Sat, Jun 17, 2006 at 05:35:51PM -0700, Linus Torvalds wrote:

> The thing that does work is to literally just set the SCI_ENABLE bit:
> 
> 	acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1, ACPI_MTX_DO_NOT_LOCK);
> 
> after resume, _not_ the "acpi_enable()".

The ACPI spec says:

"If this is an S2 or S3 wake, then the BIOS restores minimum context of 
the system before jumping to the waking vector. This includes:

...

ACPI registers. SCI_EN bit must be set. All event status/enable bits 
(PM1x_STS, PM1x_EN, GPEx_STS and GPEx_EN) must not be changed by BIOS."

So it seems like either we're doing something slightly wrong on putting 
machines to sleep which is resulting in them waking up without SCI_EN 
being set, or Windows unconditionally enables it and some hardware is 
just broken. Either way, it doesn't seem likely that it'll cause any 
harm.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

      reply	other threads:[~2006-06-18 13:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 17:08 please git pull ACPI for 2.6.17 Brown, Len
2006-05-14 17:08 ` Brown, Len
2006-05-14 18:01 ` Jiri Slaby
2006-06-17 21:18   ` Resume on Apple Mac Mini Linus Torvalds
2006-06-18  0:35     ` Linus Torvalds
2006-06-18 13:25       ` Matthew Garrett [this message]

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=20060618132506.GA13697@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=jirislaby@gmail.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=torvalds@osdl.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.