fpga: dfl: fme: add global error reporting support
authorWu Hao <hao.wu@intel.com>
Mon, 12 Aug 2019 02:50:03 +0000 (10:50 +0800)
committerMoritz Fischer <mdf@kernel.org>
Wed, 4 Sep 2019 02:35:41 +0000 (19:35 -0700)
commitcb3c2c47e3b8068e5d46ad829318cd077406fc9d
tree9866a45ad893cd8fdfbf7c5911ea6604db39e39b
parentbd127b8191cf22adac9dedeca4f38093d61ff1ca
fpga: dfl: fme: add global error reporting support

This patch adds support for global error reporting for FPGA
Management Engine (FME), it introduces sysfs interfaces to
report different error detected by the hardware, and allow
user to clear errors or inject error for testing purpose.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Ananda Ravuri <ananda.ravuri@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Documentation/ABI/testing/sysfs-platform-dfl-fme
drivers/fpga/Makefile
drivers/fpga/dfl-fme-error.c [new file with mode: 0644]
drivers/fpga/dfl-fme-main.c
drivers/fpga/dfl-fme.h