]> 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)
commita8507ef8410e39686bbc1bc8f35c4a9f6b070f6e
treea3e71bb46092dc611a7164f039a5f0cc2de719aa
parentf017156b2988be244352947a459479ae4e65395f
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