All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Jimmy Zhang <jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Allen Martin <AMartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [tegrarcm PATCH 2/2] tegrarcm: Add support for loading MTS
Date: Thu, 12 Mar 2015 08:51:51 +0100	[thread overview]
Message-ID: <20150312075150.GB30344@ulmo.nvidia.com> (raw)
In-Reply-To: <b7c1cba9c31042d4a8be3756f5f78455-wO81nVYWzR5AOoK4uxnQ11aTQe2KTcn/@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]

On Wed, Mar 11, 2015 at 03:37:44PM +0000, Stephen Warren wrote:
> Thierry Reding wrote at Wednesday, March 11, 2015 4:46 AM:
> > On Tue, Jan 13, 2015 at 04:20:02PM -0800, Jimmy Zhang wrote:
> > > From: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > >
> > > The Denver CPU in Tegra132 requires microcode to be loaded before CPU
> > > initialization.  There are two microcode files required, "preboot" MTS
> > > and MTS proper.  Add support for loading MTS from either the binary
> > > versions checked in or from the command line.
> 
> > > @@ -117,6 +131,16 @@ static void usage(char *progname)
> > >  	fprintf(stderr, "\t\tminiloader\n");
> > >  	fprintf(stderr, "\t--miniloader_entry=<mlentry>\n");
> > >  	fprintf(stderr, "\t\tSpecify the entry point for the miniloader\n");
> > > +	fprintf(stderr, "\t--preboot=pbfile\n");
> > > +	fprintf(stderr, "\t\tRead the preboot mts ucode from file instead of using built-in\n");
> > > +	fprintf(stderr, "\t\tpreboot mts\n");
> > > +	fprintf(stderr, "\t--preboot_entry=<pbentry>\n");
> > 
> > Can we please change this to --preboot-entry...
> > 
> > > +	fprintf(stderr, "\t\tSpecify the entry point for the preboot mts ucode\n");
> > > +	fprintf(stderr, "\t--mts=mtsfile\n");
> > > +	fprintf(stderr, "\t\tRead the mts ucode from file instead of using built-in\n");
> > > +	fprintf(stderr, "\t\tmts\n");
> > > +	fprintf(stderr, "\t--mts_entry=<mtsentry>\n");
> > 
> > and this to --mts-entry? I know we've used underscores in the past, but
> > they are very unconventional in command-line options and I mistype them
> > every time.
> > 
> > I have local patches to convert the existing command-line options from
> > underscores to dashes as well. I'll send those out after these patches
> > have been applied.
> 
> I think it makes sense to accept dashes instead of underscores, but we
> shouldn't remove support for the existing cmdline options, so that the
> tool remains backwards-compatible with any scripts anyone has, and
> their muscle memory.

Of course. My local patches simply add a variant of the option with a
dash while keeping the original with the underscore. Not sure we should
proliferate the practice of supporting underscores in new options. I
suppose consistency would be an argument, but I'd rather have us use
dashed variants consistently and only keep the underscore ones for
backwards-compatibility.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-03-12  7:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14  0:20 [tegrarcm PATCH 0/2] Add T132 support Jimmy Zhang
     [not found] ` <1421194802-28198-1-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-01-14  0:20   ` [tegrarcm PATCH 1/2] tegrarcm: Add Tegra132 support Jimmy Zhang
     [not found]     ` <1421194802-28198-2-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-11 10:38       ` Thierry Reding
2015-01-14  0:20   ` [tegrarcm PATCH 2/2] tegrarcm: Add support for loading MTS Jimmy Zhang
     [not found]     ` <1421194802-28198-3-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-11 10:46       ` Thierry Reding
     [not found]         ` <20150311104624.GP19577-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-03-11 15:37           ` Stephen Warren
     [not found]             ` <b7c1cba9c31042d4a8be3756f5f78455-wO81nVYWzR5AOoK4uxnQ11aTQe2KTcn/@public.gmane.org>
2015-03-12  7:51               ` Thierry Reding [this message]
2015-01-14 17:03   ` [tegrarcm PATCH 0/2] Add T132 support Stephen Warren
2015-03-11 10:34   ` Thierry Reding

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=20150312075150.GB30344@ulmo.nvidia.com \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=AMartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.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.