public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Incorrect exception reporting for PPC405 in Xilinx VirtexII Pro FPGAs?
Date: Thu, 31 Aug 2006 11:39:17 +0200	[thread overview]
Message-ID: <200608311139.17653.sr@denx.de> (raw)
In-Reply-To: <OF9C74A356.7E2A6991-ON072571DA.00612B03-072571DA.0063867B@mck.us.ray.com>

Hi Keith,

On Wednesday 30 August 2006 20:07, Keith J Outwater wrote:
> In the function above, the cause of the exception is being inferred from
> the msr, but according to the Xilinx documentation (PowerPC Processor
> Reference Guide, EDK 6.1, September 2, 2003), the msr does not provide
> this information.  In fact, it is the ESR (Exception Syndrome Register)
> that indicated the cause of the exception.

Good catch.

> I checked, and it does not appear that this register is provided in the
> pt_regs struct.
>
> So now to my question:  Am I on the right track here?  Has anyone else
> looked at this and fixed this code if it is in fact broken?  If it needs
> fixing, can anyone provide some pointers?

You seem to be right here. So we (you) need to fix this routine to use the 
correct register (ESR) with the correct bits. Best would be, if you could 
provide a patch. A patch against your 3 weeks old U-Boot version is ok, since 
this file didn't change for a quite long time. And please also provide a 
CHANGELOG entry.

Thanks.

Best regards,
Stefan

  reply	other threads:[~2006-08-31  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 18:07 [U-Boot-Users] Incorrect exception reporting for PPC405 in Xilinx VirtexII Pro FPGAs? Keith J Outwater
2006-08-31  9:39 ` Stefan Roese [this message]
2006-08-31 15:39   ` Keith J Outwater

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=200608311139.17653.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.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