linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] add Intel FPGA image reload support
@ 2022-08-08  5:33 Tianfei Zhang
  2022-08-08  5:33 ` [PATCH v3 1/2] fpga: m10bmc-sec: add sysfs to reload FPGA/BMC images Tianfei Zhang
  2022-08-08  5:33 ` [PATCH v3 2/2] fpga: m10bmc-sec: add m10bmc_sec_retimer_load callback Tianfei Zhang
  0 siblings, 2 replies; 11+ messages in thread
From: Tianfei Zhang @ 2022-08-08  5:33 UTC (permalink / raw)
  To: mdf, yilun.xu, linux-fpga, lee.jones, russell.h.weight
  Cc: hao.wu, trix, Tianfei Zhang

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.

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 reload FPGA/BMC images
  fpga: m10bmc-sec: add m10bmc_sec_retimer_load callback

 .../sysfs-driver-intel-m10-bmc-sec-update     |  34 +++
 drivers/fpga/intel-m10-bmc-sec-update.c       | 253 ++++++++++++++++++
 include/linux/mfd/intel-m10-bmc.h             |  31 +++
 3 files changed, 318 insertions(+)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-08-11 21:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08  5:33 [PATCH v3 0/2] add Intel FPGA image reload support Tianfei Zhang
2022-08-08  5:33 ` [PATCH v3 1/2] fpga: m10bmc-sec: add sysfs to reload FPGA/BMC images Tianfei Zhang
2022-08-08  9:57   ` Xu Yilun
2022-08-08 23:39     ` matthew.gerlach
2022-08-09  7:04       ` Zhang, Tianfei
2022-08-11 20:41         ` matthew.gerlach
2022-08-09 16:30       ` Xu Yilun
2022-08-10 13:50         ` Zhang, Tianfei
2022-08-11 21:03         ` matthew.gerlach
2022-08-08  5:33 ` [PATCH v3 2/2] fpga: m10bmc-sec: add m10bmc_sec_retimer_load callback Tianfei Zhang
2022-08-08 16:22   ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).