Re: uio: power management of user-space drivers

From: Hans J. Koch
Date: Wed Feb 16 2011 - 13:15:36 EST


On Tue, Feb 15, 2011 at 05:17:54PM -0800, Greg KH wrote:
> 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.

Interesting. After reading that, I've got the impression that this could be
used by UIO drivers and maybe solve Chris' problem. Or did I miss something?

Thanks,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/