From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIKUV-0006RL-NU for qemu-devel@nongnu.org; Sun, 10 Jan 2016 13:13:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIKUU-0000rJ-SX for qemu-devel@nongnu.org; Sun, 10 Jan 2016 13:13:23 -0500 References: <56929D6F.7010301@gmail.com> From: Dmitry Osipenko Message-ID: <56929F24.7090309@gmail.com> Date: Sun, 10 Jan 2016 21:12:52 +0300 MIME-Version: 1.0 In-Reply-To: <56929D6F.7010301@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v10 7/7] arm_mptimer: Convert to use ptimer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers , qemu-arm@nongnu.org Cc: Peter Maydell , Peter Crosthwaite 10.01.2016 21:05, Dmitry Osipenko пишет: > I missed case where periodic timer should stop in the following case: > > load = 0, counter != 0 -> run -> set counter = 0 -> should stop > > Test added. Will fix it in V11. > Forgot to mention that prescaler must be 0 in that case. Prescaler != 0 would result in unclearable IRQ while periodic timer is enabled and counter = load = 0. -- Dmitry