Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2759632rwb; Wed, 30 Nov 2022 10:27:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vDZTVG1OV30n9grqLc1NiRRCSbcLyZnQIJdc3nfvdz9covvZ9kIzxBASgB9t3t097JrFe X-Received: by 2002:a17:906:d297:b0:7b8:4c22:2d6c with SMTP id ay23-20020a170906d29700b007b84c222d6cmr37528589ejb.144.1669832841676; Wed, 30 Nov 2022 10:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669832841; cv=none; d=google.com; s=arc-20160816; b=LXv7CzDKfsh70+Iyqb4VN//8BHdncKZw1pTqIgPIIiemKETDiwj9YCkwaQULIS/PKH MLvDZ4mUGFgbk0KiymaDUHjXIxxSM61hU6Izrn6Asf32QKW3aV84ab9Frrhs87oKQJGv xHi6MF67V8lL7v8ccva38y0pbdtMbWCbE7Hj+BPCuOv7uR4ksVqSiRwy4rDbnYWeKVOU itdxc7jYuquDUm8mJMA339KjDD5gHCLswo1DJ7jnpTlsfjuIJ0OIfjhu+b01PYPUFRuy mGSPdWscLmnVcYXh1LJLyUETmAcNTYI1ghGbAbStF+YMH4ob47tO2WN5DQZ+r2u7MTDG nxEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=GbBi5vMg0dGdO0SGILBRUMH+plpGSLFr1/WAf7XebVM=; b=DBV9nlC6M1nyuH8RwCmewD+mEKzfIKp5HxrAlcFzC+BJkc3/sr+7BV2dBQ+5vptPyZ C64248FGmofJ7Q3Lvg0xM2q6Zg+b0BgoBDgUCmqUDmyKSqG340f66oBNp2DFAFzq4Toi sw++iRlxzozJ5nuXP5SOl4KEmkQX4mXzAX4pWyVw6u0SMhoPvyHOvRjVoQEOpbKAowtl /BV6tIg4tn2Vqu/vfJnMjaPelUILt+lFZvaWxKaFvVYqY5EMRyph2C67QaQX6yi2ir9Z W3o/YDBQ5fEQVPWjlIcC/s0DjXxW+xo4B9thF+6roJtHMU4g+ldRAyHeG0urpaISotfR LnUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a1709060dd400b007ae6e307f60si1471758eji.323.2022.11.30.10.27.00; Wed, 30 Nov 2022 10:27:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbiK3RJm (ORCPT + 83 others); Wed, 30 Nov 2022 12:09:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbiK3RJY (ORCPT ); Wed, 30 Nov 2022 12:09:24 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6EFF9B795 for ; Wed, 30 Nov 2022 09:04:10 -0800 (PST) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0QV0-0005r7-Bq; Wed, 30 Nov 2022 18:03:54 +0100 Received: from pengutronix.de (unknown [IPv6:2a0a:edc0:0:701:cf48:5678:3bb0:eeda]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 1960812E2AE; Wed, 30 Nov 2022 17:03:52 +0000 (UTC) Date: Wed, 30 Nov 2022 18:03:51 +0100 From: Marc Kleine-Budde To: Vincent MAILHOL Cc: Jiri Pirko , Jiri Pirko , Jakub Kicinski , "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , linux-can Subject: Re: [PATCH net-next v2] net: devlink: add DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER Message-ID: <20221130170351.cjyaqr22vhqzq4hv@pengutronix.de> References: <20221129031406.3849872-1-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="obziojiov5xhwwjh" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --obziojiov5xhwwjh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29.11.2022 18:28:44, Vincent MAILHOL wrote: > On Tue. 29 Nov. 2022 at 17:33, Jiri Pirko wrote: > > Tue, Nov 29, 2022 at 04:14:06AM CET, mailhol.vincent@wanadoo.fr wrote: > > >As discussed in [1], abbreviating the bootloader to "bl" might not be > > >well understood. Instead, a bootloader technically being a firmware, > > >name it "fw.bootloader". > > > > > >Add a new macro to devlink.h to formalize this new info attribute name > > >and update the documentation. > > > > > >[1] https://lore.kernel.org/netdev/20221128142723.2f826d20@kernel.org/ > > > > > >Suggested-by: Jakub Kicinski > > >Signed-off-by: Vincent Mailhol > > >--- > > >* Changelog * > > > > > >v1 -> v2: > > > > > > * update the documentation as well. > > > Link: https://lore.kernel.org/netdev/20221129020151.3842613-1-mailho= l.vincent@wanadoo.fr/ > > >--- > > > Documentation/networking/devlink/devlink-info.rst | 5 +++++ > > > include/net/devlink.h | 2 ++ > > > 2 files changed, 7 insertions(+) > > > > > >diff --git a/Documentation/networking/devlink/devlink-info.rst b/Docum= entation/networking/devlink/devlink-info.rst > > >index 7572bf6de5c1..1242b0e6826b 100644 > > >--- a/Documentation/networking/devlink/devlink-info.rst > > >+++ b/Documentation/networking/devlink/devlink-info.rst > > >@@ -198,6 +198,11 @@ fw.bundle_id > > > > > > Unique identifier of the entire firmware bundle. > > > > > >+fw.bootloader > > >+------------- > > >+ > > >+Version of the bootloader. > > >+ > > > Future work > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > >diff --git a/include/net/devlink.h b/include/net/devlink.h > > >index 074a79b8933f..2f552b90b5c6 100644 > > >--- a/include/net/devlink.h > > >+++ b/include/net/devlink.h > > >@@ -621,6 +621,8 @@ enum devlink_param_generic_id { > > > #define DEVLINK_INFO_VERSION_GENERIC_FW_ROCE "fw.roce" > > > /* Firmware bundle identifier */ > > > #define DEVLINK_INFO_VERSION_GENERIC_FW_BUNDLE_ID "fw.bundle_id" > > >+/* Bootloader */ > > >+#define DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER "fw.bootloader" > > > > You add it and don't use it. You should add only what you use. >=20 > I will use it in this series for the linux-can tree: > https://lore.kernel.org/netdev/20221126162211.93322-4-mailhol.vincent@wan= adoo.fr/ >=20 > If it is a problem to send this as a standalone patch, I will then > just add it to my series and have the patch go through the linux-can > tree. As you have the Ok from Greg, include this in you v5 series. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --obziojiov5xhwwjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmOHjPQACgkQrX5LkNig 011yRQf/Z//khRUupApjepNa7hj73LOXKehQrdvABWt+K/GUaMpnRFtDMASWz4ZJ D9DH4Gk9+dsV6y8/tHnE9VNMYXZCkDqLxqq3INn7b4Th+eyS6Ajfk79k51Iervdv Q7IgNfeuEV52vnjIUrfGXIpqpV/1Tc83nmyiHM1yuhKPFv88hWAppuzZ53lTZRnE YHfAL9iy/FaA85w0334LSuIst36Mj2CFtFWc4+ymA0aBwL2t8dbiIQ0dDgYOowep Rk7NkT0LSsPXNUfm0KYq12z4VYG7lvWAtzWcSHwX0G+axxzWQKGY4lMAd8mBsAoY +1jDIuaKCXorISuFceKoD2ock+4+jw== =7wqE -----END PGP SIGNATURE----- --obziojiov5xhwwjh--