]> git.karo-electronics.de Git - karo-tx-linux.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 11 Nov 2013 11:54:10 +0000 (11:54 +0000)
commitc187f1d389526318bc944110b5afd36871857785
tree285abb278d7816bfb3e3cc93c791413cb98665f2
parent4a4f5343cb6fefd5b943f4a8d82ad57445913575
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