]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc62a735339c5a34d11874629b686038bf866476e
treea3e71bb46092dc611a7164f039a5f0cc2de719aa
parentffb173f0c9ec979a77eceaf17f424674d2990363
xen/events: use the FIFO-based ABI if available

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