linux_dsm_epyc7002/drivers/xen/events
Julien Grall 4a5b69464e xen/events: Support event channel rebind on ARM
Currently, the event channel rebind code is gated with the presence of
the vector callback.

The virtual interrupt controller on ARM has the concept of per-CPU
interrupt (PPI) which allow us to support per-VCPU event channel.
Therefore there is no need of vector callback for ARM.

Xen is already using a free PPI to notify the guest VCPU of an event.
Furthermore, the xen code initialization in Linux (see
arch/arm/xen/enlighten.c) is requesting correctly a per-CPU IRQ.

Introduce new helper xen_support_evtchn_rebind to allow architecture
decide whether rebind an event is support or not. It will always return
true on ARM and keep the same behavior on x86.

This is also allow us to drop the usage of xen_have_vector_callback
entirely in the ARM code.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-08-20 12:24:15 +01:00
..
events_2l.c xen/events: Clear cpu_evtchn_mask before resuming 2015-05-05 18:27:11 +01:00
events_base.c xen/events: Support event channel rebind on ARM 2015-08-20 12:24:15 +01:00
events_fifo.c Revert "xen/events/fifo: Handle linked events when closing a port" 2015-08-11 11:05:42 +01:00
events_internal.h Revert "xen/events/fifo: Handle linked events when closing a port" 2015-08-11 11:05:42 +01:00
Makefile xen/events: use the FIFO-based ABI if available 2014-01-06 10:07:57 -05:00