Re: [PATCH v3] reboot: allow to specify reboot mode via sysfs

2020-11-11 Thread Petr Mladek
On Tue 2020-11-10 18:36:05, Matteo Croce wrote: > On Tue, Nov 10, 2020 at 3:58 PM Petr Mladek wrote: > > On Mon 2020-11-09 17:45:38, Matteo Croce wrote: > > > From: Matteo Croce > > > +What:/sys/kernel/reboot/force > > > +Date:November 2020 > > > +KernelVersion:

Re: [PATCH v3] reboot: allow to specify reboot mode via sysfs

2020-11-10 Thread Matteo Croce
On Tue, Nov 10, 2020 at 3:58 PM Petr Mladek wrote: > > On Mon 2020-11-09 17:45:38, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= option offers some sort of control > > on how the reboot is issued. > > Add handles in sysfs to allow setting these reboot options, so t

Re: [PATCH v3] reboot: allow to specify reboot mode via sysfs

2020-11-10 Thread Petr Mladek
On Mon 2020-11-09 17:45:38, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= option offers some sort of control > on how the reboot is issued. > Add handles in sysfs to allow setting these reboot options, so they > can be changed when the system is booted, other than at boo

[PATCH v3] reboot: allow to specify reboot mode via sysfs

2020-11-09 Thread Matteo Croce
From: Matteo Croce The kernel cmdline reboot= option offers some sort of control on how the reboot is issued. Add handles in sysfs to allow setting these reboot options, so they can be changed when the system is booted, other than at boot time. The handlers are under /kernel/reboot, can be read