Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3936836imw; Mon, 18 Jul 2022 17:53:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vO26/TKijZ7E1JMXNRpYaDhBkjRyvHEVf12FKKHwn6FyUC4/KH0P2JJkTvxmX1cA3a38ry X-Received: by 2002:a05:6808:11c4:b0:2d9:c395:f15e with SMTP id p4-20020a05680811c400b002d9c395f15emr18202885oiv.47.1658192023921; Mon, 18 Jul 2022 17:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658192023; cv=none; d=google.com; s=arc-20160816; b=n/LTDcvjqkyzcxOHOP742O3l5czz0u5gLs7/G2qQ2MefT4dFlFJUmo4i9GvNiyPGct j7dHQxnciHH/tRnbAHZAzu7gWcWChcIAaHp3eeX6LMDoV9LG9t81HwVsYxJ9ig7yuKnI jytIcbnAAyuTwD6xbqt9Iw3p48L2Kh89hN/8hxNRVk988rcj2xa8y8k6kMtxmsBXXKAD 1ddqzH5AUZGyeKZU9MFgFUBigmj3quVVkM25MIc1rsDh08EcxLLjlGloOPxDeF+B5xXA fVs2pTL87sR8a25I1Km39V89Th1vk9NUDq5VIy3OcZUQFOkXoz9qkQ4hUSYQ0kM+EiYf Al/g== 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:dkim-signature; bh=tHECUp5Nu2/GZmp47KHS0DA3aZn/HqPLp4AXTv+D1so=; b=OClKcRWRRPIhgQUIzcUuE1pJG6/5vEigsGSVV8n3gDcmkGn+r6HsI1MpCJFtzXY7p5 YpR77kgvQivMrWXkkXfrVjMSOcjt5AuvEbsw9abrfGAPBMxbFE1RjebL9rySVdFJi98+ FYOh9apIfMHGfu2h/ILtrVp7FnUwtlpc4tGH62eTvKoeWvAB1CURdDpOFyeE2psCxDq1 i75yu8q77ocj8upvoav8eN8x0sqWHjKmH+zOm29OndQ6Oa1qjt7NSdbEG/QburdY1f2m 81Yw4B+SkeHODPUREd8O2nnBFog64/5fPlHWaCea/SjWwnECAGgBva8p1JhzlOAJ0i/Q MG6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cmjJp4Wc; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch4-20020a0568081c0400b0033553be2385si14541190oib.185.2022.07.18.17.53.28; Mon, 18 Jul 2022 17:53:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cmjJp4Wc; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235000AbiGSAaO (ORCPT + 65 others); Mon, 18 Jul 2022 20:30:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbiGSAaM (ORCPT ); Mon, 18 Jul 2022 20:30:12 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8759B6551; Mon, 18 Jul 2022 17:30:09 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id l23so24326303ejr.5; Mon, 18 Jul 2022 17:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tHECUp5Nu2/GZmp47KHS0DA3aZn/HqPLp4AXTv+D1so=; b=cmjJp4Wc70UFyJOU6m9PHDv6cgBcSxACjV8XCYXocWtr/FcDcZs/QFmdPSXbhLyk3R FCPJlVcDF3a/bfbY1OWEBMjl7TtYtUqMl4/A/cUcxiW5hsr+PAuT1lF+4Ixp22UZhHaL sJIUDawrTaLiqBcojVG2hn0PPXAFrYn7zche+uxAV4J2eoaR53m7JLz9lb0PPCkXovqr TCkGxZqKxLlK4CUnskdjqrd6D8nX5LutfIhmOojrYGQhrbAL0nFeOJB3HSXXDc75ja4Q Ur9wiz3Bf1hLJs4caVo1AfyVNX5xpE4+6LBYPFFX8y4zfXhOa+ndM9cAVlVQj/YWQdYx EP1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tHECUp5Nu2/GZmp47KHS0DA3aZn/HqPLp4AXTv+D1so=; b=dBZzEOhtjIyFkgbp1UeKf8XczD+xW+qQXcBLUyb0RhTbkjpWyIwJwqxSn0Apaw1oLs aDrSqvrJFUf1nzQoApe8exwuu7WnWDXzjAuE6kHon1F/9LqsULM9SHbct09WHVkZNw1s S4CI6nvqadzFDsQy75jZw63W/oSP3zx6yeZ4o8Osjtr6Qyaj1m7S3Y45MpqZU6g/KbrY +yh00FxpVoCey9AitLjsxvlfJfpk1Z4GR0zFhwpqBMmTbXm6oZR9Ut6MCABvp5gaFxbs gKyCaJ99aA79gieEJAZfX+JXjRqArymTr72AAOaPUXIKymwVqAjZFwOtszY1UdQ8aNwz QGjA== X-Gm-Message-State: AJIora9oQiiTjoCW//GkIDfsWmzq3SL8KZFkXJ85WUdCHbMiOhJIDdij Z0jHvWViDmS2fW/C3L4vHYbDWIIezGeNSt88+Ek= X-Received: by 2002:a17:907:96ac:b0:72f:1dea:5b66 with SMTP id hd44-20020a17090796ac00b0072f1dea5b66mr10887738ejc.266.1658190608048; Mon, 18 Jul 2022 17:30:08 -0700 (PDT) MIME-Version: 1.0 References: <20220718072144.2699487-1-airlied@gmail.com> In-Reply-To: From: Dave Airlie Date: Tue, 19 Jul 2022 10:29:56 +1000 Message-ID: Subject: Re: [PATCH] docs: driver-api: firmware: add driver firmware guidelines. To: Rodrigo Vivi Cc: Linus Torvalds , Jonathan Corbet , "open list:DOCUMENTATION" , Greg Kroah-Hartman , Daniel Vetter , "Luis R. Rodriguez" , alsa-devel@alsa-project.org, Network Development , Linux Wireless List , LKML , linux-block@vger.kernel.org, "dri-devel@lists.sf.net" , Dave Airlie , Linux Media Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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-wireless@vger.kernel.org > > +* Firmware should be versioned with at least a major/minor version. It > > + is suggested that the firmware files in linux-firmware be named with > > + some device specific name, and just the major version. The > > + major/minor/patch versions should be stored in a header in the > > + firmware file for the driver to detect any non-ABI fixes/issues. The > > + firmware files in linux-firmware should be overwritten with the newest > > + compatible major version. Newer major version firmware should remain > > + compatible with all kernels that load that major number. > > would symbolic links be acceptable in the linux-firmware.git where > the _.bin is a sym link to _..bin > > or having the _.bin really to be the overwritten every minor > update? I don't think providing multiple minor versions of fw in linux-firmware is that interesting. Like if the major is the same, surely you always want the newer ones. As long as the ABI doesn't break. Otherwise we are just wasting disk space with fws nobody will be using. Dave.