From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
Anthony Liguori <aliguori@us.ibm.com>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] Broken Microblaze timer
Date: Thu, 14 Jun 2012 11:19:56 +0200 [thread overview]
Message-ID: <4FD9ACBC.2090304@redhat.com> (raw)
In-Reply-To: <CAEgOgz6UwyirFOfTe9UnK3_pLyz6nhJdfuhon4L+Nw_nOMyyCQ@mail.gmail.com>
Il 14/06/2012 04:29, Peter Crosthwaite ha scritto:
> Obviously this sucks as a patch, but without this hack, the system
> freezes on boot. I managed to ascertain that its coming from the
> ptimer used by the system timer (hw/xilinx_timer.c). The CPU is either
> halted and never resumes, or the timer is flooding with halt requests
> and the CPU never gets another look in.
>
> The question is, is this a failure in ptimer, xilinx_timer or the
> async framework? Can ptimer be misused such that the CPU is locked up?
Yes, this looks like the ptimer is flooding the iothread so that the CPU
does not get an occasion to run.
Perhaps you want to limit the rate of the hw/xilinx_timer.c to something
like 1000 Hz or something like that.
Paolo
next prev parent reply other threads:[~2012-06-14 9:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 2:29 [Qemu-devel] Broken Microblaze timer Peter Crosthwaite
2012-06-14 9:19 ` Paolo Bonzini [this message]
2012-06-14 22:39 ` Peter Chubb
2012-06-15 4:40 ` Peter Crosthwaite
2012-06-15 5:07 ` Peter Chubb
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=4FD9ACBC.2090304@redhat.com \
--to=pbonzini@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=edgar.iglesias@gmail.com \
--cc=paul@codesourcery.com \
--cc=peter.crosthwaite@petalogix.com \
--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).