Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1461rdb; Fri, 16 Feb 2024 17:36:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+tq6zhU3H2EDzF1NVe0Ue2sF7fpqTTFT1PUFsi9kKRx36ZRmhFb+F+NJ1SvqRV+RrXL3uGZ4ZY0HJjNFG+vcxfDvsS04Q02OHxbaQ4w== X-Google-Smtp-Source: AGHT+IHS0OQNupN6LZMxngtYbhwmb8aOHmmjShWE43/scWfNXwm8e+0IF1pDBUjm7DHMuuLj7BTL X-Received: by 2002:ac2:4e89:0:b0:511:3bd4:6a97 with SMTP id o9-20020ac24e89000000b005113bd46a97mr3638356lfr.7.1708133813563; Fri, 16 Feb 2024 17:36:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708133813; cv=pass; d=google.com; s=arc-20160816; b=LlDG5PY+v9Ib1U1AZjXdWpgBi0NZQ2aIHnFXQn78egwq0UI8gtHOvtIhu7aZvdwmpH JazCn6CMVcJKbm+r0Wr22VqF1fYFICy1Xcp/9dxFwutCeqH0ehjvu6r/Xvfyl4fUdDfz kwmEIzP2unvw9xHB5uNPxLozNXFyQTu0ku2wCEVtGjyCgce82AtHjqTRhtPbgf1s6epX /Y3OWai0o3ppX4ogBh/pWtBtv2Qg+/mIeHLu4bKUCOt3FY2yw9FmUo7XliuRHFnLt6pa LuPMOtM9XMGEF2TzXqJi8xlK7V/6AdlB60OspGog+bmpbaHel1/7hG1BEVKRNsK4mvcm n8PQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=LKoCE6OLAD/tslpiaXPWd9xbEbImnIps0yHat6c2KaQ=; fh=4hs3kGUm76U8L05WRwJKe97Pwzc7XQElOJhB9evt5jg=; b=GZnndi5ka6atU1cITyfd36LoZTseAzcv7iWvp4tRg++p2eaTUZSPNHA4CGK7NWZPDJ dIT4MzlpCJvV7oJ3DDD0vLH7n5pTyXzQuIMyJTZ3I2TLcOWGK5+YQ3Tr3WmWIUN3wxIL RxgEyc6QCzxWsove02ry9T/ffN79POEFyy2fJlfaM35WW6ydySYmQKItxsFf+HbkHs4b FGjgwCmDaEr+izGTS9/+PJiel+lm8dc3zW0KCvik4DD0WurHq/1uG49UjIduAIJzKGAw HDVnxmSThCHMn2UR/lY/EK97QoqCP5fvhA3ru8i+HYCw5N9ZAUrDa0HWQmuFCJrmIXZV NfLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9iLCs5I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k18-20020a170906681200b00a37a9478c9fsi422472ejr.294.2024.02.16.17.36.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 17:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9iLCs5I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 44B831F2398C for ; Sat, 17 Feb 2024 01:36:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF5561B593; Sat, 17 Feb 2024 01:36:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p9iLCs5I" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E381E1AAB1; Sat, 17 Feb 2024 01:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708133801; cv=none; b=DQjBWB+9duT3W7ZemcGhfkc2gxYBFf3SIxfMz05+syPkWWdAMrNrcJGJDF0pXEjvUTD8rwxZO1/tt5ShPEPYp742cl92jKiX+/7yzkAdubVw0UTzYXvAKQQ3iR+VhfuUrd4wzmsN25oAhAxmuc8/7hnp4JwuIVqmlAt9aLHdpa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708133801; c=relaxed/simple; bh=DTCpAO4XHgQ7XYEX4RWkTVGsLXOrpf2SdYe7zEkHOCM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LKBBjeRnlGNWcVVqlJhN+3M6wcrayHaLiHmiHpYvdpP99Y0+aiNQ/PXoShGizuwTgAd3QUgsBvjZn2TOrJ0PG0Zc4ydwgtfzWK01tHEuciCgezC2jpf58yAMa5wVqx5C3k8AVcPT6JabLVMoD4jie9NfQ4QXRX1gfKtTdAjwlp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p9iLCs5I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98898C433F1; Sat, 17 Feb 2024 01:36:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708133800; bh=DTCpAO4XHgQ7XYEX4RWkTVGsLXOrpf2SdYe7zEkHOCM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=p9iLCs5IcyTmVVn11UfzCP01EVK7zi3wpMp626MSyjlqK8zoAmgYzK8fEmv8Z1lRO 0YUya8h6MkBLj2FNYnyYU2uQdZceqNbktGmyTYjWSZ44wE6Ufgh4fVsV7JRGY/qnjF PlwI2vN+R3q8zPzhPXHN5aPbAxvkvpHeb2Vg9rqJ0VtGMwU/QdgS0QoPfGRb9GHD7u GEULx2opWMGGI11SjbObp56jkw1dAcSFb10UgaXg6mm/c80g3CH17Llw95+CT6k8Lc vjImilbpVTWQjRSz2YTHhUmOCgNfo+eOGWbcCOn4G/OkVrOXFC0BWHr6h4yZRuNXLG +PwTPkgw5Vvtw== Date: Fri, 16 Feb 2024 17:36:38 -0800 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Subject: Re: [PATCH net-next v4 05/17] net: pse-pd: Introduce PSE types enumeration Message-ID: <20240216173638.4bb12af2@kernel.org> In-Reply-To: <20240216104211.2c11d1cc@kmaincent-XPS-13-7390> References: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> <20240215-feature_poe-v4-5-35bb4c23266c@bootlin.com> <20240215105846.6dd48886@kernel.org> <20240216104211.2c11d1cc@kmaincent-XPS-13-7390> 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: quoted-printable On Fri, 16 Feb 2024 10:42:11 +0100 K=C3=B6ry Maincent wrote: > > On Thu, 15 Feb 2024 17:02:46 +0100 Kory Maincent wrote: =20 > > > Introduce an enumeration to define PSE types (C33 or PoDL), > > > utilizing a bitfield for potential future support of both types. > > > Include 'pse_get_types' helper for external access to PSE type info. = =20 > >=20 > > I haven't read the series, just noticed this breaks the build: > >=20 > > error: ../include/uapi/linux/pse.h: missing "WITH Linux-syscall-note" f= or > > SPDX-License-Identifier =20 >=20 > By curiosity how do you get that error?=20 > Is it with C=3D1? I didn't faced it with W=3D1. > C=3D1 is broken for several architecture like arm64, indeed I forgot to r= un it. Not 100% sure, TBH, I suspect it's somehow enabled by allmodconfig. I don't think it's a C=3D1 thing because our clang build doesn't do C=3D1 and it also hit it. > > but why the separate header? Is it going to be used in other parts of > > uAPI than just in ethtool? =20 >=20 > We might use it in pse core if capabilities between PoE and PoDL differ b= ut I > am not sure about it. > Do you prefer to move it to ethtool header and add prefix ETHTOOL_ to the= enum > values? I don't know enough to have an opinion :) Whatever you end up doing, it's probably worth documenting the reason for the choice in the commit message? > > > This patch is sponsored by Dent Project =20 > >=20 > > side-note: no objections to the line but for accounting purposes > > (i.e. when we generate development stats) we use the Author / From > > line exclusively. So it'd be easier to compute stats of things funded > > by Dent if you used: > >=20 > > From: Kory Maincent (Dent Project) > >=20 > > but that's entirely up to you :) =20 >=20 > Does adding the line side to the SOB in the commit message is sufficient = or > should I modify the git send email config? I think you can sed -i s/// the patches? When the From in the email file doesn't match your git config IIUC git will include the from line in the body and pick it up from them. IOW it will work. The scripts look at git author so s-o-b won't do much.