]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: pse-pd: pd692x0: Preserve PSE configuration across reboots
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>
Mon, 13 Oct 2025 14:05:33 +0000 (16:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Oct 2025 00:50:29 +0000 (17:50 -0700)
commit8f3d044b34fe99b894046edb84605456195cabc0
tree272a9d277386ba08ef152f5a17759b4e3d7f51d8
parent6fa1f8b64a47edd7d8420d8fd1008507aee2853e
net: pse-pd: pd692x0: Preserve PSE configuration across reboots

Detect when PSE hardware is already configured (user byte == 42) and
skip hardware initialization to prevent power interruption to connected
devices during system reboots.

Previously, the driver would always reconfigure the PSE hardware on
probe, causing a port matrix reflash that resulted in temporary power
loss to all connected devices. This change maintains power continuity
by preserving existing configuration when the PSE has been previously
initialized.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251013-feature_pd692x0_reboot_keep_conf-v2-3-68ab082a93dd@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pse-pd/pd692x0.c