From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm1fe-0003qI-Bi for qemu-devel@nongnu.org; Tue, 13 Oct 2015 11:39:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm1fZ-0000qi-8Y for qemu-devel@nongnu.org; Tue, 13 Oct 2015 11:39:22 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:36347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm1fY-0000qX-TB for qemu-devel@nongnu.org; Tue, 13 Oct 2015 11:39:17 -0400 Received: by lbcao8 with SMTP id ao8so25192925lbc.3 for ; Tue, 13 Oct 2015 08:39:16 -0700 (PDT) References: <1444745463-10918-1-git-send-email-digetx@gmail.com> From: Dmitry Osipenko Message-ID: <561D257E.5040700@gmail.com> Date: Tue, 13 Oct 2015 18:38:38 +0300 MIME-Version: 1.0 In-Reply-To: <1444745463-10918-1-git-send-email-digetx@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4] arm_mptimer: Convert to use ptimer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , Peter Maydell Cc: QEMU Developers 13.10.2015 17:11, Dmitry Osipenko пишет: > + ptimer_set_limit(tb->timer, value, 0); > + ptimer_set_count(tb->timer, value); > Umm... looking more at these lines, I think it might put in a trouble in some corner case. It might worth trying to make ptimer more flexible rather than to workaround it's imperfection. -- Dmitry