From: Keir Fraser <keir.fraser@eu.citrix.com>
To: James Harper <james.harper@bendigoit.com.au>,
xen-devel@lists.xensource.com
Subject: Re: HVM windows - PCI IRQ firing on both CPU's
Date: Mon, 18 Aug 2008 13:06:49 +0100 [thread overview]
Message-ID: <C4CF2469.26172%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D0149032F@trantor>
On 18/8/08 11:53, "James Harper" <james.harper@bendigoit.com.au> wrote:
> The first number is the timestamp (why is the TSC so far out of whack
> between CPU's??? Is that a hardware thing or a Xen thing? It causes huge
> problems with 'ping' too!!!), the second is the isr that is running.
>
> Why is the ISR getting run again immediately on the other CPU? Is this
> an OS thing or am I not acking the interrupt correctly?
You should be checking and clearing only vcpu0's evtchn_upcall_pending and
evtchn_pending_sel fields. Other vcpu's equivalent fields are currently
unused for HVM guests. It is essential that you clear evtchn_upcall_pending
-- that is the 'virtual interrupt wire' connected to the virtual PIC's
level-triggered input pin.
Apart from those caveats, all should work fine with no spurious interrupts.
-- Keir
next prev parent reply other threads:[~2008-08-18 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 10:53 HVM windows - PCI IRQ firing on both CPU's James Harper
2008-08-18 12:06 ` Keir Fraser [this message]
2008-08-18 12:19 ` James Harper
2008-08-18 12:26 ` Keir Fraser
2008-08-18 12:32 ` James Harper
2008-08-18 12:36 ` Keir Fraser
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=C4CF2469.26172%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=james.harper@bendigoit.com.au \
--cc=xen-devel@lists.xensource.com \
/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.