[PATCH net-next v3 0/5] net: pse-pd: pd692x0: Add permanent configuration management support

Kory Maincent
2025-09-15T17:07:14Z

From: Kory Maincent (Dent Project) <kory.maincent@bootlin.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@bootlin.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