]> www.infradead.org Git - nvme.git/commit
ethtool: cmis_fw_update: add a layer for supporting firmware update using CDB
authorDanielle Ratson <danieller@nvidia.com>
Thu, 27 Jun 2024 14:08:55 +0000 (17:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:48:23 +0000 (10:48 +0100)
commitc4f78134d45c9619339c96b4bea380b1d0699788
tree4a42d486abf06902c18253e2358c4d01082548c0
parenta39c84d796254e6b1662ca0c46dbc313379e9291
ethtool: cmis_fw_update: add a layer for supporting firmware update using CDB

According to the CMIS standard, the firmware update process is done using
a CDB commands sequence.

Implement a work that will be triggered from the module layer in the
next patch the will initiate and execute all the CDB commands in order, to
eventually complete the firmware update process.

This flashing process includes, writing the firmware image, running the new
firmware image and committing it after testing, so that it will run upon
reset.

This work will also notify user space about the progress of the firmware
update process.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/Makefile
net/ethtool/cmis.h
net/ethtool/cmis_fw_update.c [new file with mode: 0644]
net/ethtool/module_fw.h