Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: ralf@uni-koblenz.de
To: "William J. Earl" <wje@fir.engr.sgi.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: Indy crash during bootup
Date: Fri, 12 Dec 1997 04:42:07 +0100	[thread overview]
Message-ID: <19971212044207.36704@uni-koblenz.de> (raw)
In-Reply-To: <199712120315.TAA27978@fir.engr.sgi.com>; from William J. Earl on Thu, Dec 11, 1997 at 07:15:22PM -0800

On Thu, Dec 11, 1997 at 07:15:22PM -0800, William J. Earl wrote:

> ralf@uni-koblenz.de writes:
> ...
>  > William: would an attempt to manipulate the R4600 second level cache on
>  > a Indy without such a cache result in a bus error interrupt?
> ...
>      Yes.  The memory address of the cache controller will not exist.  Avoid
> referencing it when the cache is not configured.  If the kernel is not
> reading the cache configuration from the CPU module EEPROM, then it should
> test for the existence of the cache controller by referencing it within
> some sort of exception trap which returns control gracefully with an error
> indication if a bus error occurs.  Note that you might get a bus error exception
> (on a read) rather than a bus error interrupt (on a write).

Ok, this prooves that my theories have been correct.  In fact the Indy
code tries to be intelligent about recognicing a second level cache but
fails to get things right when flushing the cache.  Assume this bug to
be fixed for the next release.

There seems to be something else wrong with the cache handling.  My R5000
Indy has a second level cache according to hinv but it doesn't show up
in the results of lmbench running under Linux.

>click click<

Indeed, we only activate the second level cache for R4600 machines.  I
guess the next kernel release will be *faster* :-)

  Ralf

  reply	other threads:[~1997-12-12  3:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-08 14:06 Uploads Ralf Baechle
1997-12-08 14:58 ` Uploads Alan Cox
1997-12-08 14:58   ` Uploads Alan Cox
1997-12-08 15:12   ` Uploads Ralf Baechle
1997-12-09  6:03 ` Uploads Alex deVries
1997-12-09  7:42   ` Uploads ralf
1997-12-10  0:34 ` Uploads Michael Hill
1997-12-10  3:02   ` Uploads ralf
1997-12-11 22:03     ` Uploads Benjamin Pannier
1997-12-12  1:42       ` Uploads ralf
     [not found]     ` <9712110612.ZM1219@mdhill.interlog.com>
1997-12-12  2:34       ` Indy crash during bootup ralf
1997-12-12  3:15         ` William J. Earl
1997-12-12  3:42           ` ralf [this message]
1997-12-12 10:04         ` Benjamin Pannier

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=19971212044207.36704@uni-koblenz.de \
    --to=ralf@uni-koblenz.de \
    --cc=linux@cthulhu.engr.sgi.com \
    --cc=wje@fir.engr.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