From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Subject: [PATCH 0/5] x86/dpci: bind legacy PCI interrupts to PVHv2 Dom0
Date: Mon, 27 Mar 2017 11:44:24 +0100 [thread overview]
Message-ID: <20170327104429.99992-1-roger.pau@citrix.com> (raw)
Hello,
The following patches allow binding bare-metal GSIs into a PVHv2 Dom0, by
snooping on the vIO APICs writes made by Dom0.
In order to implement this a new PT_IRQ_TYPE_GSI bind type has to be
introduced, since PT_IRQ_TYPE_PCI is not suitable because Xen doesn't know the
PCI device(s) behind each GSI. Most of the code is shared with the
PT_IRQ_TYPE_PCI bind type, except for the EOI. The actual binding of the GSI
into Dom0 is performed when Dom0 unmasks the vIO APIC pin.
Patches #3 and #5 is where the actual meat is. The rest are mostly prerequisite
changes for those two.
The series has been tested with a PVHv2 Dom0 on a box with 3 IO APICs,
although all devices are wired up into the first IO APIC sadly.
A branch with the changes can be found at:
git://xenbits.xen.org/people/royger/xen.git dom0_gsi_v1
Note that this builds on top of the "x86/vioapic: introduce support for
multiple vIO APICs" series.
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-03-27 10:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 10:44 Roger Pau Monne [this message]
2017-03-27 10:44 ` [PATCH 1/5] x86/dpci: allow hvm_irq_dpci to handle a variable number of GSIs Roger Pau Monne
2017-04-18 12:13 ` Jan Beulich
2017-04-18 14:36 ` Roger Pau Monne
2017-03-27 10:44 ` [PATCH 2/5] x86/ioapic: introduce helper to fetch triggering mode of GSI Roger Pau Monne
2017-04-18 12:19 ` Jan Beulich
2017-04-19 11:52 ` Roger Pau Monne
2017-03-27 10:44 ` [PATCH 3/5] x86/pt: introduce PT_IRQ_TYPE_GSI to bind GSIs to a PVH Dom0 Roger Pau Monne
2017-03-27 11:58 ` Roger Pau Monne
2017-03-27 10:44 ` [PATCH 4/5] x86/physdev: move prototypes of physdev_{map/unmap}_pirq to headers Roger Pau Monne
2017-04-18 12:21 ` Jan Beulich
2017-03-27 10:44 ` [PATCH 5/5] x86/vioapic: bind interrupts to PVH Dom0 Roger Pau Monne
2017-04-18 12:35 ` Jan Beulich
2017-04-18 13:44 ` Roger Pau Monne
2017-04-18 14:17 ` Jan Beulich
2017-03-27 12:19 ` [PATCH 0/5] x86/dpci: bind legacy PCI interrupts to PVHv2 Dom0 Jan Beulich
2017-03-27 12:56 ` Roger Pau Monne
2017-03-30 10:56 ` Roger Pau Monne
2017-03-30 11:50 ` Jan Beulich
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=20170327104429.99992-1-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=xen-devel@lists.xenproject.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).