qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: abhijeet inamdar <abhijeetinamdar3005@gmail.com>,
	qemu-discuss <qemu-discuss@nongnu.org>
Cc: qemu-arm <qemu-arm@nongnu.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: Exception return
Date: Thu, 16 Dec 2021 18:44:27 +0100	[thread overview]
Message-ID: <6b16b0e4-c0db-02de-1d95-ec831fdff938@amsat.org> (raw)
In-Reply-To: <CAP4GjT1x=9z9jwRxUg-J_nyGQKiga=xcDddWzG5a9HCkiC2Tog@mail.gmail.com>

Cc'ing qemu-arm developers.

On 12/16/21 18:31, abhijeet inamdar wrote:
> Hi,
> 
> I was running my .elf file on my custom machine(CM3) and was hit with
> this error when debugging and had the required -d flags and single stepping.
> 
> IN: Hal_MemFault
> 0x7004e794:  4770       bx       lr
> 
> Trace 0: 0x7f4faa471100 [00000000/7004e794/0x312000c1]  Hal_MemFault
> R00=7004938d R01=00000000 R02=7004938c R03=ffffffff
> R04=7005e410 R05=10020000 R06=e000eda0 R07=00000000
> R08=00000010 R09=1003f8e0 R10=e000ed94 R11=00000000
> R12=ffffffff R13=1003dbe0 R14=fffffff9 R15=7004e794
> XPSR=01000003 ---- T handler
> Taking exception 8 [QEMU v7M exception exit]
> Exception return: magic PC fffffff9 previous exception 3
> M profile return from interrupt with misaligned PC is UNPREDICTABLE on v7M
> ...successful exception return
> DRBAR[6]: 0xa0000000 misaligned to DRSR region size, mask = 0x3fffffff
> Taking exception 3 [Prefetch Abort]
> ...with CFSR.IACCVIOL
> ...taking pending nonsecure exception 3
> 
> I even check the CFSR its 0x1 by doing p/x *(uint32_t *) 0xE000ED28
> which gives me 0x1
> 
> Any help appreciated.
> 
> BR.
> Abhijeet.



       reply	other threads:[~2021-12-16 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAP4GjT1x=9z9jwRxUg-J_nyGQKiga=xcDddWzG5a9HCkiC2Tog@mail.gmail.com>
2021-12-16 17:44 ` Philippe Mathieu-Daudé [this message]
2021-12-16 18:47   ` Exception return Peter Maydell
2021-12-16 20:02     ` abhijeet inamdar
2021-12-16 20:06       ` abhijeet inamdar
2021-12-16 20:21         ` Peter Maydell

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=6b16b0e4-c0db-02de-1d95-ec831fdff938@amsat.org \
    --to=f4bug@amsat.org \
    --cc=abhijeetinamdar3005@gmail.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.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;
as well as URLs for NNTP newsgroup(s).