From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKjAt-0007lR-Sq for qemu-devel@nongnu.org; Tue, 13 Jun 2017 06:35:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKjAt-0001pA-5x for qemu-devel@nongnu.org; Tue, 13 Jun 2017 06:35:51 -0400 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:34151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKjAs-0001ow-VD for qemu-devel@nongnu.org; Tue, 13 Jun 2017 06:35:51 -0400 Received: by mail-wr0-x22a.google.com with SMTP id g76so131018327wrd.1 for ; Tue, 13 Jun 2017 03:35:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1496739312-32304-1-git-send-email-clg@kaod.org> References: <1496739312-32304-1-git-send-email-clg@kaod.org> From: Peter Maydell Date: Tue, 13 Jun 2017 11:35:23 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] timer/aspeed: fix timer enablement when a reload is not set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Cc: Andrew Jeffery , qemu-arm , QEMU Developers On 6 June 2017 at 09:55, C=C3=A9dric Le Goater wrote: > When a timer is enabled before a reload value is set, the controller > waits for a reload value to be set before starting decrementing. This > fix tries to cover that case by changing the timer expiry only when > a reload value is valid. > > Signed-off-by: C=C3=A9dric Le Goater > --- > hw/timer/aspeed_timer.c | 37 +++++++++++++++++++++++++++++-------- > 1 file changed, 29 insertions(+), 8 deletions(-) Applied to target-arm.next, thanks. -- PMM