Re: [Qemu-devel] Broken Microblaze timer

2012-06-14 Thread Peter Chubb
> "Peter" == Peter Crosthwaite writes: Peter> So ptimer has safeguards against misuse in periodic mode but Peter> not one-shot mode? This strikes me as inconsistent. I.E. for Peter> one use case the safeguard is in ptimer, and the other in the Peter> client device. I think if we are in the bu

Re: [Qemu-devel] Broken Microblaze timer

2012-06-14 Thread Peter Crosthwaite
On Fri, Jun 15, 2012 at 8:39 AM, Peter Chubb wrote: >> "Paolo" == Paolo Bonzini writes: > > Paolo> Il 14/06/2012 04:29, Peter Crosthwaite ha scritto: >>> Obviously this sucks as a patch, but without this hack, the system >>> freezes on boot. I managed to ascertain that its coming from the >>>

Re: [Qemu-devel] Broken Microblaze timer

2012-06-14 Thread Peter Chubb
> "Paolo" == Paolo Bonzini writes: Paolo> Il 14/06/2012 04:29, Peter Crosthwaite ha scritto: >> Obviously this sucks as a patch, but without this hack, the system >> freezes on boot. I managed to ascertain that its coming from the >> ptimer used by the system timer (hw/xilinx_timer.c). The CP

Re: [Qemu-devel] Broken Microblaze timer

2012-06-14 Thread Paolo Bonzini
Il 14/06/2012 04:29, Peter Crosthwaite ha scritto: > Obviously this sucks as a patch, but without this hack, the system > freezes on boot. I managed to ascertain that its coming from the > ptimer used by the system timer (hw/xilinx_timer.c). The CPU is either > halted and never resumes, or the time

[Qemu-devel] Broken Microblaze timer

2012-06-13 Thread Peter Crosthwaite
Hi all, For a while now I have had this hack in my tree: Author: Peter A. G. Crosthwaite Date: Fri Mar 30 15:04:05 2012 +1000 async.c: disabled event notifications. This is a nasty hack thats needed to prevent the xilinx timer from deadlocking Signed-off-by: Peter A. G. Crosthwa