From: Ivan Vecera <ivecera@redhat.com>
To: netdev@vger.kernel.org
Cc: Jiri Pirko <jiri@resnulli.us>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Willem de Bruijn <willemb@google.com>,
Simon Horman <horms@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Min Li <min.li@microchip.com>,
Vadim Fedorenko <vadim.fedorenko@linux.dev>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
linux-doc@vger.kernel.org
Subject: [PATCH net-next v2 0/3] dpll: zl3073x: add device reset via devlink reload
Date: Sat, 5 Dec 2026 09:38:57 +0100 [thread overview]
Message-ID: <20261205083900.595822-1-ivecera@redhat.com> (raw)
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 track whether its cached device state
is valid, so that the state is fetched again after a reset. Patch 3
adds the 'fw_activate' reload action and documents the supported
reload actions.
Changes in v2:
- Addressed the Sashiko review: patch 2 keeps the cached state across
a DRIVER_REINIT reload, patch 1 comments the wait after the reset;
see the patches for details
v1: https://lore.kernel.org/netdev/20261203180627.215256-1-ivecera@redhat.com/
Ivan Vecera (3):
dpll: zl3073x: factor device CPU reset into a helper
dpll: zl3073x: track whether the cached device state is valid
dpll: zl3073x: add device reset via devlink reload
Documentation/networking/devlink/zl3073x.rst | 25 ++++++
drivers/dpll/zl3073x/core.c | 81 ++++++++++++++++---
drivers/dpll/zl3073x/core.h | 10 +--
drivers/dpll/zl3073x/devlink.c | 81 +++++++++++++------
drivers/dpll/zl3073x/flash.c | 84 +++++---------------
5 files changed, 181 insertions(+), 100 deletions(-)
base-commit: 503f683265b31ee4f3207752129242512f30196c
--
2.56.1
next reply other threads:[~2026-12-05 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 8:38 Ivan Vecera [this message]
2026-12-05 8:38 ` [PATCH net-next v2 1/3] dpll: zl3073x: factor device CPU reset into a helper Ivan Vecera
2026-12-05 8:38 ` [PATCH net-next v2 2/3] dpll: zl3073x: track whether the cached device state is valid Ivan Vecera
2026-12-05 8:39 ` [PATCH net-next v2 3/3] dpll: zl3073x: add device reset via devlink reload Ivan Vecera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205083900.595822-1-ivecera@redhat.com \
--to=ivecera@redhat.com \
--cc=arkadiusz.kubalewski@intel.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=min.li@microchip.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=vadim.fedorenko@linux.dev \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox