public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: "Hans J. Koch" <hjk@hansjkoch.de>
Cc: "Benenati, Chris J" <chris.j.benenati@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: uio: power management of user-space drivers
Date: Tue, 15 Feb 2011 17:17:54 -0800	[thread overview]
Message-ID: <20110216011754.GA11181@suse.de> (raw)
In-Reply-To: <20110216001847.GF2785@local>

On Wed, Feb 16, 2011 at 01:21:04AM +0100, Hans J. Koch wrote:
> Let me guess: suspend/resume functions are supposed to leave your hardware in
> a consistent state and you don't know the state if the suspend() catches you
> in the middle of your userspace processing?
> I remember the Android guys had problems like that and invented some
> "suspend blockers". However, I don't remember what the final answer in that
> discussion was. Greg?

It's all in the kernel today.  See:
	http://lwn.net/Articles/416690/
for all of the details you will ever need.

Hope this helps,

greg k-h

  parent reply	other threads:[~2011-02-16  1:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0635488208022A4F82521A04A4772E15C555EC7E@orsmsx503.amr.corp.intel.com>
     [not found] ` <20110215231236.GE2785@local>
2011-02-15 23:27   ` power management of user-space drivers Benenati, Chris J
2011-02-16  0:21     ` uio: " Hans J. Koch
2011-02-16  0:35       ` Benenati, Chris J
2011-02-16  1:40         ` Greg KH
2011-02-16  1:17       ` Greg KH [this message]
2011-02-16 18:15         ` Hans J. Koch
2011-02-16  0:20   ` Benenati, Chris J

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=20110216011754.GA11181@suse.de \
    --to=gregkh@suse.de \
    --cc=chris.j.benenati@intel.com \
    --cc=hjk@hansjkoch.de \
    --cc=linux-kernel@vger.kernel.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