From: Ralf Baechle <ralf@linux-mips.org>
To: Dominic Sweetman <dom@mips.com>
Cc: Peter Horton <pdh@colonel-panic.org>, linux-mips@linux-mips.org
Subject: Re: Instability / caching problems on Qube 2 - solved ?
Date: Mon, 15 Dec 2003 20:51:18 +0100 [thread overview]
Message-ID: <20031215195118.GA1787@linux-mips.org> (raw)
In-Reply-To: <16349.31025.637084.624143@doms-laptop.algor.co.uk>
On Mon, Dec 15, 2003 at 09:04:49AM +0000, Dominic Sweetman wrote:
> My prejudices are showing but...
>
> o Shouldn't the kernel should have a zero-tolerance policy towards cache
> aliases? That is, no D-cache alias should ever be permitted to
> happen, not even in data you reasonably hope might be read-only?
We're already trying hard to avoid such aliases. The case found by Peter
is clearly a bug and nothing else.
> Aliases only appeared by a kind of mistake when the R4000 was
> opportunistically repackaged without the secondary cache (the L2
> cache tags used to keep track of the virtually-indexed L1s, and you
> got an exception if you created an L1-alias).
>
> They really aren't a feature to be tolerated in the hope you can
> clean up before disaster strikes.
These days R4000SC is only an ancient processor - but very valuable for
Linux maintenance because it's virtual coherency exception is the
only available hardware detector for aliases.
> o And I could never get my brains round cache maintenance if I used
> the same word ("flush") both for invalidate and write-back.
I once had a discussion about the terminology with maintainers of other
architectures. Turned none of the MIPS terms were really unambigious;
does flush imply a writeback, does it imply invalidation? Does
invalidate imply writing back to memory or writeback imply invalidation
etc. etc. ad infinitum. Confusion pure ...
Ralf
prev parent reply other threads:[~2003-12-15 19:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20031214162605.GA18357@skeleton-jack>
2003-12-15 2:27 ` Instability / caching problems on Qube 2 - solved ? Ralf Baechle
2003-12-15 8:32 ` Peter Horton
2003-12-15 9:04 ` Dominic Sweetman
2003-12-15 19:51 ` Ralf Baechle [this message]
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=20031215195118.GA1787@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=dom@mips.com \
--cc=linux-mips@linux-mips.org \
--cc=pdh@colonel-panic.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