LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Catalin Udma <catalin.udma@freescale.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] Update compilation flags with core specific options
Date: Tue, 9 Jul 2013 18:48:35 -0500	[thread overview]
Message-ID: <1373413715.8183.210@snotra> (raw)
In-Reply-To: <1372764004-18896-1-git-send-email-catalin.udma@freescale.com> (from catalin.udma@freescale.com on Tue Jul  2 06:20:04 2013)

On 07/02/2013 06:20:04 AM, Catalin Udma wrote:
> If CONFIG_E500 is enabled, the compilation flags are updated
> specifying the target core -mcpu=3De5500/e500mc/8540
> Also remove -Wa,-me500, being incompatible with -mcpu=3De5500/e6500
> The assembler option is redundant if the -mcpu=3D flag is set.
> The patch fixes the kernel compilation problem for e5500/e6500
> when using gcc option -mcpu=3De5500/e6500.

Another reason to do this is that currently, the assembler is replacing =20
lwsync with sync on 64-bit kernels (it doesn't happen on 32-bit because =20
we generate the lwsync at runtime) due to the -Wa,-me500.

-Scott=

  reply	other threads:[~2013-07-09 23:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 11:20 [PATCH] Update compilation flags with core specific options Catalin Udma
2013-07-09 23:48 ` Scott Wood [this message]
2013-07-24  0:11 ` Scott Wood
2013-07-24 16:25   ` Udma Catalin-Dan-B32721
2013-07-24 17:45     ` Scott Wood

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=1373413715.8183.210@snotra \
    --to=scottwood@freescale.com \
    --cc=catalin.udma@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox