From: Florian Lohoff <f@zz.de>
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: Michal Marek <mmarek@suse.cz>,
kbuild-all@01.org,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: Re: arch/mips/sgi-ip22/Platform:29: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop.
Date: Wed, 9 Apr 2014 10:24:45 +0200 [thread overview]
Message-ID: <20140409082445.GC1438@pax.zz.de> (raw)
In-Reply-To: <20140409051929.GA29246@localhost>
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
Hi,
On Wed, Apr 09, 2014 at 01:19:29PM +0800, Fengguang Wu wrote:
> b9dbdce1 Ralf Baechle 2010-08-05 27 ifdef CONFIG_SGI_IP28
> b9dbdce1 Ralf Baechle 2010-08-05 28 ifeq ($(call cc-option-yn,-mr10k-cache-barrier=store), n)
> b9dbdce1 Ralf Baechle 2010-08-05 @29 $(error gcc doesn't support needed option -mr10k-cache-barrier=store)
> b9dbdce1 Ralf Baechle 2010-08-05 30 endif
> b9dbdce1 Ralf Baechle 2010-08-05 31 endif
> b9dbdce1 Ralf Baechle 2010-08-05 32 platform-$(CONFIG_SGI_IP28) += sgi-ip22/
> b9dbdce1 Ralf Baechle 2010-08-05 33 cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
> b9dbdce1 Ralf Baechle 2010-08-05 34 load-$(CONFIG_SGI_IP28) += 0xa800000020004000
Its IP28 only fixes in gcc see here:
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00041.html
Most likely they never made it into gcc upstream but they are
necessary working around the r10k speculative stores on non
cache coherent machines like the IP28.
Flo
--
Florian Lohoff f@zz.de
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-04-09 8:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <534138d9.RISUZQYUMS8U8s42%fengguang.wu@intel.com>
2014-04-09 5:19 ` arch/mips/sgi-ip22/Platform:29: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop Fengguang Wu
2014-04-09 8:24 ` Florian Lohoff [this message]
2014-04-09 13:32 ` Thomas Bogendoerfer
2014-04-09 23:13 ` Fengguang Wu
2014-04-09 23:44 ` Joshua Kinard
2014-04-10 0:38 ` Ralf Baechle
2014-04-10 3:02 ` Joshua Kinard
2014-04-10 6:59 ` Ralf Baechle
2014-04-13 20:23 ` Joshua Kinard
2014-04-10 12:10 ` Miod Vallat
2014-04-10 12:46 ` Ralf Baechle
2014-04-10 13:21 ` Thomas Bogendoerfer
2014-04-11 1:59 peter fuerst
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=20140409082445.GC1438@pax.zz.de \
--to=f@zz.de \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-mips@linux-mips.org \
--cc=mmarek@suse.cz \
/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