From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
xen-devel <xen-devel@lists.xensource.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH 0/4] xen: events: improve event channel IRQ allocation strategy.
Date: Tue, 11 Jan 2011 13:34:59 -0500 [thread overview]
Message-ID: <20110111183459.GA29378@dumpdata.com> (raw)
In-Reply-To: <1294766389.3831.5902.camel@zakaz.uk.xensource.com>
On Tue, Jan 11, 2011 at 05:19:49PM +0000, Ian Campbell wrote:
> The following series changes the Xen event channel infrastructure to
> make better use of the core IRQ allocation interfaces and simplifies
> our attempts to avoid clashes between GSIs and event channels.
>
> The two most interesting changes are:
>
> * PV domU IRQ numbers are now completely dynamically allocated,
> including those associated with PCI passthrough devices. Since
> the guest sees no equivalent to GSI space there is no need to do
> anything clever in this case like maintaining a 1-1 mapping
> between GSI and IRQ. (this is impossible anyway since a PV guest
> has no idea what the largest possible GSI is).
>
> * PV dom0 and HVM guests now completely segregate GSIs from
> dynamically allocated IRQs. In this case IRQs for GSIs are
> allocated 1-1 beneath nr_irq_gsi (similar to native) and dynamic
> IRQs (event channels, MSIs etc) are allocated above. This
> simplifies the IRQ allocator code enormously.
>
> The series has been tested as:
> * PV guest with a PCI passthrough device.
Which type of domain0? A 2.6.37 + Xen PCI backend + your patches?
Or the older 2.6.32?
> * PV domain 0.
> * HVM guest with and without XENFEAT_hvm_pirqs.
>
> It appears to do the correct thing in each case.
Nice..
>
> I also tried HVM with PCI passthrough, which wasn't too successful due
> to my hardware not having an IOMMU, but it did appear to setup the IRQ
> mapping correctly at least.
>
> I don't intend this for 2.6.38 at this stage since it looks like:
> 67b0ea2bdcd7 xen/irq: Don't fall over when nr_irqs_gsi > nr_irqs.
> d1b758ebc2a8 xen/irq: Cleanup the find_unbound_irq
> are sufficient (BTW this series follows those).
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-01-11 18:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-11 17:19 [PATCH 0/4] xen: events: improve event channel IRQ allocation strategy Ian Campbell
2011-01-11 17:20 ` [PATCH 1/4] xen: handled remapped IRQs when enabling a pcifront PCI device Ian Campbell
2011-01-11 17:20 ` [PATCH 2/4] xen:events: move find_unbound_irq inside CONFIG_PCI_MSI Ian Campbell
2011-01-11 17:20 ` [PATCH 3/4] xen: events: add xen_allocate_irq_{dynamic, gsi} and xen_free_irq Ian Campbell
2011-01-11 18:46 ` Konrad Rzeszutek Wilk
2011-01-11 19:32 ` Ian Campbell
2011-02-03 8:30 ` [PATCH] xen: events: do not free legacy IRQs Ian Campbell
2011-02-03 9:49 ` Ian Campbell
2011-01-11 17:20 ` [PATCH 4/4] xen: events: allocate GSIs and dynamic IRQs from separate IRQ ranges Ian Campbell
2011-01-11 19:14 ` Konrad Rzeszutek Wilk
2011-01-11 19:39 ` Ian Campbell
2011-01-11 18:34 ` Konrad Rzeszutek Wilk [this message]
2011-01-11 19:25 ` [PATCH 0/4] xen: events: improve event channel IRQ allocation strategy Ian Campbell
2011-01-11 20:40 ` Konrad Rzeszutek Wilk
2011-01-12 10:04 ` Ian Campbell
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=20110111183459.GA29378@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=jeremy@goop.org \
--cc=stefano.stabellini@eu.citrix.com \
--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.