lkml.org 
[lkml]   [2021]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v1 0/2] fpga: dfl: Log and clear errors on driver init
Date
> Subject: [PATCH v1 0/2] fpga: dfl: Log and clear errors on driver init
>
> These patches address a request to log and clear any prexisting errors on
> FPGA cards when the drivers load. Any existing errors will result in print
> statements to the kernel error log before the errors are cleared. These
> changes specifically affect the fme and port error registers.

Could you please explain more about why we need this change?
As we have user interface to log and clear errors already, is it a better choice
to let userspace log and clear them during AFU initialization?

Hao

>
> Russ Weight (2):
> fpga: dfl: afu: Clear port errors in afu init
> fpga: dfl: fme: Clear fme global errors at driver init
>
> drivers/fpga/dfl-afu-error.c | 26 ++++---
> drivers/fpga/dfl-fme-error.c | 128 +++++++++++++++++++++++------------
> 2 files changed, 100 insertions(+), 54 deletions(-)
>
> --
> 2.25.1

\
 
 \ /
  Last update: 2021-10-20 06:47    [W:0.115 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site