Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-07 Thread Guenter Roeck
On Tue, Oct 07, 2014 at 07:47:35PM +0200, Alexander Graf wrote: > > > On 07.10.14 19:00, Guenter Roeck wrote: > > On Tue, Oct 07, 2014 at 01:35:07PM +0200, Alexander Graf wrote: > >> > >> > >> On 07.10.14 08:25, Michael Ellerman wrote: > >>> On Mon, 2014-10-06 at 12:00 +0200, Alexander Graf wrote

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-07 Thread Alexander Graf
On 07.10.14 19:00, Guenter Roeck wrote: > On Tue, Oct 07, 2014 at 01:35:07PM +0200, Alexander Graf wrote: >> >> >> On 07.10.14 08:25, Michael Ellerman wrote: >>> On Mon, 2014-10-06 at 12:00 +0200, Alexander Graf wrote: On 03.10.14 06:42, Michael Ellerman wrote: > On Wed, 2014-10-01

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-07 Thread Guenter Roeck
On Tue, Oct 07, 2014 at 01:35:07PM +0200, Alexander Graf wrote: > > > On 07.10.14 08:25, Michael Ellerman wrote: > > On Mon, 2014-10-06 at 12:00 +0200, Alexander Graf wrote: > >> > >> On 03.10.14 06:42, Michael Ellerman wrote: > >>> On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: >

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-07 Thread Alexander Graf
On 07.10.14 08:25, Michael Ellerman wrote: > On Mon, 2014-10-06 at 12:00 +0200, Alexander Graf wrote: >> >> On 03.10.14 06:42, Michael Ellerman wrote: >>> On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: The generic Linux framework to power off the machine is a function pointer

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-06 Thread Michael Ellerman
On Mon, 2014-10-06 at 12:00 +0200, Alexander Graf wrote: > > On 03.10.14 06:42, Michael Ellerman wrote: > > On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: > >> The generic Linux framework to power off the machine is a function pointer > >> called pm_power_off. The trick about this pointe

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-06 Thread Alexander Graf
On 03.10.14 06:42, Michael Ellerman wrote: > On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: >> The generic Linux framework to power off the machine is a function pointer >> called pm_power_off. The trick about this pointer is that device drivers can >> potentially implement it rather th

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-02 Thread Michael Ellerman
On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: > The generic Linux framework to power off the machine is a function pointer > called pm_power_off. The trick about this pointer is that device drivers can > potentially implement it rather than board files. > > Today on PowerPC we set pm_po

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Guenter Roeck
On 10/01/2014 04:44 PM, Alexander Graf wrote: On 02.10.14 01:28, Scott Wood wrote: On Thu, 2014-10-02 at 01:21 +0200, Alexander Graf wrote: On 02.10.14 00:39, Scott Wood wrote: On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: The generic Linux framework to power off the machine is

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Guenter Roeck
On 10/01/2014 02:25 PM, Alexander Graf wrote: On 01.10.14 17:54, Guenter Roeck wrote: On Wed, Oct 01, 2014 at 04:47:23PM +0200, Alexander Graf wrote: On 01.10.14 16:33, Geert Uytterhoeven wrote: Hi Alex, On Wed, Oct 1, 2014 at 3:27 PM, Alexander Graf wrote: The generic Linux framework t

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Alexander Graf
On 02.10.14 01:28, Scott Wood wrote: > On Thu, 2014-10-02 at 01:21 +0200, Alexander Graf wrote: >> >> On 02.10.14 00:39, Scott Wood wrote: >>> On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: The generic Linux framework to power off the machine is a function pointer called pm_po

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Scott Wood
On Thu, 2014-10-02 at 01:21 +0200, Alexander Graf wrote: > > On 02.10.14 00:39, Scott Wood wrote: > > On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: > >> The generic Linux framework to power off the machine is a function pointer > >> called pm_power_off. The trick about this pointer is t

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Alexander Graf
On 02.10.14 00:39, Scott Wood wrote: > On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: >> The generic Linux framework to power off the machine is a function pointer >> called pm_power_off. The trick about this pointer is that device drivers can >> potentially implement it rather than boa

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Scott Wood
On Wed, 2014-10-01 at 15:27 +0200, Alexander Graf wrote: > The generic Linux framework to power off the machine is a function pointer > called pm_power_off. The trick about this pointer is that device drivers can > potentially implement it rather than board files. > > Today on PowerPC we set pm_po

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Alexander Graf
On 01.10.14 17:54, Guenter Roeck wrote: > On Wed, Oct 01, 2014 at 04:47:23PM +0200, Alexander Graf wrote: >> >> >> On 01.10.14 16:33, Geert Uytterhoeven wrote: >>> Hi Alex, >>> >>> On Wed, Oct 1, 2014 at 3:27 PM, Alexander Graf wrote: The generic Linux framework to power off the machine is

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Guenter Roeck
On Wed, Oct 01, 2014 at 04:47:23PM +0200, Alexander Graf wrote: > > > On 01.10.14 16:33, Geert Uytterhoeven wrote: > > Hi Alex, > > > > On Wed, Oct 1, 2014 at 3:27 PM, Alexander Graf wrote: > >> The generic Linux framework to power off the machine is a function pointer > >> called pm_power_off.

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Geert Uytterhoeven
On Wed, Oct 1, 2014 at 4:47 PM, Alexander Graf wrote: >> This is touching the same area as last night's >> "[RFC PATCH 00/16] kernel: Add support for poweroff handler call chain" >> https://lkml.org/lkml/2014/9/30/575 > > I agree, and I think your patch set is walking into a reasonable > direction

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Alexander Graf
On 01.10.14 16:33, Geert Uytterhoeven wrote: > Hi Alex, > > On Wed, Oct 1, 2014 at 3:27 PM, Alexander Graf wrote: >> The generic Linux framework to power off the machine is a function pointer >> called pm_power_off. The trick about this pointer is that device drivers can >> potentially implemen

Re: [PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Geert Uytterhoeven
Hi Alex, On Wed, Oct 1, 2014 at 3:27 PM, Alexander Graf wrote: > The generic Linux framework to power off the machine is a function pointer > called pm_power_off. The trick about this pointer is that device drivers can > potentially implement it rather than board files. > > Today on PowerPC we se

[PATCH 00/20] powerpc: Convert power off logic to pm_power_off

2014-10-01 Thread Alexander Graf
The generic Linux framework to power off the machine is a function pointer called pm_power_off. The trick about this pointer is that device drivers can potentially implement it rather than board files. Today on PowerPC we set pm_power_off to invoke our generic full machine power off logic which th