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 <peter.mayd...@linaro.org>
Reviewed-by: Adam Lackorzynski <a...@os.inf.tu-dresden.de> > --- > 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 a...@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/