All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [PATCH] hw/timer/grlib_gptimer: Avoid integer overflow
Date: Sat, 15 Feb 2014 16:21:30 +0400	[thread overview]
Message-ID: <52FF5BCA.2020608@msgid.tls.msk.ru> (raw)
In-Reply-To: <1392282978-19368-1-git-send-email-sebastian.huber@embedded-brains.de>

13.02.2014 13:16, Sebastian Huber wrote:
> The GPTIMER uses 32-bit registers.  Use a 64-bit operation to get the
> ptimer count, otherwise we end up with a count of 0 for GPTIMER counter
> values of 0xffffffff.

Signed-off-by?

Thanks,

/mjt


WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/timer/grlib_gptimer: Avoid integer overflow
Date: Sat, 15 Feb 2014 16:21:30 +0400	[thread overview]
Message-ID: <52FF5BCA.2020608@msgid.tls.msk.ru> (raw)
In-Reply-To: <1392282978-19368-1-git-send-email-sebastian.huber@embedded-brains.de>

13.02.2014 13:16, Sebastian Huber wrote:
> The GPTIMER uses 32-bit registers.  Use a 64-bit operation to get the
> ptimer count, otherwise we end up with a count of 0 for GPTIMER counter
> values of 0xffffffff.

Signed-off-by?

Thanks,

/mjt

  parent reply	other threads:[~2014-02-15 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13  9:16 [Qemu-trivial] [PATCH] hw/timer/grlib_gptimer: Avoid integer overflow Sebastian Huber
2014-02-13  9:16 ` [Qemu-devel] " Sebastian Huber
2014-02-13 11:44 ` [Qemu-trivial] " Fabien Chouteau
2014-02-13 11:44   ` Fabien Chouteau
2014-02-15 12:21 ` Michael Tokarev [this message]
2014-02-15 12:21   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-02-15 12:38 ` [Qemu-trivial] [Qemu-devel] " Peter Maydell
2014-02-15 12:38   ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52FF5BCA.2020608@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=sebastian.huber@embedded-brains.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.