Re: [Qemu-devel] [PATCH v2] PPC: E500: Implement reboot controller

2011-06-03 Thread Alexander Graf
On 04.06.2011, at 01:42, Scott Wood wrote: > On Thu, 2 Jun 2011 20:37:30 +0200 > Alexander Graf wrote: > >> +case MPC8544_GUTS_ADDR_PVR: >> +value = env->spr[SPR_PVR]; >> +break; >> +case MPC8544_GUTS_ADDR_SVR: >> +value = env->spr[SPR_E500_SVR]; >> +brea

Re: [Qemu-devel] [PATCH v2] PPC: E500: Implement reboot controller

2011-06-03 Thread Scott Wood
On Thu, 2 Jun 2011 20:37:30 +0200 Alexander Graf wrote: > +case MPC8544_GUTS_ADDR_PVR: > +value = env->spr[SPR_PVR]; > +break; > +case MPC8544_GUTS_ADDR_SVR: > +value = env->spr[SPR_E500_SVR]; > +break; Heh, I didn't even realize these were in there -- I w

[Qemu-devel] [PATCH v2] PPC: E500: Implement reboot controller

2011-06-03 Thread Alexander Graf
When Linux reboots an e500 VM, it writes to a magic register in the "global-utilities" device indicated by the device tree. We were not emulating that device so far, renedering the VM reboot-less. This patch implements that device with only the reboot functionality implemented and adds it to the d