Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-11-03 Thread Petr Mladek
On Tue 2020-11-03 16:43:59, Matteo Croce wrote: > On Tue, Nov 3, 2020 at 3:25 PM Petr Mladek wrote: > > > > On Tue 2020-11-03 12:43:32, Matteo Croce wrote: > > > On Mon, Nov 2, 2020 at 12:01 PM Petr Mladek wrote: > > > > > > > > On Sun 2020-11-01 02:57:40, Matteo Croce wrote: > > > > > On Fri, Oc

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-11-03 Thread Matteo Croce
On Tue, Nov 3, 2020 at 3:25 PM Petr Mladek wrote: > > On Tue 2020-11-03 12:43:32, Matteo Croce wrote: > > On Mon, Nov 2, 2020 at 12:01 PM Petr Mladek wrote: > > > > > > On Sun 2020-11-01 02:57:40, Matteo Croce wrote: > > > > On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > > > > > > > > >

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-11-03 Thread Petr Mladek
On Tue 2020-11-03 12:43:32, Matteo Croce wrote: > On Mon, Nov 2, 2020 at 12:01 PM Petr Mladek wrote: > > > > On Sun 2020-11-01 02:57:40, Matteo Croce wrote: > > > On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > > > > > > > On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > > > > > From: Mat

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-11-03 Thread Matteo Croce
On Mon, Nov 2, 2020 at 12:01 PM Petr Mladek wrote: > > On Sun 2020-11-01 02:57:40, Matteo Croce wrote: > > On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > > > > > On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > > > > From: Matteo Croce > > > > > > > > The kernel cmdline reboot= argument

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-11-02 Thread Petr Mladek
On Sun 2020-11-01 02:57:40, Matteo Croce wrote: > On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > > > On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > > > From: Matteo Croce > > > > > > The kernel cmdline reboot= argument allows to specify the CPU used > > > for rebooting, with the syntax

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-31 Thread Matteo Croce
On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= argument allows to specify the CPU used > > for rebooting, with the syntax `s` among the other flags, e.g. > > > > reboot=soft,s4

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-30 Thread Petr Mladek
On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= argument allows to specify the CPU used > for rebooting, with the syntax `s` among the other flags, e.g. > > reboot=soft,s4 > reboot=warm,s31,force > > In the early days the parsing was d

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-27 Thread Greg KH
On Tue, Oct 27, 2020 at 02:35:45PM +0100, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= argument allows to specify the CPU used > for rebooting, with the syntax `s` among the other flags, e.g. > > reboot=soft,s4 > reboot=warm,s31,force > > In the early days the

[PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-27 Thread Matteo Croce
From: Matteo Croce The kernel cmdline reboot= argument allows to specify the CPU used for rebooting, with the syntax `s` among the other flags, e.g. reboot=soft,s4 reboot=warm,s31,force In the early days the parsing was done with simple_strtoul(), later deprecated in favor of the safer