[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] ARM: BKPT instructions should raise prefetch aborts wit
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] ARM: BKPT instructions should raise prefetch aborts with IFSR type 00010 |
Date: |
Fri, 3 Jun 2011 18:42:56 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, May 18, 2011 at 12:00:46PM +0200, Alex Zuepke wrote:
> Hi,
>
> Peter Maydell schrieb:
> > On 25 March 2011 10:54, Alex Zuepke <address@hidden> wrote:
> >> while digging through some problems with BKPT exceptions on ARM, I
> >> discovered that QEMU does not update IFSR on prefetch aborts. This
> >> should be done since ARMv6 according to ARM docs. Please include.
> >
> > This patch is the wrong approach to fixing this bug -- the
> > updating of the IFSR needs to be done when the exception
> > is taken, not when we translate the breakpoint instruction.
> >
> > I'll put this on my todo list. If you happen to have a convenient
> > test case demonstrating the problem, that would make a fix happen
> > faster ;-)
> >
> > -- PMM
>
> I tried to fix it, new patch attached.
> But I'm not sure if it is required for semihosting as well.
>
> On ARMv7-M bkpt works differently, and debug registers aren't
> implemented yet, so I didn't touch it.
>
Thanks, applied. In the future, could you please send the patch inline,
or at least attach a patch that can be applied with git am?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] ARM: BKPT instructions should raise prefetch aborts with IFSR type 00010,
Aurelien Jarno <=