From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: MIME-Version: 1.0 References: <1556528151-17221-1-git-send-email-hao.wu@intel.com> <1556528151-17221-13-git-send-email-hao.wu@intel.com> In-Reply-To: <1556528151-17221-13-git-send-email-hao.wu@intel.com> From: Alan Tull Date: Thu, 9 May 2019 09:41:18 -0500 Message-ID: Subject: Re: [PATCH v2 12/18] fpga: dfl: afu: add error reporting support. Content-Type: text/plain; charset="UTF-8" To: Wu Hao Cc: Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel , linux-api@vger.kernel.org, Xu Yilun List-ID: On Mon, Apr 29, 2019 at 4:12 AM Wu Hao wrote: > > Error reporting is one important private feature, it reports error > detected on port and accelerated function unit (AFU). It introduces > several sysfs interfaces to allow userspace to check and clear > errors detected by hardware. > > Signed-off-by: Xu Yilun > Signed-off-by: Wu Hao Acked-by: Alan Tull Thanks! Alan > --- > v2: add more error code description for error clear sysfs in doc. > return -EINVAL instead of -EBUSY when input error code doesn't > match in error clear sysfs. > --- > Documentation/ABI/testing/sysfs-platform-dfl-port | 39 ++++ > drivers/fpga/Makefile | 1 + > drivers/fpga/dfl-afu-error.c | 225 ++++++++++++++++++++++ > drivers/fpga/dfl-afu-main.c | 4 + > drivers/fpga/dfl-afu.h | 4 + > 5 files changed, 273 insertions(+) > create mode 100644 drivers/fpga/dfl-afu-error.c