All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] x86/dpci: bind legacy PCI interrupts to PVHv2 Dom0
@ 2017-03-27 10:44 Roger Pau Monne
  2017-03-27 10:44 ` [PATCH 1/5] x86/dpci: allow hvm_irq_dpci to handle a variable number of GSIs Roger Pau Monne
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Roger Pau Monne @ 2017-03-27 10:44 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-04-19 11:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 10:44 [PATCH 0/5] x86/dpci: bind legacy PCI interrupts to PVHv2 Dom0 Roger Pau Monne
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

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.