All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: James Harper <james.harper@bendigoit.com.au>,
	xen-devel@lists.xensource.com
Subject: Re: Multiple IRQ's in HVM for Windows
Date: Sat, 27 Dec 2008 10:22:58 +0000	[thread overview]
Message-ID: <C57BB282.2094B%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D015500EF@trantor>

On 27/12/2008 10:03, "James Harper" <james.harper@bendigoit.com.au> wrote:

> The driver for the xen platform PCI device is a 'bus driver' under
> windows, and enumerates child devices. When it enumerates a child
> device, I can say 'and allocate me an interrupt line'.

So these child devices don't have to have a physical manifestation in PCI
space? And you can really request an arbitrary IRQ and then you are expected
to plumb it through? That sounds weird, but actually quite helpful for us.

Probably we'd implement it with an hvm_op to associate an event channel with
an IO-APIC pin or a local APIC vector. If implemented as wire-OR into a set
of IO-APIC pins, we'd need logic to deassert wires when event channels
become not-pending, before the wire gets resampled by the PIC/IO-APIC. It's
all easier if we can directly deliver to a LAPIC vector because those are
inherently edge-triggered / message-based (which I think is what we really
want; although it's more complicated if we need to be able to share a LAPIC
vector among several event channels without 'losing' edges).

 -- Keir

  reply	other threads:[~2008-12-27 10:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-26  3:29 Multiple IRQ's in HVM for Windows James Harper
2008-12-26  7:32 ` Keir Fraser
2008-12-26 10:15   ` James Harper
2008-12-26 10:36     ` Keir Fraser
2008-12-26 10:54       ` James Harper
2008-12-26 11:00         ` Keir Fraser
2008-12-27  9:19           ` James Harper
2008-12-27  9:31             ` Keir Fraser
2008-12-27  9:35               ` James Harper
2008-12-27  9:57                 ` Keir Fraser
2008-12-27 10:03                   ` James Harper
2008-12-27 10:22                     ` Keir Fraser [this message]
2008-12-27 10:28                       ` James Harper
2008-12-27 10:39                         ` Keir Fraser
2008-12-27 11:18                           ` James Harper
2008-12-28  3:22                           ` James Harper
2008-12-28  8:39                             ` Keir Fraser
2008-12-31 14:57                         ` Ross Philipson

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=C57BB282.2094B%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.