target-ppc: Reset SPRs on CPU reset
commitd197fdbc3b83655f3c145722805f0998c04dce16
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 19 Mar 2014 13:03:57 +0000 (20 00:03 +1100)
committerAndreas Färber <afaerber@suse.de>
Thu, 20 Mar 2014 01:39:33 +0000 (20 02:39 +0100)
tree3307a2df24cdbaa05b2889bf01e49303990a1743
parent7aaf4957efad2bf6ac449d0caa9a1535f61006bc
target-ppc: Reset SPRs on CPU reset

This resets SPR values to defaults on CPU reset. This should help
with little-endian guests reboot issues.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-ppc/cpu.h
target-ppc/translate_init.c