Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp529838rwb; Tue, 29 Nov 2022 01:49:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf5b94UTnqk5c66NbmnYqeW7OR/9rbcOZAGUacpZZQFVSbUn4E+/19b5ditZ1CcdbQJi2A2E X-Received: by 2002:a05:6402:10d1:b0:467:7508:89ca with SMTP id p17-20020a05640210d100b00467750889camr35760620edu.284.1669715389473; Tue, 29 Nov 2022 01:49:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669715389; cv=none; d=google.com; s=arc-20160816; b=IQ/Z2NMODbmi6KrI8SNee5LjomDsBkYgOLun2X49VgTsaN57/ZfFQMTsq8g1MXApiF SJEyH3X8o8iS3+odJbZRD7a/v34H2Tq8nk9iXFcAM0whv4fGhspgQ2JPvtI+b5CvbN3o uGEGD+cmsF6PKETPazig6Tfp/yimNTZFZr2/4kpuRPyXUegtgIjOYXfObzywqgNqx7pE 00slaZ3O5KTJnRTPomLs8d02O+lB21y0fkmNvvdWXC4tXkb0OvzjqJ62IVzk4zJDqhNW KvzFhisJg9cWyGhP3xoxZUvWUj6k5hZpWWgK1L3NDSXGM5EaRm0QXJAPcrUEs/H44v/Q ib7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=mWAyxGnGfDBWOO/6cOO40LHqAdd4xJd4z4/3HDguLVQ=; b=qG78rvZ8LkK/CglF4WYrTeByUWu9uefU5HQiqF9372PvZpEvhaY3dzKz+IojL4yXwa RtunZmjJt7XK+pqyU6ObNU2+/LK9l0NkEGhCnPD1aPRt/wN7CkvbFu6uddEPMA0ZPo3w u4hCVt9FL7uWv0Ok0OBoeTctYnWwyEXDdexqpgu3Z/janPa52sMnNyLEvZpgONOs8DE8 G3hl/lHxw46dbbNG6Yh2HOhZ+cd708CaSm4Y8aeSbMhLEBgyXIi7s/BcZFUNvGcW30K4 ZQTNcA1C2r0oEhJW8IMqamj3WLu+38gxUhNdr0PzTcy0ZxwVurGoWjax5mjAZDzikLL7 NeiQ== 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 hb17-20020a170907161100b00773db392e1esi13655174ejc.997.2022.11.29.01.49.29; Tue, 29 Nov 2022 01:49:49 -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 S231804AbiK2J3C (ORCPT + 83 others); Tue, 29 Nov 2022 04:29:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbiK2J25 (ORCPT ); Tue, 29 Nov 2022 04:28:57 -0500 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 485B043AE0; Tue, 29 Nov 2022 01:28:56 -0800 (PST) Received: by mail-pl1-f171.google.com with SMTP id g10so12821778plo.11; Tue, 29 Nov 2022 01:28:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mWAyxGnGfDBWOO/6cOO40LHqAdd4xJd4z4/3HDguLVQ=; b=YHQJvVxPLxmXddoiEuOPQWqn2Ormx76iPImrHMmEg9fQW+ogdRR4srDwZaDG7MXZzf dX60ZM/Eu35ZW6QG6vehtwtYHqRae9X+XjPoqsq3UKVC3akeANw+ij2PZN/JLNUN5uXU pQevwQDVnbB2dawcZvaGv5omTYlf0wbuz0ujCWLASPv+Okgeu0m+F91YlU9o6LYsbHmx yYXZ/cPKC7wVoXWIeWgvqqcJuBtHFme4banpd1ntsYsG5x0ktrIJ9BwGz7oe/IkuX2kg vrOlFE5efJabLcoM99A5gnCMzOuQtvyGGGcg2NiB38BITMUXgyjRBQZnEW99tnWZr9OT J5dA== X-Gm-Message-State: ANoB5pmxM+F3fas6wyB49ZdPNd4WXNZeuY1Cf5wyHaG8WpHudXeG3tVD zyspc8Y53jCXAtLYhfmbIJ2xPPSq+CpyH8M/fRw= X-Received: by 2002:a17:90a:77cc:b0:219:1747:f19c with SMTP id e12-20020a17090a77cc00b002191747f19cmr17832727pjs.222.1669714135683; Tue, 29 Nov 2022 01:28:55 -0800 (PST) MIME-Version: 1.0 References: <20221129031406.3849872-1-mailhol.vincent@wanadoo.fr> In-Reply-To: From: Vincent MAILHOL Date: Tue, 29 Nov 2022 18:28:44 +0900 Message-ID: Subject: Re: [PATCH net-next v2] net: devlink: add DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER To: Jiri Pirko Cc: Jiri Pirko , Jakub Kicinski , "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Marc Kleine-Budde , linux-can Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 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-mailhol.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/Documentation/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 > > =========== > > > >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. I will use it in this series for the linux-can tree: https://lore.kernel.org/netdev/20221126162211.93322-4-mailhol.vincent@wanadoo.fr/ 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. Yours sincerely, Vincent Mailhol