[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] target-arm: Don't decode old cp15 WFI instructi
From: |
Adam Lackorzynski |
Subject: |
[Qemu-devel] Re: [PATCH] target-arm: Don't decode old cp15 WFI instructions on v7 cores |
Date: |
Fri, 25 Feb 2011 22:20:16 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri Feb 25, 2011 at 15:04:12 +0000, Peter Maydell wrote:
> In v7 of the ARM architecture, WFI (wait for interrupt) is a first-class
> instruction, but in previous versions this functionality was provided
> via a cp15 coprocessor register. Add correct feature checks to the
> decoding of the cp15 WFI instructions so that they behave correctly
> for newer cores. In particular, the old 0,c7,c8,2 encoding used on
> ARM940 has been reused for VA-to-PA translation in v6 and v7.
>
> Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Adam Lackorzynski <address@hidden>
> ---
> This patch stands alone as a fix to target-arm; it's a prerequisite
> for Adam's VA->PA translation patch, because otherwise attempting a
> user-read translation will get you a WFI instead...
Thanks, (un)fortunately I never triggered this case in my setup.
Adam
--
Adam address@hidden
Lackorzynski http://os.inf.tu-dresden.de/~adam/