Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1247813pxj; Fri, 18 Jun 2021 02:59:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypay9pvldNfrDREWRHPL6j2yx2vH6J7e1IVBZTMo+Z0sr6VnXtuUu1Yiwknz8DquWiYewK X-Received: by 2002:a17:906:b317:: with SMTP id n23mr10313882ejz.324.1624010397837; Fri, 18 Jun 2021 02:59:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624010397; cv=pass; d=google.com; s=arc-20160816; b=M6gIlYR7tKxmUn5RWGnawE/zDBnoY88uRgIXNxD4zGb1Brsnp/Okvh5hpXShJaJXA1 d0I31AF+uLICCOjzropwIss51ibykXqQuAVa0GUgLftg5qdIUNld6OOLfWEhPEjKqysS LfwqXyONWD7sFHw7C3sNZNDw37gnZeUtehS2bhY3np9k5SfNLyq/GkY+LgeE4LE35tsp 3ENImwGiX6pbIxl16CYxvDOOKv0kf7uIzIUbjthNC3TdsZReClil+IfSjJoYs4SCkIyI C1Q+8mnjtn8uyrKWy0khurRV/rBfcKLpHUqkcVg9AOcO2siRyVhMjZx9bpbAbOK6uJo7 praA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zq6e0Dbl7iC4uyWpa/G+zETqKaJZFKQL1EoQXfWLO+U=; b=h1vYy5nQTjgUQhFcEYzG+rvvlmotBfSrqEUoo+jnTCYRkn5il3etkyuX8kE4jocBMy QCDueWxtTwWceH5YMDqlkKAjdyfNUKYmxPmkE3pO7c0j6VtT/ov1+Hv8tsNE3wIjlzxP e+e44O6057OmtNNM5oJJpSSx62YBbVrR/I1yPiEAn7s+bQxSjNaHNvAL4hinKC2zvZbI +MflLs8MM77cYG+2BcIrn13RIbtsbk79d+6m0XWov/mcMbc0tXfPgJZQgd3iyttF8/G1 8mjofJbsbDiuC/gP5+AaGwGPDeivw8I/IDtDW/kJTKOKN8VW7CYiN7R4HSjrJO1b89Tq Y8Kw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=bWC5as1r; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=plvision.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si2203997ejj.154.2021.06.18.02.59.35; Fri, 18 Jun 2021 02:59:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=bWC5as1r; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=plvision.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233076AbhFRKAo (ORCPT + 99 others); Fri, 18 Jun 2021 06:00:44 -0400 Received: from mail-eopbgr80139.outbound.protection.outlook.com ([40.107.8.139]:21513 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232796AbhFRKAi (ORCPT ); Fri, 18 Jun 2021 06:00:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPkku3GxG4deqj3HcTc5RXmG3u7VcqJAcA5V1S1cFoIwPQ+hNrXaOVL0/e229QJbaoNjgvOxd/0ZkYEBtpDoY4gMmpFhbRo+YxUrTGZ5j3htC1d0XNaAroq+1GDsfzvYq7qLTbBH6UUutbCuNPSkrrxP6qKb735r8ad/pb01xr/C3BUl+ofhiWvBpeOAX45oCG72zJIWnY4cFLR1raCgRGkaeulMhWhOxLMNPbp/twT7TcBIj/NmcmQZksk9pmz1bVNSbT4iOM5cFYYySM93KgI9vtMrZY3mtvLCrCeBbfuceJTqO1xP4YvBFSGopKrUbgQsAhjE8i5lya68C5jHgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zq6e0Dbl7iC4uyWpa/G+zETqKaJZFKQL1EoQXfWLO+U=; b=U0avEw0W0cXa47J/67FiSZ/Ep8Mw31rpKJrOb/YNy/OgGhODEy4zc6J9lLa1Pk7fGMD1RLWgtaNLIbth8ZRo7FNBBXFLAEwh6V6cEpE5Qi9RMc/bAwL70+9ksj/0f8LuO7a97yP2N3HvDZpMkaiWzDIxi2aRgUU/rm796PdV9c0z8VeKwQolGtkaKzQTMCcd5AzS/CQEzL2RxP+yOPDhAswCSI5GeqWYOJirRTKqBiVIqNRu4vNGrNaOa9t54uDfFqeNYFeKGL59/KZLA5tc0QWxcbOhiiRa7DAOgEOikYToQlrDdh7xkKDZpaZYnGEQHcecI71U29PM8BBgfTaJFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zq6e0Dbl7iC4uyWpa/G+zETqKaJZFKQL1EoQXfWLO+U=; b=bWC5as1rs7IKGZ/iLVUVn0nXRrYBOmQAGP+f7Av0hMfC/gO9odWjV/gZ2PMZgX0EPvyRYOQslXBlZx2Vah9cQAydN9pHZ1qoX3SbrsHqDg0Bppg1yEIX/oUsTmhQhzY1eK0K4EKu6BNBqrJMw6MNdaGevQM6+LvlE3Rd3uZoh6A= Authentication-Results: lunn.ch; dkim=none (message not signed) header.d=none;lunn.ch; dmarc=none action=none header.from=plvision.eu; Received: from HE1P190MB0539.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:56::28) by HE1P190MB0394.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:62::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Fri, 18 Jun 2021 09:58:27 +0000 Received: from HE1P190MB0539.EURP190.PROD.OUTLOOK.COM ([fe80::e58c:4b87:f666:e53a]) by HE1P190MB0539.EURP190.PROD.OUTLOOK.COM ([fe80::e58c:4b87:f666:e53a%7]) with mapi id 15.20.4242.021; Fri, 18 Jun 2021 09:58:27 +0000 Date: Fri, 18 Jun 2021 12:58:24 +0300 From: Vadym Kochan To: Andrew Lunn Cc: linux-firmware@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Oleksandr Mazur , Serhiy Boiko , Serhiy Pshyk , Volodymyr Mytnyk , Taras Chornyi , Mickey Rachamim Subject: Re: [GIT PULL] linux-firmware: mrvl: prestera: Update Marvell Prestera Switchdev v3.0 with policer support Message-ID: <20210618095824.GA21805@plvision.eu> References: <20210617154206.GA17555@plvision.eu> <20210617165824.GA5220@plvision.eu> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [217.20.186.93] X-ClientProxiedBy: AM6P193CA0053.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::30) To HE1P190MB0539.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:56::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from plvision.eu (217.20.186.93) by AM6P193CA0053.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Fri, 18 Jun 2021 09:58:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c906f6b-0817-4808-5fb5-08d9323f9e6b X-MS-TrafficTypeDiagnostic: HE1P190MB0394: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vi1y3CZTHRNYa3XbUYRe/t30Lz1lchuy6qMjkNLAUn/vhBgqJWjnSS+ZCZuWqGjGN/+pGzzrJsjJ5+EcXlYxQjlz+GKyBT/cipLpIbUsaGRxZFDgsYMY2fen1KK6lSI/1tpj7IrQ6sVdyJKyi40NzS9on/T+vUi3L47/SolLbg1dIGcOYOCfKYb9AiygbgMKLpzGFefN10qv99vaYdJgpP3HpZDx9FiXPTOBqG95L+Nfxt+K6iR5+3QzwG2EeRY2dKM3iG6tesKQdagEIXABeVFari/kRBfidXYc/oGkAOCWgKdpiXFGx3q6CHhyngZ1x67j4BkxMcmWWPIEXb0ewdZ9hukT5MhOyysSBD3m5JzRFpt5hRFRcPT+ZOGbCGozktFle+xoQvLKoMVt4pxZgAq5vz+tLjZrC2SIfrjy1jbvV9z/OmWn6ypzCJSI9V0A5XGnDSKkY+S7UDVgQ2ap4pWRGNAwWHt4qjeKOSdMp/FqKalmzkSEkTHz1ZkfJi3KISr/ivTB1ug08uVz8hblht3n42ngzlvdODM8IH//RCHbcmLOAPhCP8/1dSnxU75HbEv+pC9OggpY29YO6kRjrGPxknUF46cCc10UE/kAR7bH80toWww+FZzlYLnOZvTNVNgTfRKZEiYg8BqO+HDNbl/nAx1Qomc9yaMu0zcu72kFGhhEFYHeAgFt0zoCoPfXR+eQiS8Uj2sKh2//qKfUURD4c0IKxLky4s60cOZqoQSOqI7wdogqceEJzo6HkR7Rnw4c9baBq4s+GtE++3Tzog== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1P190MB0539.EURP190.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(136003)(366004)(376002)(39830400003)(346002)(396003)(8886007)(6916009)(16526019)(36756003)(86362001)(5660300002)(8936002)(15650500001)(956004)(478600001)(316002)(52116002)(7696005)(54906003)(4326008)(66476007)(186003)(66946007)(966005)(8676002)(2616005)(66556008)(44832011)(2906002)(26005)(38100700002)(1076003)(55016002)(83380400001)(33656002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uge0bSKaQfosC1PssUarrCRjEYrw/eASNAU5Ky1UAZPxuQG7lqSZvYwBbYIu?= =?us-ascii?Q?n0Hd0JNylAJ5J3x9C6x2ChUpuShBT8EdQwYagkFuhctAcOEX7C4Roz/JdTYR?= =?us-ascii?Q?DvxqcAs9i+8HjJQcMmjVCXdSbXJYFLt1cKti9JmeXXKAG2x9a6sUpPlTksG8?= =?us-ascii?Q?dVU1p1y7ZnAe70r4aDi975v6f48R6cncJWN3T5/nFX+DQ8d6tXBsFVayNeiU?= =?us-ascii?Q?utVJdfQNtA0COwRLBpdL3XPvzQEeZSmS1dOaCvMxLdTWc7wBcFudG8wX8oeq?= =?us-ascii?Q?M+VYg9NVNf63vHymFxQtYC/itqdRzjXUNBg0MztC9PL7SMPsueouvfGG7QqP?= =?us-ascii?Q?Vu3iNqYTQsGrqcr9GYOMjU5LVKQ3wG4ygWiWYurxFmD2iGf9loZwoFBfvsa8?= =?us-ascii?Q?mSLqYadUfKDp6Kd0S85NyBq+rgVwznMU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ItvMsKzXcxxCwGpOs?= X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 1c906f6b-0817-4808-5fb5-08d9323f9e6b X-MS-Exchange-CrossTenant-AuthSource: HE1P190MB0539.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2021 09:58:27.3420 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Cgb6GVk5W9kn0RSq1RqmFcPI189htFp7YftN67MeKMESzc1UAc02RSsxs7bu1wwkLgM6a23V4LPTELf7fjFISRx7dh+findurRaZvANxedM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1P190MB0394 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Fri, Jun 18, 2021 at 03:18:16AM +0200, Andrew Lunn wrote: > On Thu, Jun 17, 2021 at 07:58:24PM +0300, Vadym Kochan wrote: > > Hi Andrew, > > > > On Thu, Jun 17, 2021 at 06:45:14PM +0200, Andrew Lunn wrote: > > > On Thu, Jun 17, 2021 at 06:42:06PM +0300, Vadym Kochan wrote: > > > > The following changes since commit 0f66b74b6267fce66395316308d88b0535aa3df2: > > > > > > > > cypress: update firmware for cyw54591 pcie (2021-06-09 07:12:02 -0400) > > > > > > > > are available in the Git repository at: > > > > > > > > https://github.com/PLVision/linux-firmware.git mrvl-prestera > > > > > > > > for you to fetch changes up to a43d95a48b8e8167e21fb72429d860c7961c2e32: > > > > > > > > mrvl: prestera: Update Marvell Prestera Switchdev v3.0 with policer support (2021-06-17 18:22:57 +0300) > > > > > > > > ---------------------------------------------------------------- > > > > Vadym Kochan (1): > > > > mrvl: prestera: Update Marvell Prestera Switchdev v3.0 with policer support > > > > > > > > mrvl/prestera/mvsw_prestera_fw-v3.0.img | Bin 13721584 -> 13721676 bytes > > > > 1 file changed, 0 insertions(+), 0 deletions(-) > > > > > > Hi Vadym > > > > > > You keep the version the same, but add new features? So what does the > > > version number actually mean? How does the driver know if should not > > > use the policer if it cannot tell old version 3.0 from new version > > > 3.0? How is a user supposed to know if they have old version 3.0 > > > rather than new 3.0, when policer fails? > > > > > > Andrew > > > > So the last 'sub' x.x.1 version will be showed in dmesg output and via: > > > > $ ethtool -i $PORT > > > > ... > > firmware-version: 3.0.1 > > That is pretty unfriendly, the filename saying one thing, the kernel > another. > > If you look back in the git history, are there other firmware blobs > which get updated while retaining the same version? If this is very > unusual, you probably should not be doing it. If it is common > practice, then i will be surprised, and it is probably acceptable. > > I suppose you could consider another alternative: Make > mrvl/prestera/mvsw_prestera_fw-v3.0.img a symbolic link, and it would > point to mrvl/prestera/mvsw_prestera_fw-v3.0.1.img. > > Andrew I just picked some from the git log: 48237834129d ("QCA: Update Bluetooth firmware for QCA6174") this just updates the binary and description says that it updates to v26. Not sure if it is good example. But anyway, I agree with you that better if new changes also reflects the FW binary name (version) so it will be easy to find out which FW binary have or not particular features. So I think better to add new FW 3.1 binary ? Thank you,