Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp670667lqb; Wed, 29 May 2024 07:21:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUISGGrMsj8xOjTp4kVauR75we2LfFVee3nDoLy07qP8gfjj6xxQOUY349Js4dcJe+U4a7wJeZhgF29D+TErcMjqo+RasoCzMwLoLQYZQ== X-Google-Smtp-Source: AGHT+IF7DpgqlFboD+PfSoCyEY45sktwcEqBRLlVTiEi01eTpo6fO0y0kSCuSrz/N21CrwzpBxQR X-Received: by 2002:a17:902:ce92:b0:1f4:960c:a05f with SMTP id d9443c01a7336-1f4960ca22cmr98221255ad.31.1716992516325; Wed, 29 May 2024 07:21:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716992516; cv=pass; d=google.com; s=arc-20160816; b=kW/y7LjjMDjfJyoW3zG8sO4TzEXVa8xa2exmKMn2UtzfrI4OuzC2GflfdVJkuf7C0M q2MZmPdgNImOMOG26clvQpKmX8JKsR3N2L4cbQTVvDHgcJvGenGEkpxIQwMuot6PbVVy bxQBWtZ5SBbFWLMKLDXC545FhCDUPBYfzuN0JWw1cXaFl9cecKLneyXoDf4ww2GlNWuI LYY43VROXiAGbiaHCOCsIpL3hbMSTu/H7j/PVu4xycuA6l7VmqUR40yZSfXhf+vSPfhZ 1+BrSvMtqLA1KIBLdDPdYXWAaDuVmQ0xCh4aFSJ6RZlquUUeQUzq72KjyoEpVCfa0blW mZtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=KoB8X5jisUebu5WDGHopNzSEI6k685dh5SMNh+rV5WI=; fh=bkuuwL0IG6Vujou5YptfTbPV1KXOCWyLyxvloMSGjxQ=; b=hFL7b9Zr8L0XAtbTtHOygQ/DarZz9W0Orpp3NFEZdXICmYowEhc48arDUwwxGr1qCK fDscYbaFZJRC1XMUICdBGekFWROma4gphq2VBY52M+BBJ2tesdqDPvcCE+bQCBlkg63S rYiC8PZa1DHCNP34pSlXDu1LhJIxzQRHBgBR8lJo38Usg0KdUGShMdTCEORGLbE1W8xT uTXw7DAWDiVPvKnF57WmTwWD/B0I4sriLT/tqfO5DH5i/bqj+keM6hE3EQvU37cK9l0s BjbqmNmaQIzL0XFvwvB4I2jQxuRDqSPNXHfk/g/dfWMqn75sHATwGP19HpguJSRFfz6u pDBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GUF8ZPN9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194238-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c78f44bsi100904965ad.60.2024.05.29.07.21.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:21:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GUF8ZPN9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194238-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CFA3128A540 for ; Wed, 29 May 2024 14:11:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBB5E53811; Wed, 29 May 2024 14:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="GUF8ZPN9" 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 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: linux-kernel@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