# Re: \[PATCH v4 11/24\] fpga: dfl: fme: add header sub feature support

- From: Alan Tull \<hidden\>
- Date: 2018-02-14 16:37:09 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2018/02/5193781
- Thread: https://ratatoskr.run/linux-fpga/2018/02/5193758/t.md

```text
On Tue, Feb 13, 2018 at 3:24 AM, Wu Hao [ref] wrote:

Hi Hao,

Looks good.

> From: Kang Luwei <redacted>
>
> The Header Register set is always present for FPGA Management Engine (FME),
> this patch implements init and uinit function for header sub feature and
> introduce several read-only sysfs interfaces for the capability and status.
>
> Sysfs interfaces:
> * /sys/class/fpga_region/<regionX>/<dfl-fme.x>/ports_num
>   Read-only. Number of ports implemented
>
> * /sys/class/fpga_region/<regionX>/<dfl-fme.x>/bitstream_id
>   Read-only. Blue Bitstream (static FPGA region) identifier number. It contains
>   the detailed version and other information of this static FPGA region.
>
> * /sys/class/fpga_region/<regionX>/<dfl-fme.x>/bitstream_metadata
>   Read-only. Blue Bitstream (static FPGA region) meta data. It contains the
>   synthesis date, seed and other information of this static FPGA region.
>
> Signed-off-by: Tim Whisonant <redacted>
> Signed-off-by: Enno Luebbers <redacted>
> Signed-off-by: Shiva Rao <redacted>
> Signed-off-by: Christopher Rauer <redacted>
> Signed-off-by: Kang Luwei <redacted>
> Signed-off-by: Xiao Guangrong <redacted>
> Signed-off-by: Wu Hao <redacted>
Acked-by: Alan Tull <redacted>

Thanks,
Alan
```
