Re: [RFC PATCH 0/6] kernel: Add support for restart notifier call chain

2014-07-01 Thread Catalin Marinas
On Tue, Jul 01, 2014 at 02:45:24PM +0100, Guenter Roeck wrote: > On 07/01/2014 04:24 AM, Catalin Marinas wrote: > > On Mon, Jun 30, 2014 at 09:28:51PM +0100, Guenter Roeck wrote: > >> What is restart-poweroff supposed to do in the first place, and why > >> doesn't it call machine_restart() ? If it

Re: [RFC PATCH 0/6] kernel: Add support for restart notifier call chain

2014-07-01 Thread Guenter Roeck
On 07/01/2014 04:24 AM, Catalin Marinas wrote: On Mon, Jun 30, 2014 at 09:28:51PM +0100, Guenter Roeck wrote: On Mon, Jun 30, 2014 at 08:59:47PM +0100, Russell King - ARM Linux wrote: On Mon, Jun 30, 2014 at 12:11:33PM -0700, Guenter Roeck wrote: Various drivers implement architecture and/or d

Re: [RFC PATCH 0/6] kernel: Add support for restart notifier call chain

2014-07-01 Thread Catalin Marinas
On Mon, Jun 30, 2014 at 09:28:51PM +0100, Guenter Roeck wrote: > On Mon, Jun 30, 2014 at 08:59:47PM +0100, Russell King - ARM Linux wrote: > > On Mon, Jun 30, 2014 at 12:11:33PM -0700, Guenter Roeck wrote: > > > Various drivers implement architecture and/or device specific means > > > to restart (r

Re: [RFC PATCH 0/6] kernel: Add support for restart notifier call chain

2014-06-30 Thread Guenter Roeck
On Mon, Jun 30, 2014 at 08:59:47PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 30, 2014 at 12:11:33PM -0700, Guenter Roeck wrote: > > Various drivers implement architecture and/or device specific means > > to restart (reset) the system. Various mechanisms have been implemented > > to suppo

Re: [RFC PATCH 0/6] kernel: Add support for restart notifier call chain

2014-06-30 Thread Russell King - ARM Linux
On Mon, Jun 30, 2014 at 12:11:33PM -0700, Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means > to restart (reset) the system. Various mechanisms have been implemented > to support those schemes. The best known mechanism is arm_pm_restart, > which is a functio