Skip to content

dpll: zl3073x: Add support for devlink flash

Ivan Vecera linux-doc lkml netdev 6 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 3 repliesApplied 5/5
  2. v55 patches 0 repliesSuperseded
  3. v45 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches10 repliesSuperseded
v25 patches5 repliesSuperseded
v15 patches5 repliesSuperseded

Changes in v6 from the cover letter

* fixed documentation

Patches in v6 All 5 applied

#Subject and filesSizeRepliesApplied
1/5dpll: zl3073x: Add functions to access hardware registersdrivers/dpll/zl3073x/core.c drivers/dpll/zl3073x/core.h drivers/dpll/zl3073x/regs.h+193 -40 repliesApplied
2/5dpll: zl3073x: Add low-level flash functionsdrivers/dpll/zl3073x/Makefile drivers/dpll/zl3073x/devlink.c drivers/dpll/zl3073x/devlink.h +3 more+747 -10 repliesApplied
3/5dpll: zl3073x: Add firmware loading functionalitydrivers/dpll/zl3073x/Makefile drivers/dpll/zl3073x/fw.c drivers/dpll/zl3073x/fw.h+472 -13 repliesApplied
4/5dpll: zl3073x: Refactor DPLL initializationdrivers/dpll/zl3073x/core.c drivers/dpll/zl3073x/core.h drivers/dpll/zl3073x/devlink.c+142 -860 repliesApplied
5/5dpll: zl3073x: Implement devlink flash callbackDocumentation/networking/devlink/zl3073x.rst drivers/dpll/zl3073x/devlink.c+143 -00 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPrzemek Kitszel
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH net-next v6 0/5] dpll: zl3073x: Add support for devlink flash

Add functionality for accessing device hardware registers, loading firmware bundles, and accessing the device's internal flash memory, and use it to implement the devlink flash functionality.

Patch breakdown:
Patch1: helpers to access hardware registers
Patch2: low level functions to access flash memory
Patch3: support to load firmware bundles
Patch4: refactoring device initialization and helper functions
for stopping and resuming device normal operation
Patch5: devlink .flash_update callback implementation

Changes:
v6:
* fixed documentation
v5:
* additional fixes for issues reported by Jakub v4:
* fixed issues reported by Jakub (see patches' changelogs) v3:
* fixed issues reported by Przemek (see patches' changelogs) v2:
* fixed several warnings found by patchwork bot
* added includes into new .c files
* fixed typos
* fixed uninitialized variable

*** BLURB HERE ***

Ivan Vecera (5):
dpll: zl3073x: Add functions to access hardware registers
dpll: zl3073x: Add low-level flash functions
dpll: zl3073x: Add firmware loading functionality
dpll: zl3073x: Refactor DPLL initialization
dpll: zl3073x: Implement devlink flash callback

 Documentation/networking/devlink/zl3073x.rst |  14 +
 drivers/dpll/zl3073x/Makefile                |   2 +-
 drivers/dpll/zl3073x/core.c                  | 362 +++++++---
 drivers/dpll/zl3073x/core.h                  |  33 +
 drivers/dpll/zl3073x/devlink.c               | 156 ++++-
 drivers/dpll/zl3073x/devlink.h               |   3 +
 drivers/dpll/zl3073x/flash.c                 | 666 +++++++++++++++++++
 drivers/dpll/zl3073x/flash.h                 |  29 +
 drivers/dpll/zl3073x/fw.c                    | 419 ++++++++++++
 drivers/dpll/zl3073x/fw.h                    |  52 ++
 drivers/dpll/zl3073x/regs.h                  |  51 ++
 11 files changed, 1696 insertions(+), 91 deletions(-)
 create mode 100644 drivers/dpll/zl3073x/flash.c
 create mode 100644 drivers/dpll/zl3073x/flash.h
 create mode 100644 drivers/dpll/zl3073x/fw.c
 create mode 100644 drivers/dpll/zl3073x/fw.h
Signature · 1 line
2.49.1