[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary |
Date: |
Tue, 26 Apr 2011 18:17:14 +0100 |
On 25 April 2011 02:23, YuYeon Oh <address@hidden> wrote:
> target-arm: fix LDMIA bug on page boundary
(You don't need to repeat the Subject summary line in the body, it makes the
git changelog look a bit odd when the patch is applied with 'git am').
> When consecutive memory locations are on page boundary, a base register may be
> loaded before page fault occurs. After page fault handling, it losts the
> memory
> location information. To solve this problem, loading a base register has to
> put back.
>
> Signed-off-by: Yuyeon Oh <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
I've tested this and confirmed that it fixes this bug for the
Thumb T2 encoding. However, the same problem still exists for the
T1 (16 bit) encoding; I'll send a patch for that in a moment.
(The ARM encoding did not have this bug.)
-- PMM