diff options
author | Xu Yilun <yilun.xu@intel.com> | 2020-06-16 12:08:44 +0800 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2020-06-28 12:43:16 -0700 |
commit | 322b598be4d9b9090cda560c4caab78704615ab4 (patch) | |
tree | 283e567dd6d5f36250dee984614ab15897d78655 /scripts/Makefile.kasan | |
parent | bfef946dbe1bbe6cae97bba27594e8d5b0e01ffa (diff) | |
download | linux-322b598be4d9b9090cda560c4caab78704615ab4.tar.bz2 |
fpga: dfl: introduce interrupt trigger setting API
FPGA user applications may be interested in interrupts generated by
DFL features. For example, users can implement their own FPGA
logics with interrupts enabled in AFU (Accelerated Function Unit,
dynamic region of DFL based FPGA). So user applications need to be
notified to handle these interrupts.
In order to allow userspace applications to monitor interrupts,
driver requires userspace to provide eventfds as interrupt
notification channels. Applications then poll/select on the eventfds
to get notified.
This patch introduces a generic helper functions to do eventfds binding
with given interrupts.
Sub feature drivers are expected to use XXX_GET_IRQ_NUM to query irq
info, and XXX_SET_IRQ to set eventfds for interrupts. This patch also
introduces helper functions for these 2 ioctls.
Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'scripts/Makefile.kasan')
0 files changed, 0 insertions, 0 deletions