qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH v7] timer: a9gtimer: remove loop to auto-increment comparator
Date: Mon, 24 Oct 2016 13:47:17 +0100

On 17 October 2016 at 20:40, P J P <address@hidden> wrote:
> From: Prasad J Pandit <address@hidden>
>
> 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. Remove this loop incrementing the
> comparator value.
>
> Reported-by: Li Qiang <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
> ---
>  hw/timer/a9gtimer.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> Use QEMU_ALIGN_UP instead of QEMU_ALIGN_DOWN
>   -> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg03788.html



Applied to target-arm.next, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]