[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-mips: fix CP0.BadVAddr by stopping trans
From: |
Maciej W. Rozycki |
Subject: |
Re: [Qemu-devel] [PATCH] target-mips: fix CP0.BadVAddr by stopping translation on Address error |
Date: |
Wed, 28 Jan 2015 00:39:58 +0000 (GMT) |
User-agent: |
Alpine 2.11 (LFD 23 2013-08-11) |
On Mon, 26 Jan 2015, Leon Alrae wrote:
> BadVAddr is supposed to capture the most recent address that caused
> the exception. Currently this is not happening as translation is not stopped
> and BadVAddr is updated with subsequent addresses.
>
> Signed-off-by: Leon Alrae <address@hidden>
> ---
I think this deserves a better description as it is about the specific
case of an unaligned standard MIPS instruction fetch. Address Error
exceptions can also happen for other reasons: unaligned data accesses or
any accesses outside memory segments the current execution mode is allowed
to reach.
While at it I think it may be worth double-checking if the other places
that trigger this exception get it right.
Maciej