All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
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:50:32 -0600	[thread overview]
Message-ID: <51771E48.40600@linaro.org> (raw)
In-Reply-To: <516D6420.4070406@linaro.org>

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().

Hope this helps clarifying my position.  I would be more than happy to
re-work the commit message if need be.  Please consider getting back to me.

Mathieu.

  reply	other threads:[~2013-04-23 23:49 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 [this message]
2013-04-24  0:42       ` Dmitry Torokhov

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=51771E48.40600@linaro.org \
    --to=mathieu.poirier@linaro.org \
    --cc=arve@android.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=john.stultz@linaro.org \
    --cc=kernel-team@android.com \
    --cc=linux-input@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.