Linux Documentation
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] dpll: zl3073x: add device reset via devlink reload
@ 2026-12-03 18:06 Ivan Vecera
  2026-12-03 18:06 ` [PATCH net-next 1/3] dpll: zl3073x: factor device CPU reset into a helper Ivan Vecera
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ivan Vecera @ 2026-12-03 18:06 UTC (permalink / raw)
  To: netdev
  Cc: Jiri Pirko, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Jonathan Corbet, Shuah Khan,
	Randy Dunlap, Min Li, Vadim Fedorenko, Arkadiusz Kubalewski,
	linux-doc

The ZL3073x chips can reboot the firmware and reload the whole
configuration from flash. This series exposes this full device reset
through the devlink 'fw_activate' reload action. As the reset affects
the whole chip, devlink is used rather than the per-DPLL netlink
interface.

Patch 1 factors the HW register sequence used by
zl3073x_flash_mode_leave() to reset the device CPU into a reusable
helper. Patch 2 makes the driver fetch the device state on every start,
as a reset changes it. Patch 3 adds the 'fw_activate' reload action and
documents the supported reload actions.

Ivan Vecera (3):
  dpll: zl3073x: factor device CPU reset into a helper
  dpll: zl3073x: always fetch device state on start
  dpll: zl3073x: add device reset via devlink reload

 Documentation/networking/devlink/zl3073x.rst | 25 ++++++
 drivers/dpll/zl3073x/core.c                  | 91 +++++++++++++++-----
 drivers/dpll/zl3073x/core.h                  |  8 +-
 drivers/dpll/zl3073x/devlink.c               | 81 ++++++++++++-----
 drivers/dpll/zl3073x/flash.c                 | 79 ++++-------------
 5 files changed, 172 insertions(+), 112 deletions(-)


base-commit: fe4597b13a535ebf999053d2ed9993ec534be192
-- 
2.56.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-03 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 18:06 [PATCH net-next 0/3] dpll: zl3073x: add device reset via devlink reload Ivan Vecera
2026-12-03 18:06 ` [PATCH net-next 1/3] dpll: zl3073x: factor device CPU reset into a helper Ivan Vecera
2026-12-03 18:06 ` [PATCH net-next 2/3] dpll: zl3073x: always fetch device state on start Ivan Vecera
2026-12-03 18:06 ` [PATCH net-next 3/3] dpll: zl3073x: add device reset via devlink reload Ivan Vecera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox