Re: [PATCH, RFC] linkstation: implement standby

2007-08-29 Thread Johannes Berg
On Wed, 2007-08-29 at 00:30 +0200, Guennadi Liakhovetski wrote: > > > +#ifdef CONFIG_PM > > > > some of those probably want to be CONFIG_PM_SLEEP now. > > Well, I wasn't sure when PM can be used not meaning PM_SLEEP, so, I left > PM for now. Can certainly change, if it really matters. You end

Re: [PATCH, RFC] linkstation: implement standby

2007-08-28 Thread Guennadi Liakhovetski
Implement suspend/resume for "mpc10x" compatible fsl host PCI controllers, use it for linkstation standby. This is version 2, taking into account comments to the previous version and re-implementing MPC10x suspend in a separate pci driver. Signed-off-by: Guennadi Liakhovetski <[EMAIL PROTECTED]

Re: [linux-pm] [PATCH, RFC] linkstation: implement standby

2007-08-27 Thread Pavel Machek
On Sun 2007-08-26 02:03:49, Guennadi Liakhovetski wrote: > Implement suspend/resume for "mpc10x" compatible fsl host PCI controllers, > use it for linkstation standby. > > Signed-off-by: Guennadi Liakhovetski <[EMAIL PROTECTED]> Looks okay to me. I'm glad to see "standby" is present on non-i386

Re: [PATCH, RFC] linkstation: implement standby

2007-08-27 Thread Johannes Berg
On Sun, 2007-08-26 at 02:03 +0200, Guennadi Liakhovetski wrote: > +#ifdef CONFIG_PM some of those probably want to be CONFIG_PM_SLEEP now. johannes signature.asc Description: This is a digitally signed message part ___ Linuxppc-dev mailing list Linux

Re: [PATCH, RFC] linkstation: implement standby

2007-08-26 Thread Tony Breeds
On Sun, Aug 26, 2007 at 02:03:49AM +0200, Guennadi Liakhovetski wrote: > Implement suspend/resume for "mpc10x" compatible fsl host PCI controllers, > use it for linkstation standby. Hi Guennadi > +static int __init ls_pm_init(void) > +{ > + if (!machine_is(linkstation)) > + ret

Re: [PATCH, RFC] linkstation: implement standby

2007-08-26 Thread Guennadi Liakhovetski
On Sun, 26 Aug 2007, Stephen Rothwell wrote: > On Sun, 26 Aug 2007 02:03:49 +0200 (CEST) Guennadi Liakhovetski <[EMAIL > PROTECTED]> wrote: > > > > +static int ls_pm_enter(suspend_state_t state) > > +{ > > + char ier; > > + int ret = 0; > > + u64 tb; > > + > > + if ((ret = mpc10x_suspend(

Re: [PATCH, RFC] linkstation: implement standby

2007-08-25 Thread Stephen Rothwell
On Sun, 26 Aug 2007 02:03:49 +0200 (CEST) Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote: > > +static int ls_pm_enter(suspend_state_t state) > +{ > + char ier; > + int ret = 0; > + u64 tb; > + > + if ((ret = mpc10x_suspend(state)) < 0) > + return ret; > + > + /* Ge

[PATCH, RFC] linkstation: implement standby

2007-08-25 Thread Guennadi Liakhovetski
Implement suspend/resume for "mpc10x" compatible fsl host PCI controllers, use it for linkstation standby. Signed-off-by: Guennadi Liakhovetski <[EMAIL PROTECTED]> --- This requires patches from Scott Wood from this thread: http://ozlabs.org/pipermail/linuxppc-dev/2007-July/039109.html and my