mbox series

[0/3] fpga: fpga-mgr: Add support for DebugFS for FPGA Manager Framework

Message ID 20220517084108.1516-1-adrian.ho.yin.ng@intel.com (mailing list archive)
Headers show
Series fpga: fpga-mgr: Add support for DebugFS for FPGA Manager Framework | expand

Message

Ng, Adrian Ho Yin May 17, 2022, 8:41 a.m. UTC
From: Adrian Ng Ho Yin <adrian.ho.yin.ng@intel.com>

Hi,

A DebugFS for the FPGA Manager Framework is implemented which supports 
read/write functionality for the FPGA image firmware file to program for 
debugging purposes. To facilitate in usage a documentation for debugFS is 
added. A debugFS interface is extended for setting the maximum time in 
microseconds for the FPGA to go to the operating state after the region 
has been programmed.

Adrian Ng Ho Yin (1):
  fpga: Implement DebugFS for FPGA Manager Framework

Alan Tull (1):
  fpga: doc: documentation for FPGA debugfs

Matthew Gerlach (1):
  add debugfs interface for fpga config complete timeout

 Documentation/fpga/debugfs.txt  |  39 +++++++
 drivers/fpga/Kconfig            |   7 ++
 drivers/fpga/Makefile           |   1 +
 drivers/fpga/fpga-mgr-debugfs.c | 188 ++++++++++++++++++++++++++++++++
 drivers/fpga/fpga-mgr-debugfs.h |  32 ++++++
 drivers/fpga/fpga-mgr.c         |   8 ++
 include/linux/fpga/fpga-mgr.h   |   3 +
 7 files changed, 278 insertions(+)
 create mode 100644 Documentation/fpga/debugfs.txt
 create mode 100644 drivers/fpga/fpga-mgr-debugfs.c
 create mode 100644 drivers/fpga/fpga-mgr-debugfs.h

Comments

Xu Yilun May 28, 2022, 8:57 a.m. UTC | #1
On Tue, May 17, 2022 at 04:41:08PM +0800, adrian.ho.yin.ng@intel.com wrote:
> From: Adrian Ng Ho Yin <adrian.ho.yin.ng@intel.com>
> 
> Hi,
> 
> A DebugFS for the FPGA Manager Framework is implemented which supports 
> read/write functionality for the FPGA image firmware file to program for 
> debugging purposes. To facilitate in usage a documentation for debugFS is 
> added. A debugFS interface is extended for setting the maximum time in 
> microseconds for the FPGA to go to the operating state after the region 
> has been programmed.

There were some discussion about the FPGA reprograming user interface in
resent years. For FPGA framework, a well designed user interface is
needed rather than a debug one. As is stated by the Patch #2, the FPGA
reprograming should take care of the running devices on that FPGA
region, or system breaks.

Thanks
Yilun

> 
> Adrian Ng Ho Yin (1):
>   fpga: Implement DebugFS for FPGA Manager Framework
> 
> Alan Tull (1):
>   fpga: doc: documentation for FPGA debugfs
> 
> Matthew Gerlach (1):
>   add debugfs interface for fpga config complete timeout
> 
>  Documentation/fpga/debugfs.txt  |  39 +++++++
>  drivers/fpga/Kconfig            |   7 ++
>  drivers/fpga/Makefile           |   1 +
>  drivers/fpga/fpga-mgr-debugfs.c | 188 ++++++++++++++++++++++++++++++++
>  drivers/fpga/fpga-mgr-debugfs.h |  32 ++++++
>  drivers/fpga/fpga-mgr.c         |   8 ++
>  include/linux/fpga/fpga-mgr.h   |   3 +
>  7 files changed, 278 insertions(+)
>  create mode 100644 Documentation/fpga/debugfs.txt
>  create mode 100644 drivers/fpga/fpga-mgr-debugfs.c
>  create mode 100644 drivers/fpga/fpga-mgr-debugfs.h
> 
> -- 
> 2.26.2