From: Arnd Bergmann <arnd@arndb•de>
To: cbe-oss-dev@ozlabs•org
Cc: Akinobu Mita <mita@fixstars•com>,
linuxppc-dev list <linuxppc-dev@ozlabs•org>
Subject: Re: [Cbe-oss-dev] [PATCH] force -mno-string option on cell
Date: Fri, 23 Mar 2007 21:46:20 +0100 [thread overview]
Message-ID: <200703232146.21224.arnd@arndb.de> (raw)
In-Reply-To: <d7a191672b71056daf28a7c93c4e969c@kernel.crashing.org>
On Friday 23 March 2007, Segher Boessenkool wrote:
> =A0=A0=A0=A0=A0=A0=A0=A0CFLAGS_whatever.o :=3D -msome-flags
>=20
> It would be even better to not lie to the compiler by
> telling it it can use the LS area as normal memory, since
> evidently it cannot :-)
Yes, this is the important point. I actually think the first
patch that just replaces memcpy with memcpy_fromio is the
right solution for the specific problem.
Avoiding certain instructions in the kernel may be a good
thing to do as well, but this is not at all a cell specific
thing.
Maybe we should have a more detailed CPU selection Kconfig
option like
CPU Family
* 64 bit common (power3/4/5/6, ppc970, cell, *star)
* 32 bit common (6xx, 82xx, 83xx, 86xx)
* 40x/44x
* ...
Minimum supported CPU (gcc -march=3D, depending on above selection)
* 603
* 604
* 750
* power3
* power4
* 970
Optimize for CPU (gcc -mtune)
(subset of the -march list as before)
Arnd <><
next prev parent reply other threads:[~2007-03-23 20:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 6:23 [PATCH] powerpc: Always use -mno-string Benjamin Herrenschmidt
2007-03-22 12:06 ` Segher Boessenkool
2007-03-23 12:06 ` [PATCH] force -mno-string option on cell Akinobu Mita
2007-03-23 12:56 ` Segher Boessenkool
2007-03-23 19:38 ` Benjamin Herrenschmidt
2007-03-24 0:02 ` Segher Boessenkool
2007-03-23 20:46 ` Arnd Bergmann [this message]
2007-03-26 12:00 ` [Cbe-oss-dev] " Segher Boessenkool
2007-03-24 3:02 ` Paul Mackerras
2007-03-24 14:46 ` Segher Boessenkool
2007-03-23 13:37 ` Kumar Gala
2007-03-23 16:35 ` Segher Boessenkool
2007-03-23 19:46 ` Benjamin Herrenschmidt
2007-03-24 0:04 ` Segher Boessenkool
2007-03-26 8:54 ` Geert Uytterhoeven
2007-03-26 12:33 ` Segher Boessenkool
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=200703232146.21224.arnd@arndb.de \
--to=arnd@arndb$(echo .)de \
--cc=cbe-oss-dev@ozlabs$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=mita@fixstars$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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