freebsd-skq/sys/xen
Roger Pau Monné 25e34dd327 xen: implement event channel PIRQ support
This allows Dom0 to manage physical hardware, redirecting the
physical interrupts to event channels.

Sponsored by: Citrix Systems R&D

x86/xen/xen_intr.c:
 - Expand struct xenisrc to hold the level and triggering of PIRQ
   event channels.
 - Implement missing methods in xen_intr_pirq_pic.
 - Allow xen_intr_alloc_isrc to take a vector parameter that globally
   identifies the interrupt. This is only used for PIRQs that are
   bound to a specific hardware IRQ.
 - Introduce xen_register_pirq used to register IO APIC legacy PIRQ
   interrupts.
 - Add support for the dynamic PIRQ EOI map, this shared memory is
   modified by Xen (if it suppoorts that feature), and notifies the
   guest if an EOI is needed or not. If it's not available fall back
   to the old implementation using PHYSDEVOP_irq_status_query.
 - Rename xen_intr_isrc_count to xen_intr_auto_vector_count and
   replace it's usages.
 - Align static variables by name.

xen/xen_intr.h:
 - Add prototype for xen_register_pirq.
2014-08-04 08:42:29 +00:00
..
evtchn Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
interface Remove ia64. 2014-07-07 00:27:09 +00:00
xenbus Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
xenstore xen: init gnttab from xenpv 2014-06-16 08:48:06 +00:00
blkif.h
evtchn.h Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
features.c Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
features.h
gnttab.c xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
gnttab.h xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
hvm.h Merge Xen PVHVM support into the GENERIC kernel config for both 2013-09-20 22:59:22 +00:00
hypervisor.h
xen_intr.h xen: implement event channel PIRQ support 2014-08-04 08:42:29 +00:00
xen_pv.h xen: add missing files 2014-06-16 08:54:04 +00:00
xen-os.h Make this compile with gcc. 2014-04-05 22:43:18 +00:00