summaryrefslogtreecommitdiff
path: root/drivers/vfio/pci
diff options
context:
space:
mode:
authorAntonios Motakis <a.motakis@virtualopensystems.com>2015-03-16 20:08:50 (GMT)
committerAlex Williamson <alex.williamson@redhat.com>2015-03-16 20:08:50 (GMT)
commit57f972e2b341dd6a73533f9293ec55d584a5d833 (patch)
treea9ff1aa6e1770af3f07e16f84de211015d68790b /drivers/vfio/pci
parent9a36321c8d3350c4f7befa02adf3ce4583287ad9 (diff)
downloadlinux-57f972e2b341dd6a73533f9293ec55d584a5d833.tar.xz
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>
Diffstat (limited to 'drivers/vfio/pci')
0 files changed, 0 insertions, 0 deletions