[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250915-feature_poe_permanent_conf-v3-0-78871151088b@bootlin.com>
Date: Mon, 15 Sep 2025 19:06:25 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Jiri Pirko <jiri@...nulli.us>, Simon Horman <horms@...nel.org>,
Jonathan Corbet <corbet@....net>, Donald Hunter <donald.hunter@...il.com>
Cc: kernel@...gutronix.de, Dent Project <dentproject@...uxfoundation.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
linux-doc@...r.kernel.org, Kyle Swenson <kyle.swenson@....tech>,
"Kory Maincent (Dent Project)" <kory.maincent@...tlin.com>
Subject: [PATCH net-next v3 0/5] net: pse-pd: pd692x0: Add permanent
configuration management support
From: Kory Maincent (Dent Project) <kory.maincent@...tlin.com>
This patch series introduces a new devlink-conf uAPI to manage device
configuration stored in non-volatile memory. This provides a standardized
interface for devices that need to persist configuration changes across
reboots. The uAPI is designed to be generic and can be used by any device
driver that manages persistent configuration storage.
The permanent configuration allows settings to persist across device
resets and power cycles, providing better control over PSE behavior
in production environments.
The new uAPI support is preceded by 3 patches that do house keeping.
Signed-off-by: Kory Maincent (Dent Project) <kory.maincent@...tlin.com>
---
Changes in v3:
- Move on from devlink param to new devlink conf uAPI. This new uAPI
manage device configuration stored in non-volatile memory.
- Link to v2: https://lore.kernel.org/r/20250829-feature_poe_permanent_conf-v2-0-8bb6f073ec23@bootlin.com
Changes in v2:
- Move from sysfs interface to devlink interface for the permanent
configuration support
- Remove the __free macro from pd692x0 driver following net policy.
- Link to v1: https://lore.kernel.org/r/20250822-feature_poe_permanent_conf-v1-0-dcd41290254d@bootlin.com
---
Kory Maincent (5):
net: pse-pd: pd692x0: Replace __free macro with explicit kfree calls
net: pse-pd: pd692x0: Separate configuration parsing from hardware setup
docs: devlink: Sort table of contents alphabetically
devlink: Add devlink-conf uAPI for NV memory management
net: pse-pd: pd692x0: Add devlink interface for configuration save/reset
Documentation/netlink/specs/devlink.yaml | 23 ++
Documentation/networking/devlink/devlink-conf.rst | 22 ++
Documentation/networking/devlink/index.rst | 22 +-
Documentation/networking/devlink/pd692x0.rst | 24 ++
MAINTAINERS | 3 +
drivers/net/pse-pd/pd692x0.c | 280 ++++++++++++++++++----
include/net/devlink.h | 20 ++
include/uapi/linux/devlink.h | 4 +
net/devlink/Makefile | 3 +-
net/devlink/conf.c | 31 +++
net/devlink/netlink.c | 2 +-
net/devlink/netlink_gen.c | 20 +-
net/devlink/netlink_gen.h | 3 +-
13 files changed, 400 insertions(+), 57 deletions(-)
---
base-commit: c237892eba83664b7265c46ffe3865a876e720ed
change-id: 20250813-feature_poe_permanent_conf-ec640dace1f2
Best regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Powered by blists - more mailing lists