linux/drivers/vfio/platform
Antonios Motakis 57f972e2b3 vfio/platform: trigger an interrupt via eventfd
This patch allows to set an eventfd for a platform device's interrupt,
and also to trigger the interrupt eventfd from userspace for testing.
Level sensitive interrupts are marked as maskable and are handled in
a later patch. Edge triggered interrupts are not advertised as maskable
and are implemented here using a simple and efficient IRQ handler.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
[Baptiste Reynal: fix masked interrupt initialization]
Signed-off-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-03-16 14:08:50 -06:00
..
Kconfig vfio: amba: add the VFIO for AMBA devices module to Kconfig 2015-03-16 14:08:45 -06:00
Makefile vfio/platform: return IRQ info 2015-03-16 14:08:48 -06:00
vfio_amba.c vfio: amba: VFIO support for AMBA devices 2015-03-16 14:08:44 -06:00
vfio_platform_common.c vfio/platform: initial interrupts support code 2015-03-16 14:08:49 -06:00
vfio_platform_irq.c vfio/platform: trigger an interrupt via eventfd 2015-03-16 14:08:50 -06:00
vfio_platform_private.h vfio/platform: trigger an interrupt via eventfd 2015-03-16 14:08:50 -06:00
vfio_platform.c vfio: platform: probe to devices on the platform bus 2015-03-16 14:08:43 -06:00