Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Andrew Morton
On Thu, 10 Jul 2014 17:15:49 -0700 Guenter Roeck wrote: > Error on my part - I thought lower numbers would > have higher priority, but after looking into the code again that > is wrong. You shouldn't have needed to look into the code :( Maybe a documentation patch for notifier_block.priority

Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Guenter Roeck
On 07/10/2014 04:09 PM, Andrew Morton wrote: On Tue, 8 Jul 2014 20:37:56 -0700 Guenter Roeck wrote: The existing mechanisms have a number of drawbacks. Typically only one scheme to restart the system is supported (at least if arm_pm_restart is used). At least in theory there can be mutliple

Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Andrew Morton
On Tue, 8 Jul 2014 20:37:56 -0700 Guenter Roeck wrote: > The existing mechanisms have a number of drawbacks. Typically only one scheme > to restart the system is supported (at least if arm_pm_restart is used). > At least in theory there can be mutliple means to restart the system, some of >

Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Andrew Morton
On Tue, 8 Jul 2014 20:37:56 -0700 Guenter Roeck li...@roeck-us.net wrote: The existing mechanisms have a number of drawbacks. Typically only one scheme to restart the system is supported (at least if arm_pm_restart is used). At least in theory there can be mutliple means to restart the

Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Guenter Roeck
On 07/10/2014 04:09 PM, Andrew Morton wrote: On Tue, 8 Jul 2014 20:37:56 -0700 Guenter Roeck li...@roeck-us.net wrote: The existing mechanisms have a number of drawbacks. Typically only one scheme to restart the system is supported (at least if arm_pm_restart is used). At least in theory

Re: [PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-10 Thread Andrew Morton
On Thu, 10 Jul 2014 17:15:49 -0700 Guenter Roeck li...@roeck-us.net wrote: Error on my part - I thought lower numbers would have higher priority, but after looking into the code again that is wrong. You shouldn't have needed to look into the code :( Maybe a documentation patch for

[PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-08 Thread Guenter Roeck
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 function pointer to be set either from platform specific code or from

[PATCH v3 0/7] kernel: Add support for restart notifier call chain

2014-07-08 Thread Guenter Roeck
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 function pointer to be set either from platform specific code or from