fpga: dfl: pci: add irq info for feature devices enumeration
authorXu Yilun <yilun.xu@intel.com>
Tue, 16 Jun 2020 04:08:43 +0000 (12:08 +0800)
committerMoritz Fischer <mdf@kernel.org>
Sun, 28 Jun 2020 19:42:58 +0000 (12:42 -0700)
commitbfef946dbe1bbe6cae97bba27594e8d5b0e01ffa
tree543bc7defaafbac378ac61d24646fc97b83e735b
parent8d021039cbb5e358c7c07c562811253a61c8d551
fpga: dfl: pci: add irq info for feature devices enumeration

Some DFL FPGA PCIe cards (e.g. Intel FPGA Programmable Acceleration
Card) support MSI-X based interrupts. This patch allows PCIe driver
to prepare and pass interrupt resources to DFL via enumeration API.
These interrupt resources could then be assigned to actual features
which use them.

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>
drivers/fpga/dfl-pci.c