]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: pse-pd: Add support for reporting events
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>
Tue, 17 Jun 2025 12:12:01 +0000 (14:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 02:00:15 +0000 (19:00 -0700)
commitfc0e6db30941a66e284b8516b82356f97f31061d
tree5de4cec213bc867712892ef2bd9ee160669424eb
parentfa2f0454174c2f33005f5a6e6f70c7160a15b2a1
net: pse-pd: Add support for reporting events

Add support for devm_pse_irq_helper() to register PSE interrupts and report
events such as over-current or over-temperature conditions. This follows a
similar approach to the regulator API but also sends notifications using a
dedicated PSE ethtool netlink socket.

Signed-off-by: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20250617-feature_poe_port_prio-v14-2-78a1a645e2ee@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/ethtool.yaml
Documentation/networking/ethtool-netlink.rst
drivers/net/pse-pd/pse_core.c
include/linux/ethtool_netlink.h
include/linux/pse-pd/pse.h
include/uapi/linux/ethtool_netlink_generated.h
net/ethtool/pse-pd.c