Re: [Qemu-devel] [PATCH v3 3/7] allwinner-a10-pit: avoid generation of spurious interrupts

2014-03-16 Thread Li Guang
在 2014-03-15六的 14:01 +0100,Beniamino Galvani写道: > The model was generating interrupts for all enabled timers after the > expiration of one of them. Avoid this by passing explicitly the timer > index to the callback function. > > Signed-off-by: Beniamino Galvani Reviewed-by: Li Guang > --- > h

Re: [Qemu-devel] [PATCH v3 3/7] allwinner-a10-pit: avoid generation of spurious interrupts

2014-03-16 Thread Peter Crosthwaite
On Sat, Mar 15, 2014 at 11:01 PM, Beniamino Galvani wrote: > The model was generating interrupts for all enabled timers after the > expiration of one of them. Avoid this by passing explicitly the timer > index to the callback function. > > Signed-off-by: Beniamino Galvani Reviewed-by: Peter Cros

[Qemu-devel] [PATCH v3 3/7] allwinner-a10-pit: avoid generation of spurious interrupts

2014-03-15 Thread Beniamino Galvani
The model was generating interrupts for all enabled timers after the expiration of one of them. Avoid this by passing explicitly the timer index to the callback function. Signed-off-by: Beniamino Galvani --- hw/timer/allwinner-a10-pit.c | 25 ++--- include/hw/timer/