From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v1 1/1] hw/ptimer: Do not artificially limit timers when using icount
Date: Fri, 8 May 2015 17:35:11 +1000 [thread overview]
Message-ID: <20150508073511.GY10142@toto> (raw)
In-Reply-To: <55473B88.2080704@redhat.com>
On Mon, May 04, 2015 at 11:27:36AM +0200, Paolo Bonzini wrote:
>
>
> On 04/05/2015 05:18, Edgar E. Iglesias wrote:
> > From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
> >
> > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> > ---
> > hw/core/ptimer.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/hw/core/ptimer.c b/hw/core/ptimer.c
> > index 2abad1f..8437bd6 100644
> > --- a/hw/core/ptimer.c
> > +++ b/hw/core/ptimer.c
> > @@ -189,7 +189,7 @@ void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
> > * on the current generation of host machines.
> > */
> >
> > - if (limit * s->period < 10000 && s->period) {
> > + if (!use_icount && limit * s->period < 10000 && s->period) {
> > limit = 10000 / s->period;
> > }
> >
> >
>
> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Thanks, I've applied this one.
Cheers,
Edgar
prev parent reply other threads:[~2015-05-08 7:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 3:18 [Qemu-devel] [PATCH v1 1/1] hw/ptimer: Do not artificially limit timers when using icount Edgar E. Iglesias
2015-05-04 9:27 ` Paolo Bonzini
2015-05-08 7:35 ` Edgar E. Iglesias [this message]
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=20150508073511.GY10142@toto \
--to=edgar.iglesias@gmail.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).