[PATCH net-next 0/2] eth: fbnic: Add devlink dev flash support

Lee Trager posted 2 patches 1 month, 2 weeks ago
There is a newer version of this series
.../device_drivers/ethernet/meta/fbnic.rst    |  11 +
drivers/net/ethernet/meta/Kconfig             |   1 +
drivers/net/ethernet/meta/fbnic/fbnic.h       |   1 +
.../net/ethernet/meta/fbnic/fbnic_devlink.c   | 270 +++++++++++++++++-
drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 263 +++++++++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |  59 ++++
6 files changed, 604 insertions(+), 1 deletion(-)
[PATCH net-next 0/2] eth: fbnic: Add devlink dev flash support
Posted by Lee Trager 1 month, 2 weeks ago
fbnic supports updating firmware using a PLDM image signed and distributed
by Meta. PLDM images are written into stored flash. Flashing does not
interrupt operation.

Mailbox support additional adds support to utilize the kernel completion
API with firmware. This allows the driver to block on firmware response.
Initial support is only for firmware updates, future patches will add
support for additional features.

Lee Trager (2):
  eth: fbnic: Add mailbox support for PLDM updates
  eth: fbnic: Add devlink dev flash support

 .../device_drivers/ethernet/meta/fbnic.rst    |  11 +
 drivers/net/ethernet/meta/Kconfig             |   1 +
 drivers/net/ethernet/meta/fbnic/fbnic.h       |   1 +
 .../net/ethernet/meta/fbnic/fbnic_devlink.c   | 270 +++++++++++++++++-
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 263 +++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |  59 ++++
 6 files changed, 604 insertions(+), 1 deletion(-)

--
2.43.5
[PATCH net-next v2 0/2] eth: fbnic: Add devlink dev flash support
Posted by Lee Trager 1 month ago
fbnic supports updating firmware using a PLDM image signed and distributed
by Meta. PLDM images are written into stored flash. Flashing does not
interrupt operation.

Mailbox support additional adds support to utilize the kernel completion
API with firmware. This allows the driver to block on firmware response.
Initial support is only for firmware updates, future patches will add
support for additional features.

Changes:

V2:
* Fixed reversed Xmas tree variable declarations
* Replaced memcpy with strscpy

Lee Trager (2):
  eth: fbnic: Add mailbox support for PLDM updates
  eth: fbnic: Add devlink dev flash support

 .../device_drivers/ethernet/meta/fbnic.rst    |  11 +
 drivers/net/ethernet/meta/Kconfig             |   1 +
 .../net/ethernet/meta/fbnic/fbnic_devlink.c   | 269 +++++++++++++++++-
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 263 +++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |  64 ++++-
 5 files changed, 603 insertions(+), 5 deletions(-)

--
2.43.5