public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: David Holsgrove <david.holsgrove@xilinx.com>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: crossgcc@sourceware.org
Subject: Re: [PATCH] config/arch+scripts/build/arch: Add Microblaze architecture support
Date: Thu, 20 Sep 2012 00:18:00 -0000	[thread overview]
Message-ID: <CAM=EW8bdv6aiNXQDpjqG+1iH7P1vjoG6Bqr5_UMhCRkYsO29yg@mail.gmail.com> (raw)
In-Reply-To: <CAM=EW8adEvOs=oWHjexD9Md2ymYTRKx3-ux-9bMGumDEbja2+w@mail.gmail.com>

Hi Yann,

On 20 September 2012 06:26, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> David, All,
>
> On Tuesday 18 September 2012 04:16:54 David Holsgrove wrote:
> > # HG changeset patch
> > # User David Holsgrove <david.holsgrove@xilinx.com>
> > # Date 1347933988 -36000
> > # Node ID 79a03dc829edb6188436a2c7cc33ead9e27827c4
> > # Parent  2858a24a584642e263a920b4214c815c172ed547
> > config/arch+scripts/build/arch: Add Microblaze architecture support
>
> Usually, we just specify the component familly, the component name, and
> the action being done. As microblaze is still experimental (at least in
> CT-NG!), saying so in the commmit log would be good.
>
> In this case, a subject like the following would
> be more obvious:
>
>     arch/microblaze: add new architecture
>
> > Add Microblaze architecture support (depends on EXPERIMENTAL)
> >
> > Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
> >

Thanks for the comments, I'll update my commit log message in v2

> > diff -r 2858a24a5846 -r 79a03dc829ed config/arch/microblaze.in
> > --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> > +++ b/config/arch/microblaze.in       Tue Sep 18 12:06:28 2012 +1000
> > @@ -0,0 +1,12 @@
> > +# MicroBlaze specific config options
> > +
> > +## depends on EXPERIMENTAL
> > +##
> > +## select ARCH_SUPPORT_ARCH
> > +## select ARCH_FLOAT_SW
> > +## select ARCH_SUPPORTS_BOTH_ENDIAN
> > +## select ARCH_DEFAULT_BE
> > +## select ARCH_DEFAULT_HAS_MMU
>
> What archs usually do is:
>   - if the MMU is always available (eg. x86):
>         select ARCH_USE_MMU
>   - if the MMU is either available or missing (eg. arm):
>         select ARCH_SUPPORTS_BOTH_MMU
>         select ARCH_DEFAULT_HAS_MMU   (only if the MMU is 'default')
>   - if the arch never has an MMU (eg. blackfin), select nothing
>
> AFAICS, microblaze is like ARM: use of the MMU is configurable.
>

Yes indeed, I can add ARCH_SUPPORTS_BOTH_MMU, and having
ARCH_DEFAULT_HAS_MMU would be a reasonable config choice.

> Also, please add to the help entry that upstream projects are not all
> up to full support for microblaze, and that support is being added.
> If there are out-of-tree public patches and/or alternate repositories,
> you may also want to point to them in the help entry, so that interested
> parties can use them until support is upstream.
>
> Othwerwise, looks good!

Thanks Yann - I'll resubmit shortly :-)

David

>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

      parent reply	other threads:[~2012-09-20  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18  2:18 David Holsgrove
2012-09-19 20:26 ` Yann E. MORIN
     [not found]   ` <CAM=EW8adEvOs=oWHjexD9Md2ymYTRKx3-ux-9bMGumDEbja2+w@mail.gmail.com>
2012-09-20  0:18     ` David Holsgrove [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='CAM=EW8bdv6aiNXQDpjqG+1iH7P1vjoG6Bqr5_UMhCRkYsO29yg@mail.gmail.com' \
    --to=david.holsgrove@xilinx.com \
    --cc=crossgcc@sourceware.org \
    --cc=yann.morin.1998@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).