summaryrefslogtreecommitdiff
path: root/drivers/fpga/dfl-fme.h
diff options
context:
space:
mode:
authorWu Hao <hao.wu@intel.com>2019-08-12 10:50:03 +0800
committerMoritz Fischer <mdf@kernel.org>2019-09-03 19:35:41 -0700
commitcb3c2c47e3b8068e5d46ad829318cd077406fc9d (patch)
tree9866a45ad893cd8fdfbf7c5911ea6604db39e39b /drivers/fpga/dfl-fme.h
parentbd127b8191cf22adac9dedeca4f38093d61ff1ca (diff)
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>
Diffstat (limited to 'drivers/fpga/dfl-fme.h')
-rw-r--r--drivers/fpga/dfl-fme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/fpga/dfl-fme.h b/drivers/fpga/dfl-fme.h
index e4131e857dae..6685c8ef965b 100644
--- a/drivers/fpga/dfl-fme.h
+++ b/drivers/fpga/dfl-fme.h
@@ -35,5 +35,8 @@ struct dfl_fme {
extern const struct dfl_feature_ops fme_pr_mgmt_ops;
extern const struct dfl_feature_id fme_pr_mgmt_id_table[];
+extern const struct dfl_feature_ops fme_global_err_ops;
+extern const struct dfl_feature_id fme_global_err_id_table[];
+extern const struct attribute_group fme_global_err_group;
#endif /* __DFL_FME_H */