From: Xu Yilun <yilun.xu@intel.com>
To: mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Xu Yilun <yilun.xu@intel.com>
Subject: [PATCH 0/7] Add interrupt support to FPGA DFL drivers
Date: Mon, 9 Mar 2020 18:29:43 +0800 [thread overview]
Message-ID: <1583749790-10837-1-git-send-email-yilun.xu@intel.com> (raw)
This patchset add interrupt support to FPGA DFL drivers.
With these patches, DFL driver will parse and assign interrupt resources
for enumerated feature devices and their sub features.
This patchset also introduces a set of APIs for user to monitor DFL
interrupts. Three sub features (DFL FME error, DFL AFU error and user
interrupt) drivers now support these APIs.
Patch #1: DFL framework change. Accept interrupt info input from DFL bus
driver, and add interrupt parsing and assignment for feature
sub devices.
Patch #2: DFL pci driver change, add interrupt info on DFL enumeration.
Patch #3: DFL framework change. Add helper functions for feature sub
device drivers to handle interrupt and notify users.
Patch #4: Add interrupt support for AFU error reporting sub feature.
Patch #5: Add interrupt support for FME global error reporting sub
feature.
Patch #6: Add interrupt support for a new sub feature, to handle user
interrupts implemented in AFU.
Patch #7: Documentation for DFL interrupt handling.
Xu Yilun (7):
fpga: dfl: parse interrupt info for feature devices on enumeration
fpga: dfl: pci: add irq info for feature devices enumeration
fpga: dfl: introduce interrupt trigger setting API
fpga: dfl: afu: add interrupt support for error reporting
fpga: dfl: fme: add interrupt support for global error reporting
fpga: dfl: afu: add user interrupt support
Documentation: fpga: dfl: add descriptions for interrupt related
interfaces.
Documentation/fpga/dfl.rst | 17 +++
drivers/fpga/dfl-afu-error.c | 69 +++++++++++++
drivers/fpga/dfl-afu-main.c | 83 +++++++++++++++
drivers/fpga/dfl-fme-error.c | 71 +++++++++++++
drivers/fpga/dfl-fme-main.c | 6 ++
drivers/fpga/dfl-pci.c | 66 +++++++++++-
drivers/fpga/dfl.c | 233 +++++++++++++++++++++++++++++++++++++++++-
drivers/fpga/dfl.h | 51 +++++++++
include/uapi/linux/fpga-dfl.h | 89 ++++++++++++++++
9 files changed, 676 insertions(+), 9 deletions(-)
--
2.7.4
next reply other threads:[~2020-03-09 10:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 10:29 Xu Yilun [this message]
2020-03-09 10:29 ` [PATCH 1/7] fpga: dfl: parse interrupt info for feature devices on enumeration Xu Yilun
2020-03-10 2:26 ` Wu Hao
2020-03-10 9:25 ` Xu Yilun
2020-03-10 10:21 ` Wu Hao
2020-03-09 10:29 ` [PATCH 2/7] fpga: dfl: pci: add irq info for feature devices enumeration Xu Yilun
2020-03-10 2:46 ` Wu Hao
2020-03-10 9:41 ` Xu Yilun
2020-03-10 10:26 ` Wu Hao
2020-03-09 10:29 ` [PATCH 3/7] fpga: dfl: introduce interrupt trigger setting API Xu Yilun
2020-03-10 10:30 ` Wu Hao
2020-03-11 2:14 ` Xu Yilun
2020-03-09 10:29 ` [PATCH 4/7] fpga: dfl: afu: add interrupt support for error reporting Xu Yilun
2020-03-10 10:39 ` Wu Hao
2020-03-10 16:47 ` Xu Yilun
2020-03-11 2:43 ` Wu Hao
2020-03-11 6:35 ` Xu Yilun
2020-03-09 10:29 ` [PATCH 5/7] fpga: dfl: fme: add interrupt support for global " Xu Yilun
2020-03-09 10:29 ` [PATCH 6/7] fpga: dfl: afu: add user interrupt support Xu Yilun
2020-03-09 10:29 ` [PATCH 7/7] Documentation: fpga: dfl: add descriptions for interrupt related interfaces Xu Yilun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583749790-10837-1-git-send-email-yilun.xu@intel.com \
--to=yilun.xu@intel.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).