Re: [Xen-devel] [PATCH 2/6] ARM: xen: Register with kernel restart handler

2016-04-09 Thread Stefano Stabellini
On Sat, 9 Apr 2016, Stefano Stabellini wrote: > On Fri, 8 Apr 2016, Guenter Roeck wrote: > > Register with kernel restart handler instead of setting arm_pm_restart > > directly. > > > > Select a high priority of 192 to ensure that default restart handlers > > are replaced if Xen is running. > > >

Re: [Xen-devel] [PATCH 2/6] ARM: xen: Register with kernel restart handler

2016-04-09 Thread Stefano Stabellini
On Fri, 8 Apr 2016, Guenter Roeck wrote: > Register with kernel restart handler instead of setting arm_pm_restart > directly. > > Select a high priority of 192 to ensure that default restart handlers > are replaced if Xen is running. > > Signed-off-by: Guenter Roeck Reviewed-by: Stefano Stabell

Re: [Xen-devel] [PATCH 2/6] ARM: xen: Register with kernel restart handler

2016-04-08 Thread Guenter Roeck
On Fri, Apr 08, 2016 at 11:22:57AM -0400, Konrad Rzeszutek Wilk wrote: > On Fri, Apr 08, 2016 at 05:53:55AM -0700, Guenter Roeck wrote: > > Register with kernel restart handler instead of setting arm_pm_restart > > directly. > > > > Select a high priority of 192 to ensure that default restart hand

Re: [Xen-devel] [PATCH 2/6] ARM: xen: Register with kernel restart handler

2016-04-08 Thread Konrad Rzeszutek Wilk
On Fri, Apr 08, 2016 at 05:53:55AM -0700, Guenter Roeck wrote: > Register with kernel restart handler instead of setting arm_pm_restart > directly. > > Select a high priority of 192 to ensure that default restart handlers Is there some macro for that magic value? > are replaced if Xen is running

[Xen-devel] [PATCH 2/6] ARM: xen: Register with kernel restart handler

2016-04-08 Thread Guenter Roeck
Register with kernel restart handler instead of setting arm_pm_restart directly. Select a high priority of 192 to ensure that default restart handlers are replaced if Xen is running. Signed-off-by: Guenter Roeck --- arch/arm/xen/enlighten.c | 13 +++-- 1 file changed, 11 insertions(+),