linux-uconsole/drivers/xen
David Vrabel d0b075ffee xen/events: Refactor evtchn_to_irq array to be dynamically allocated
Refactor static array evtchn_to_irq array to be dynamically allocated by
implementing get and set functions for accesses to the array.

Two new port ops are added: max_channels (maximum supported number of
event channels) and nr_channels (number of currently usable event
channels).  For the 2-level ABI, these numbers are both the same as
the shared data structure is a fixed size. For the FIFO ABI, these
will be different as the event array is expanded dynamically.

This allows more than 65000 event channels so an unsigned short is no
longer sufficient for an event channel port number and unsigned int is
used instead.

Signed-off-by: Malcolm Crossley <malcolm.crossley@citrix.com>
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>
2014-01-06 10:07:47 -05:00
..
events xen/events: Refactor evtchn_to_irq array to be dynamically allocated 2014-01-06 10:07:47 -05:00
xen-pciback
xenbus xen/pvhvm: If xen_platform_pci=0 is set don't blow up (v4). 2014-01-03 14:54:18 -05:00
xenfs
acpi.c
balloon.c xen: simplify balloon_first_page() with list_first_entry_or_null() 2014-01-06 10:07:29 -05:00
biomerge.c
cpu_hotplug.c
dbgp.c
evtchn.c
fallback.c
features.c
gntalloc.c
gntdev.c
grant-table.c XEN: Grant table address, xen_hvm_resume_frames, is a phys_addr not a pfn 2013-12-04 11:39:33 +00:00
Kconfig xen: balloon: enable for ARM 2014-01-06 10:07:26 -05:00
Makefile xen/events: move drivers/xen/events.c into drivers/xen/events/ 2014-01-06 10:07:38 -05:00
manage.c
mcelog.c
pci.c xen/pci: Fix build on non-x86 2014-01-06 10:07:30 -05:00
pcpu.c
platform-pci.c
privcmd.c xen: privcmd: do not return pages which we have failed to unmap 2013-12-06 17:55:56 +00:00
privcmd.h
swiotlb-xen.c swiotlb-xen: add missing xen_dma_map_page call 2013-11-15 14:22:15 +00:00
sys-hypervisor.c
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c
xen-balloon.c
xen-selfballoon.c
xen-stub.c
xencomm.c