Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "William J. Earl" <wje@fir.engr.sgi.com>
To: ralf@uni-koblenz.de
Cc: Ulf Carlsson <grim@zigzegv.ml.org>, linux@cthulhu.engr.sgi.com
Subject: Re: bus error IRQ
Date: Tue, 18 Aug 1998 19:31:05 -0700	[thread overview]
Message-ID: <199808190231.TAA27036@fir.engr.sgi.com> (raw)
In-Reply-To: <19980818021316.J3345@uni-koblenz.de>

ralf@uni-koblenz.de writes:
...
 > The bad thing with a bus error is that it may be delayed for a very long
 > time thus resulting in a useless program counter.  What happens is that
 > the CPU writes to some invalid address but the write access over the
 > system bus is delayed because the writeback cache policy is being used.
 > Later, maybe even much later, when the cacheline gets written back to
 > memory for some reason the system board signals a bus error interrupt.
 > At this point the program counter may already be completly useless.
...

     You cannot get a delayed bus error on a cached write, unless
you do a "create dirty exclusive" cache operation to validate the line
before writing.  You can get delayed bus errors on uncached writes,
as to device control registers.  Since any K1SEG address is uncached,
it is not too hard to generate a bus error with a bad pointer value.

  reply	other threads:[~1998-08-19  2:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-17 18:45 bus error IRQ Ulf Carlsson
1998-08-18  0:13 ` ralf
1998-08-19  2:31   ` William J. Earl [this message]
1998-08-20  0:13     ` ralf
  -- strict thread matches above, loose matches on Subject: below --
1997-12-16 10:36 Joachim Schmitz
1997-12-16 12:24 ` Ralf Baechle

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=199808190231.TAA27036@fir.engr.sgi.com \
    --to=wje@fir.engr.sgi.com \
    --cc=grim@zigzegv.ml.org \
    --cc=linux@cthulhu.engr.sgi.com \
    --cc=ralf@uni-koblenz.de \
    /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