All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce_Leonard@selinc.com
To: linuxppc-dev@lists.ozlabs.org
Subject: Question regarding the DTLB Miss exceptions
Date: Mon, 29 Mar 2010 23:24:58 -0700	[thread overview]
Message-ID: <OF788A7534.456B03AA-ON882576F6.00228BC4-882576F6.00233EC1@selinc.com> (raw)

I'm tracking a problem that's leading me through DSI and DTLB miss 
exceptions on an MPC8347 (e300c1 core), and I've come across an oddity 
that I'm hoping someone can explain.

When a DTLB Miss exception can't find a PTE for the virtual address being 
written/read, it dummies up the SPRs for a DSI exception and then calls 
directly into the DSI exception code.  Just before the DTLB miss code 
stores a value into DSISR it sets bit 2, which for a DSI exception is a 
reserved bit and should be cleared.  There's no comment on the code 
(.../arch/powerpc/kernel/head_32.S line 619 of the 2.6.33-rc1 kernel). Can 
anyone tell me why this bit is getting set?

Thanks.

Bruce

             reply	other threads:[~2010-03-30  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  6:24 Bruce_Leonard [this message]
2010-03-31 15:44 ` Question regarding the DTLB Miss exceptions Joakim Tjernlund
2010-04-08 13:59 ` Michael Ellerman
2010-04-08 19:33   ` Bruce_Leonard
2010-04-11  8:39     ` Benjamin Herrenschmidt
2010-04-12  3:46       ` Bruce_Leonard

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=OF788A7534.456B03AA-ON882576F6.00228BC4-882576F6.00233EC1@selinc.com \
    --to=bruce_leonard@selinc.com \
    --cc=linuxppc-dev@lists.ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.