Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-27 Thread MyungJoo Ham
On Wed, Apr 27, 2011 at 6:46 PM, Stanislav Brabec wrote: > MyungJoo Ham wrote: > >> As long as sysdevs are resumed and some devices/subsystems (I2C-PMIC, >> ADC, and RTC in my cases) can be selectively resumed and suspended, it >> is fine. >> Thus, your "alternative" suggestion is perfect with me.

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-27 Thread Stanislav Brabec
MyungJoo Ham wrote: > As long as sysdevs are resumed and some devices/subsystems (I2C-PMIC, > ADC, and RTC in my cases) can be selectively resumed and suspended, it > is fine. > Thus, your "alternative" suggestion is perfect with me. Actually, this > is almost going back to the original hack. =) >

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-27 Thread MyungJoo Ham
On Wed, Apr 27, 2011 at 7:32 AM, Rafael J. Wysocki wrote: > On Tuesday, April 26, 2011, Rafael J. Wysocki wrote: >> On Tuesday, April 26, 2011, Pavel Machek wrote: > ... >> > Ok, see the spitz_should_wakeup() function in arch/arm/mach-pxa/* and >> > should_wakeup() usage. >> >> OK, I will. > > Wel

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Rafael J. Wysocki
On Tuesday, April 26, 2011, Rafael J. Wysocki wrote: > On Tuesday, April 26, 2011, Pavel Machek wrote: ... > > Ok, see the spitz_should_wakeup() function in arch/arm/mach-pxa/* and > > should_wakeup() usage. > > OK, I will. Well, as far as I can tell, on Zaurus this is all done within the platfor

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Pavel Machek
Hi! > > > And that's exactly what should be done. Have a user space process > > > controlling > > > that, because avoiding to thaw user space doesn't buy us almost > > > anything. > > > > That makes Zaurus implement different user-kernel interface than PC > > class machine, because of hardware

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Rafael J. Wysocki
On Tuesday, April 26, 2011, Pavel Machek wrote: > Hi! > > > > > "too heavy" (in fact it's much lighter weight than resuming all devices > > > > that your approach doesn't prevent from happening, so for example on my > > > > desktop/notebook machines I woulnd't mind at all if user space were > > >

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Pavel Machek
Hi! > > > "too heavy" (in fact it's much lighter weight than resuming all devices > > > that your approach doesn't prevent from happening, so for example on my > > > desktop/notebook machines I woulnd't mind at all if user space were > > > thawed after all of the devices had been resumed). > > >