xen/events: use the FIFO-based ABI if available
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 15 Mar 2013 13:02:35 +0000 (13:02 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:57 +0000 (10:07 -0500)
Implement all the event channel port ops for the FIFO-based ABI.

If the hypervisor supports the FIFO-based ABI, enable it by
initializing the control block for the boot VCPU and subsequent VCPUs
as they are brought up and on resume.  The event array is expanded as
required when event ports are setup.

The 'xen.fifo_events=0' command line option may be used to disable use
of the FIFO-based ABI.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/events/Makefile
drivers/xen/events/events_base.c
drivers/xen/events/events_fifo.c [new file with mode: 0644]
drivers/xen/events/events_internal.h

Simple merge
Simple merge
Simple merge
Simple merge