From: Ralf Baechle <ralf@linux-mips.org>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: linux-mips@linux-mips.org
Subject: R4[04]00SC
Date: Fri, 6 Feb 2004 15:22:01 +0100 [thread overview]
Message-ID: <20040206142201.GA4275@linux-mips.org> (raw)
We still have this stuff in flush_cache_mm():
/*
* Kludge alert. For obscure reasons R4000SC and R4400SC go nuts if we
* only flush the primary caches but R10000 and R12000 behave sane ...
*/
if (current_cpu_data.cputype == CPU_R4000SC ||
current_cpu_data.cputype == CPU_R4000MC ||
current_cpu_data.cputype == CPU_R4400SC ||
current_cpu_data.cputype == CPU_R4400MC)
r4k_blast_scache();
You have any idea what might make this necessary? This slows down
SC systems quite badly but makes the compiler from eleminating the
call to r4k_blast_scache() on systems that don't have one of these
processors.
Could be kludged a bit by also testing cpu_has_subset_pcaches() but
that'd be a hack.
Ralf
next reply other threads:[~2004-02-06 14:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-06 14:22 Ralf Baechle [this message]
[not found] <Pine.LNX.3.96.980813210627.17725A-100000@dn.demo.org>
1998-08-17 19:37 ` R4[04]00SC Ulf Carlsson
1998-08-17 19:37 ` R4[04]00SC Ulf Carlsson
-- strict thread matches above, loose matches on Subject: below --
1998-08-17 16:57 R4[04]00SC Ulf Carlsson
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=20040206142201.GA4275@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=macro@ds2.pg.gda.pl \
/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