Re: [Qemu-devel] [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator

2016-10-24 Thread Peter Maydell
On 17 October 2016 at 20:40, P J P wrote: > From: Prasad J Pandit > > ARM A9MP processor has a peripheral timer with an auto-increment > register, which holds an increment step value. A user could set > this value to zero. When auto-increment control bit is enabled, > it leads to an infinite loop

Re: [Qemu-devel] [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator

2016-10-23 Thread P J P
+-- On Tue, 18 Oct 2016, P J P wrote --+ | Use QEMU_ALIGN_UP instead of QEMU_ALIGN_DOWN | -> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg03788.html | | diff --git a/hw/timer/a9gtimer.c b/hw/timer/a9gtimer.c | index 772f85f..ce1dc63 100644 | --- a/hw/timer/a9gtimer.c | +++ b/hw/timer

[Qemu-devel] [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator

2016-10-17 Thread P J P
From: Prasad J Pandit ARM A9MP processor has a peripheral timer with an auto-increment register, which holds an increment step value. A user could set this value to zero. When auto-increment control bit is enabled, it leads to an infinite loop in 'a9_gtimer_update' while updating comparator value

[Qemu-devel] [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator

2016-10-17 Thread P J P
=== From 632498fa33248bb990b08f246c98f3f318aa631c Mon Sep 17 00:00:00 2001 From: Prasad J Pandit Date: Mon, 17 Oct 2016 23:56:01 +0530 Subject: [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator ARM A9MP processor has a peripheral timer with an auto-increment register, which