All of lore.kernel.org
 help / color / mirror / Atom feed
From: sudeep.holla@arm.com (Sudeep Holla)
To: linux-arm-kernel@lists.infradead.org
Subject: [Query] How to pass reboot arguments to secure firmware with PSCI spec
Date: Fri, 01 Aug 2014 11:21:12 +0100	[thread overview]
Message-ID: <53DB6A18.5050904@arm.com> (raw)
In-Reply-To: <20140801180652.72e722be@xhacker>



On 01/08/14 11:06, Jisheng Zhang wrote:
> Hi Catalin and Will,
>
> I noticed that the following commit implement reboot via. PSCI SYSTEM_RESET
> function. So my question is how to handle the reboot arguments?
>

What reboot arguments do you want to handle ?

>
>> static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd)
>> {
>>        invoke_psci_fn(PSCI_0_2_FN_SYSTEM_RESET, 0, 0, 0);
>
> How to pass cmd to secure firmware?
>

What cmd do you want to pass ? The function id is already handled. What
else do you want to pass ?

If you see PSCI v0.2 spec, the SYSTEM_RESET and SYSTEM_SHUTDOWN takes no
parameters.

Regards,
Sudeep

WARNING: multiple messages have this Message-ID (diff)
From: Sudeep Holla <sudeep.holla@arm.com>
To: Jisheng Zhang <jszhang@marvell.com>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Will Deacon <Will.Deacon@arm.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Subject: Re: [Query] How to pass reboot arguments to secure firmware with PSCI spec
Date: Fri, 01 Aug 2014 11:21:12 +0100	[thread overview]
Message-ID: <53DB6A18.5050904@arm.com> (raw)
In-Reply-To: <20140801180652.72e722be@xhacker>



On 01/08/14 11:06, Jisheng Zhang wrote:
> Hi Catalin and Will,
>
> I noticed that the following commit implement reboot via. PSCI SYSTEM_RESET
> function. So my question is how to handle the reboot arguments?
>

What reboot arguments do you want to handle ?

>
>> static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd)
>> {
>>        invoke_psci_fn(PSCI_0_2_FN_SYSTEM_RESET, 0, 0, 0);
>
> How to pass cmd to secure firmware?
>

What cmd do you want to pass ? The function id is already handled. What
else do you want to pass ?

If you see PSCI v0.2 spec, the SYSTEM_RESET and SYSTEM_SHUTDOWN takes no
parameters.

Regards,
Sudeep


  reply	other threads:[~2014-08-01 10:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 10:06 [Query] How to pass reboot arguments to secure firmware with PSCI spec Jisheng Zhang
2014-08-01 10:06 ` Jisheng Zhang
2014-08-01 10:21 ` Sudeep Holla [this message]
2014-08-01 10:21   ` Sudeep Holla
2014-08-01 11:02   ` Jisheng Zhang
2014-08-01 11:02     ` Jisheng Zhang
2014-08-01 14:00     ` Sudeep Holla
2014-08-01 14:00       ` Sudeep Holla

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=53DB6A18.5050904@arm.com \
    --to=sudeep.holla@arm.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.