> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of
> Jedrzej Jagielski
> Sent: Friday, February 21, 2025 5:21 PM
> To: intel-wired-...@lists.osuosl.org
> Cc: Nguyen, Anthony L <anthony.l.ngu...@intel.com>;
> net...@vger.kernel.org; ho...@kernel.org; j...@nvidia.com; Jagielski, Jedrzej
> <jedrzej.jagiel...@intel.com>; Keller, Jacob E <jacob.e.kel...@intel.com>;
> Mrozowicz, SlawomirX <slawomirx.mrozow...@intel.com>; Kwapulinski, Piotr
> <piotr.kwapulin...@intel.com>; Wegrzyn, Stefan <stefan.wegr...@intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v5 11/15] ixgbe: add device flash
> update via devlink
> 
> Use the pldmfw library to implement device flash update for the Intel ixgbe
> networking device driver specifically for E610 devices.
> This support uses the devlink flash update interface.
> 
> Using the pldmfw library, the provided firmware file will be scanned for the
> three major components, "fw.undi" for the Option ROM, "fw.mgmt" for the
> main NVM module containing the primary device firmware, and "fw.netlist"
> containing the netlist module.
> 
> The flash is separated into two banks, the active bank containing the running
> firmware, and the inactive bank which we use for update. Each module is
> updated in a staged process. First, the inactive bank is erased, preparing the
> device for update. Second, the contents of the component are copied to the
> inactive portion of the flash. After all components are updated, the driver
> signals the device to switch the active bank during the next EMP reset.
> 
> With this implementation, basic flash update for the E610 hardware is
> supported.
> 
> Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com>
> Co-developed-by: Slawomir Mrozowicz <slawomirx.mrozow...@intel.com>
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozow...@intel.com>
> Co-developed-by: Piotr Kwapulinski <piotr.kwapulin...@intel.com>
> Signed-off-by: Piotr Kwapulinski <piotr.kwapulin...@intel.com>
> Co-developed-by: Stefan Wegrzyn <stefan.wegr...@intel.com>
> Signed-off-by: Stefan Wegrzyn <stefan.wegr...@intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagiel...@intel.com>
> ---
> v5: fix caps->nvm_unified_update assignment
> ---
>  Documentation/networking/devlink/ixgbe.rst    |  24 +
>  drivers/net/ethernet/intel/Kconfig            |   1 +
>  drivers/net/ethernet/intel/ixgbe/Makefile     |   2 +-
>  .../ethernet/intel/ixgbe/devlink/devlink.c    |   4 +
>  drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 210 ++++++
> drivers/net/ethernet/intel/ixgbe/ixgbe_e610.h |  11 +
>  .../ethernet/intel/ixgbe/ixgbe_fw_update.c    | 668 ++++++++++++++++++
>  .../ethernet/intel/ixgbe/ixgbe_fw_update.h    |  12 +
>  .../ethernet/intel/ixgbe/ixgbe_type_e610.h    |  64 ++
>  9 files changed, 995 insertions(+), 1 deletion(-)  create mode 100644
> 

Tested-by: Bharath R <bharat...@intel.com>


Reply via email to