From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: linux-input@vger.kernel.org, arve@android.com,
kernel-team@android.com, john.stultz@linaro.org
Subject: Re: [PATCH] Input: Adding graceful shutdown to sysrq key reset
Date: Tue, 23 Apr 2013 17:42:31 -0700 [thread overview]
Message-ID: <20130424004231.GA22911@core.coreip.homeip.net> (raw)
In-Reply-To: <51771E48.40600@linaro.org>
On Tue, Apr 23, 2013 at 05:50:32PM -0600, Mathieu Poirier wrote:
> On 13-04-16 08:45 AM, Mathieu Poirier wrote:
> > On 13-04-15 02:45 PM, Dmitry Torokhov wrote:
> >> Hi Mathieu,
> >>
> >> On Fri, Apr 05, 2013 at 07:38:32AM -0600, mathieu.poirier@linaro.org wrote:
> >>> From: "Mathieu J. Poirier" <mathieu.poirier@linaro.org>
> >>>
> >>> Attempt to reboot the system gracefully when a key combo
> >>> is detected. The system is force to go down if the first
> >>> attempt failed and the key combo is pressed a second time.
> >>>
> >>
> >> If system can gracefully shutdown can;t we request it through normal
> >> means?
> >>
> >> Thanks.
> >>
> >
> > Can you provide more details on how you'd like to see this done please ?
> > Since 'kernel_restart' is found in 'linux/reboot.h' I was under the
> > impression that it is fairly mainstream.
> >
> > Thanks,
> > Mathieu.
> >
>
> I haven't hard back from my last question so I'll try to interpret your
> original answer differently.
>
> The proposed functionality is a last effort at rebooting the system when
> the UI is hung. In such case the rest of the system could still be
> alive and as such should be given a chance to reboot more gracefully
> than when using emergency_reset().
OK, fair enough.
--
Dmitry
prev parent reply other threads:[~2013-04-24 0:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 13:38 [PATCH] Input: Adding graceful shutdown to sysrq key reset mathieu.poirier
2013-04-15 20:45 ` Dmitry Torokhov
2013-04-16 14:45 ` Mathieu Poirier
2013-04-23 23:50 ` Mathieu Poirier
2013-04-24 0:42 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130424004231.GA22911@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=arve@android.com \
--cc=john.stultz@linaro.org \
--cc=kernel-team@android.com \
--cc=linux-input@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).