All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Phillip Susi <psusi@cfl.rr.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Wakeup and S states
Date: Thu, 16 Jun 2011 15:37:04 +0100	[thread overview]
Message-ID: <20110616143703.GA15841@srcf.ucam.org> (raw)
In-Reply-To: <4DFA13FD.6020304@cfl.rr.com>

On Thu, Jun 16, 2011 at 10:32:29AM -0400, Phillip Susi wrote:
> On 6/16/2011 10:15 AM, Matthew Garrett wrote:
> >Yes. How would the kernel know that you don't want WoL in that case?
> 
> That was my original point; the kernel architecture seems lacking
> since it does not consider what S state you are talking about wrt
> wakeup capability and policy.  I can see the argument that policy
> should be dynamically changed in user space, but it seems that the
> kernel really needs to track the capability as it relates to S state
> so you don't try to enable wakeup in states where it is not
> possible.

But you're complaining about the case where wakeup is enabled in a case 
where it *is* possible. Userspace needs to take care of that.

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

  reply	other threads:[~2011-06-16 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 15:12 Wakeup and S states Phillip Susi
2011-06-15 15:44 ` Matthew Garrett
2011-06-16 13:48   ` Phillip Susi
2011-06-16 14:15     ` Matthew Garrett
2011-06-16 14:32       ` Phillip Susi
2011-06-16 14:37         ` Matthew Garrett [this message]
2011-06-16 15:11           ` Phillip Susi

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=20110616143703.GA15841@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=psusi@cfl.rr.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 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.