]> git.karo-electronics.de Git - linux-beck.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)
commit1fe565517b57676884349dccfd6ce853ec338636
treea3e71bb46092dc611a7164f039a5f0cc2de719aa
parent8785c67663b6ba023c7c6d61d37d8e08c00d86a8
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