]> git.karo-electronics.de Git - linux-beck.git/commit
vfio/platform: implement IRQ masking/unmasking via an eventfd
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Mon, 16 Mar 2015 20:08:55 +0000 (14:08 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 16 Mar 2015 20:08:55 +0000 (14:08 -0600)
commita7fa7c77cf15fb22d0f33fcc88770de0246c5588
tree36d38f48496c5f67f73bbbe15d30a7cf11a99b51
parent42ac9bd18d4fc28c36c7927847f0f6e90ecd7710
vfio/platform: implement IRQ masking/unmasking via an eventfd

With this patch the VFIO user will be able to set an eventfd that can be
used in order to mask and unmask IRQs of platform devices.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
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>
drivers/vfio/platform/vfio_platform_irq.c
drivers/vfio/platform/vfio_platform_private.h