All of lore.kernel.org
 help / color / mirror / Atom feed
From: arun.ramamurthy@broadcom.com (Arun Ramamurthy)
To: linux-arm-kernel@lists.infradead.org
Subject: Setting reboot type at run time for ARM
Date: Tue, 17 Mar 2015 14:44:39 -0700	[thread overview]
Message-ID: <5508A047.7060308@broadcom.com> (raw)

Hello

I would like to specify a reset type just before issuing the reboot 
command in the kernel. I know the kernel command line parameter can be 
set as "reboot=w" to indicate warm reset but I want to be able to decide 
this at run time before issuing a reboot command. What would be the best 
way to implement this? Modify the reboot command
to accept a parameter or is there a standard hook I can use?

Arun Ramamurthy

WARNING: multiple messages have this Message-ID (diff)
From: Arun Ramamurthy <arun.ramamurthy@broadcom.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Cc: Dmitry Torokhov <dtor@google.com>,
	Anatol Pomazau <anatol@google.com>,
	"bcm-kernel-feedback-list@broadcom.com" 
	<bcm-kernel-feedback-list@broadcom.com>,
	Ray Jui <rjui@broadcom.com>,
	"Scott Branden" <sbranden@broadcom.com>,
	Jonathan Richardson <jonathar@broadcom.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Russell King <linux@arm.linux.org.uk>,
	Olof Johansson <olof@lixom.net>
Subject: Setting reboot type at run time for ARM
Date: Tue, 17 Mar 2015 14:44:39 -0700	[thread overview]
Message-ID: <5508A047.7060308@broadcom.com> (raw)

Hello

I would like to specify a reset type just before issuing the reboot 
command in the kernel. I know the kernel command line parameter can be 
set as "reboot=w" to indicate warm reset but I want to be able to decide 
this at run time before issuing a reboot command. What would be the best 
way to implement this? Modify the reboot command
to accept a parameter or is there a standard hook I can use?

Arun Ramamurthy

             reply	other threads:[~2015-03-17 21:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 21:44 Arun Ramamurthy [this message]
2015-03-17 21:44 ` Setting reboot type at run time for ARM Arun Ramamurthy
2015-03-18  0:50 ` Florian Fainelli
2015-03-18  0:50   ` Florian Fainelli
2015-03-18 20:58   ` Arun Ramamurthy
2015-03-18 20:58     ` Arun Ramamurthy

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=5508A047.7060308@broadcom.com \
    --to=arun.ramamurthy@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.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.