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: V3: * Fix comments 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