From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C99BD1CD00; Wed, 29 May 2024 14:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716991782; cv=none; b=nc25p3nlc0QPVRxBFSLRTbGAlOT9Vqbrgpp0DW06jCI5iWa+7mzmPdmCnwFJLUCzG3/uCLB9R9qVe6CU9sXQdhhI2yiMUjArFNmpgmcRcxE7YuBtS0K0SlGBsOm8JiaYo75AAYWPRxNwRDSnxJ2eytrsOZPcJ2hOEzMFEeqdiBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716991782; c=relaxed/simple; bh=BukAmjTSMdl4GuW6eUVOoMcpg7Q+WrXFpcdl8mIHzLM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=LaqD5p/DkcQpNCqI1b/Z9QMTzjywb5CVtJd0enKGoZuUbKNpaHsTeQ61cUqtfFDso0i1lrYjKCM9tUdI44WJyH6sCvw0rnaauXeSf8ApI8/UO+UoP4OgzlUXCZxTJXZUkKlUmjUuu3tpjNmPKdwYlsyA+Lwtlns9D0Qe59PIN6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=GUF8ZPN9; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="GUF8ZPN9" Received: by mail.gandi.net (Postfix) with ESMTPSA id AF41240004; Wed, 29 May 2024 14:09:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1716991775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KoB8X5jisUebu5WDGHopNzSEI6k685dh5SMNh+rV5WI=; b=GUF8ZPN9VAsgzFC5bQBCe+CbhQqfeyIaf6fWSguVZ+TwqB2dpUSWZYjonfoA3jjEFXXEfT 5lB4VVukIp3F5B4pCa2B/0c8bf/YAyULK9NWpvqBaauT/w+e+nBl6p0U4qH5XNMtefRZGF BK9ZR+x5i+hYzmWT3nz/WF6RB6QZzdZgz8Cc2ZWS7hW2NTXqENf09D2pwiuW6XHXBsgRgD VZ+HMSpHok00Lo415eF3D6mGZJzFFnif2nh2bPp0tpTEjRMe6FtQ1cFGVpPFnFGTx1VbiL J8EQNTfGKtlvjHPl8Hb7gAC52u0eRzOwDQNbYQCuEWhPsULqjOKBC5ZzytpSTg== From: Kory Maincent Subject: [PATCH 0/8] net: pse-pd: Add new PSE c33 features Date: Wed, 29 May 2024 16:09:27 +0200 Message-Id: <20240529-feature_poe_power_cap-v1-0-0c4b1d5953b8@bootlin.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIABc3V2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDEyNT3bTUxJLSotT4gnwQLk8tik9OLNA1tEi1NEhKNDeyNElSAuotKEp Ny6wAmxsdW1sLAHXCzjVnAAAA To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Donald Hunter , Oleksij Rempel Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Dent Project , kernel@pengutronix.de, Kory Maincent X-Mailer: b4 0.14-dev X-GND-Sasl: kory.maincent@bootlin.com From: "Kory Maincent (Dent Project)" This patch series adds new c33 features to the PSE API. - Expand the PSE PI informations status with power, class and failure reason - Add the possibility to get and set the PSE PIs power limit Jakub could you check if patchwork works correctly with this patch series. Signed-off-by: Kory Maincent --- Kory Maincent (8): net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP net: ethtool: pse-pd: Expand C33 PSE status with class, power and status message netlink: specs: Expand the PSE netlink command with C33 new features net: pse-pd: pd692x0: Expand ethtool status message net: pse-pd: Add new power limit get and set c33 features net: ethtool: Add new power limit get and set features netlink: specs: Expand the PSE netlink command with C33 pw-limit attributes net: pse-pd: pd692x0: Enhance with new current limit and voltage read callbacks Documentation/netlink/specs/ethtool.yaml | 20 +++ drivers/net/pse-pd/pd692x0.c | 261 ++++++++++++++++++++++++++++++- drivers/net/pse-pd/pse_core.c | 169 ++++++++++++++++++-- include/linux/pse-pd/pse.h | 48 +++++- include/uapi/linux/ethtool_netlink.h | 4 + net/ethtool/pse-pd.c | 63 +++++++- 6 files changed, 544 insertions(+), 21 deletions(-) --- base-commit: c7309fc9b716c653dc37c8ebcdc6e9132c370076 change-id: 20240425-feature_poe_power_cap-18e90ba7294b Best regards, -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com