From: Pete Popov <ppopov@mvista.com>
To: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: RM7000 cache question
Date: Wed, 21 Feb 2001 19:18:37 -0800 [thread overview]
Message-ID: <3A94850D.FDFE52CD@mvista.com> (raw)
Question on the RM7000 caches:
The function __flush_cache_all_d32i32() (and some other ones), flush the
entire primary data cache using blast_dache32(). Since writebacks from
the primary cache go to the secondary and tertiary/main memory, this
function seems fine. However, blast_dcache32() uses indexed cache
instructions. The primary data cache is only 16KB; the secondary cache
is 256KB. So my question is, since we're using indexed instructions, and
the primary data cache is only 16KB, will that flush only one of the 4
ways of the secondary cache, since each way is 64KB?
static void __flush_cache_all_d32i32(void)
{
blast_dcache32();
blast_icache32();
}
Pete
reply other threads:[~2001-02-22 3:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3A94850D.FDFE52CD@mvista.com \
--to=ppopov@mvista.com \
--cc=linux-mips@oss.sgi.com \
/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