linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: David Brownell <david-b@pacbell.net>
Cc: lenb@kernel.org, "linux-acpi@vger" <linux-acpi@vger.kernel.org>,
	linux-pm@lists.osdl.org, Zhang Rui <rui.zhang@intel.com>
Subject: Re: [linux-pm] [PATCH 3/6] [-mm]: ACPI: duplicate ACPI sleep "alarm" attribute in	sysfs
Date: Mon, 8 Jan 2007 10:10:26 +0000	[thread overview]
Message-ID: <20070108101026.GA14485@srcf.ucam.org> (raw)
In-Reply-To: <200701071831.18186.david-b@pacbell.net>

On Sun, Jan 07, 2007 at 06:31:17PM -0800, David Brownell wrote:
> On Saturday 06 January 2007 9:57 pm, Matthew Garrett wrote:
> > Especially since /proc/acpi/alarm is just banging on the RTC registers 
> > - the only ACPI thing about it is that the FADT can expose whether or 
> > not the extended registers exist, and then making sure that the GPE is 
> > enabled.
> 
> The FADT also exposes whether the RTC can wake from S4.  You may have
> noticed that my rtc-cmos patch #3 exported the relevant FADT info
> to the RTC device using platform_data, but the S4 wake capability flag
> isn't useful for anything on today's Linux.

Isn't useful in what way? It'd be helpful for userspace to know that now 
that we're actually using S4 for swsusp, but I understand that it might 
not fit into the current API terribly well.

> Not speaking as an ACPI expert, I do see the ACPI spec says (right
> under fig 4-11 in my version) that RTC events don't require GPEs.

Hmm. My interpretation of that section had been that RTC_EN and RTC_STS 
were optional, and that a GPE would be required if they weren't 
implemented. On re-reading it, I think you're right.

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

  reply	other threads:[~2007-01-08 10:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 11:35 [PATCH 3/6] [-mm]: ACPI: duplicate ACPI sleep "alarm" attribute in sysfs Zhang Rui
2007-01-06 22:42 ` David Brownell
2007-01-07  5:57   ` [linux-pm] " Matthew Garrett
2007-01-08  2:31     ` David Brownell
2007-01-08 10:10       ` Matthew Garrett [this message]
2007-01-08 20:39         ` David Brownell
2007-01-08 20:43           ` Matthew Garrett
2007-01-08 21:15             ` David Brownell
2007-01-08 10:13       ` Zhang Rui
2007-01-08 20:46         ` David Brownell
2007-01-07 11:19 ` Pavel Machek
2007-01-08  3:44   ` David Brownell
2007-01-08 11:36     ` Pavel Machek
2007-01-08 20:35       ` David Brownell
2007-01-25  4:21     ` Len Brown
2007-01-25  9:39       ` [linux-pm] " David Brownell
2007-01-25 19:47       ` Pavel Machek
2007-01-25 23:12         ` Len Brown
2007-01-25 23:28           ` Nigel Cunningham
2007-01-26  0:33           ` David Brownell
2007-01-26 17:07           ` Pavel Machek

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=20070108101026.GA14485@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=david-b@pacbell.net \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=rui.zhang@intel.com \
    /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).