Skip to content

add Intel FPGA image reload support

Tianfei Zhang linux-fpga 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 8 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches5 repliesSuperseded

Changes in v4 from the cover letter

From Yilun and Matthew's comments, provide more detail about how to trigger the FPGA/BMC image reload.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fpga: m10bmc-sec: add sysfs to trigger FPGA/BMC images reloadDocumentation/ABI/testing/sysfs-driver-intel-m10-bmc-sec-update drivers/fpga/intel-m10-bmc-sec-update.c+146 -01 reply
2/2fpga: m10bmc-sec: add m10bmc_sec_retimer_load callbackdrivers/fpga/intel-m10-bmc-sec-update.c include/linux/mfd/intel-m10-bmc.h+179 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew Gerlach
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] add Intel FPGA image reload support

This patchset adds FPGA image reload support on Intel PAC N3000 Card. Image reload means that a reload mechanism of an FPGA, BMC, or firmware image from FLASH or EEPROM after flash or program the images without power cycle the server.

This patchset introduces 2 new sysfs files for query the available images and trigger a image reload.

patch 1: add the available_images and image_load sysfs files. Write a key word into image_load sysfs file to trigger a reload of an FPGA, BMC, or firmware image from FLASH or EEPROM.
patch 2: add a trigger to update a new Retimer firmware.

v4:
From Yilun and Matthew's comments, provide more detail about how to trigger the FPGA/BMC image reload.
v3:
From Lee Jones's comment, uses regmap_update_bits() API instead of the wrapper of m10bmc_sys_update_bits().
v2:
add more detail about how to use the image_load sysfs files in ABI documentation.

Russ Weight (2):
fpga: m10bmc-sec: add sysfs to trigger FPGA/BMC images reload
fpga: m10bmc-sec: add m10bmc_sec_retimer_load callback

 .../sysfs-driver-intel-m10-bmc-sec-update     |  41 +++
 drivers/fpga/intel-m10-bmc-sec-update.c       | 253 ++++++++++++++++++
 include/linux/mfd/intel-m10-bmc.h             |  31 +++
 3 files changed, 325 insertions(+)
Signature · 1 line
2.26.2