All of lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo CASTELLO <angelo.castello@st.com>
To: 'Simon Horman' <horms@verge.net.au>
Cc: kexec@lists.infradead.org
Subject: RE: [PATCH] kexec: sh: Fixed command line management.
Date: Tue, 6 Sep 2011 09:13:38 +0200	[thread overview]
Message-ID: <057c01cc6c64$8089ddb0$819d9910$@castello@st.com> (raw)
In-Reply-To: <20110905222940.GA29637@verge.net.au>

> -----Original Message-----
> From: kexec-bounces@lists.infradead.org [mailto:kexec-
> bounces@lists.infradead.org] On Behalf Of Simon Horman
> Sent: martedì 6 settembre 2011 0.30
> To: Angelo CASTELLO
> Cc: kexec@lists.infradead.org
> Subject: Re: [PATCH] kexec: sh: Fixed command line management.
> 
> On Mon, Sep 05, 2011 at 05:02:24PM +0200, Angelo CASTELLO wrote:
> > This fixes the command line management to be rightly used by
> > elf-sh and zImage-sh type formats. Basically, the issue was on use
> > of --append option for both set and append the STRING at the cmdline.
> > With this patch we correctly manage the cmdline by means of:
> >   --append=STRING           Append STRING to the current kernel
> command line
> >   --command-line=STRING     Set the kernel command line to STRING
> > Kexec by default gets and runs new kernel using the current
> > kernel command line. Running kexec -h you will see its default
> options.
> 
> Hi Angelo,
> 
> I don't believe that the changes to the processing of command-line
> that you have made are consistent with the implementation on
> other architectures.

Hi Simon,
To be consistent with the concepts of --append and --command-line,
can I use the guide line implemented by the x86_64 ? 
Where we have:
                { "command-line",       1, NULL, OPT_APPEND },
                { "append",             1, NULL, OPT_APPEND },
                { "reuse-cmdline",      0, NULL, OPT_REUSE_CMDLINE },

But from my point of view, one of them is redundant. 
Could be appropriate to change the meant of '--append' from 'set' to
'append',
for all architectures.
What do you think ?

> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

      reply	other threads:[~2011-09-06  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05 15:02 [PATCH] kexec: sh: Fixed command line management Angelo CASTELLO
2011-09-05 22:29 ` Simon Horman
2011-09-06  7:13   ` Angelo CASTELLO [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='057c01cc6c64$8089ddb0$819d9910$@castello@st.com' \
    --to=angelo.castello@st.com \
    --cc=horms@verge.net.au \
    --cc=kexec@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.