Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp212698iol; Thu, 9 Jun 2022 02:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5yAMyyo5wwLmDjseepRN7uPqQrPu5n0yVJ6EnUJiTkXbwbtlc+Q1eHDDppCQ52Snxy25w X-Received: by 2002:aa7:d14c:0:b0:42d:bbab:43d6 with SMTP id r12-20020aa7d14c000000b0042dbbab43d6mr44482265edo.15.1654766158443; Thu, 09 Jun 2022 02:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654766158; cv=none; d=google.com; s=arc-20160816; b=QrXuwah3rrsgXMY9vHrKKd3E38zpLJeVFEyhJY/E2YAyBUE9WILv8uhsrjGRiQ+dVZ cdbeQLnVnqwaqt5oyMIdrMQMZh5ns58fLYduhbAXEYjJgLtjFq78myN3EFJHEejx/zdf d9DE5SXF3kTFz5f6ofbifyz2Jg1lncuueT1mcI3148u9P5dcAk/bZrEsI2PWCcua2679 j7kw8fSjZI+0CWQ8ArDLJ6cUx5wlumXSyCxN+N87lgL7flUt1d0ggPj5rNsZitpSKrkg FWkwO/QvoLbVtz2cCG2O9faNmABw9sbw9CsGteEWWXGY3uLg8+VoDsrU6B8M+nCwhgGT d/+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:feedback-id:references:in-reply-to :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=0fGVsCOsJ783x4T1usRFr8i+QZzgtmK7SsF2ZzEkCqM=; b=AliAhhuvZnJwnztAP9n3HpzpnJGWuXTshsm9xrNrLuyn6iJPyAr3Cm0nC9EDuCpMhz wnyXNWcYUHv8CseeUTwzmBnL+nrcXQ1dCRI83N8ywNPpl0bk66AvUIZDsU740ORJj6cb AdERHmBi2uBUl0f/D9GB2sW5qzqn2iTaS05QQJTp8Z5G4rRKOAHVasUcwiYNIH4pxFMT rYhRfStUgl7Sux9ZTReedoDGaRJiAuEnP8Q60lYDd4c9mXucISahnI0nt4rC2IoCLaGz xWmpturWTwUq2W8sS4KDZst8aYW0oU9JmnZnpcqS+E/E38jut2jF9das8s5SzH7lBz5k 70Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail3 header.b=G46JYp0g; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa9-20020a1709076d0900b0071017c31a82si19928629ejc.567.2022.06.09.02.15.22; Thu, 09 Jun 2022 02:15:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@proton.me header.s=protonmail3 header.b=G46JYp0g; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242879AbiFII5Q (ORCPT + 99 others); Thu, 9 Jun 2022 04:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238556AbiFII4v (ORCPT ); Thu, 9 Jun 2022 04:56:51 -0400 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABA2616A519 for ; Thu, 9 Jun 2022 01:56:19 -0700 (PDT) Date: Thu, 09 Jun 2022 08:56:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail3; t=1654764975; x=1655024175; bh=0fGVsCOsJ783x4T1usRFr8i+QZzgtmK7SsF2ZzEkCqM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=G46JYp0go5QwvIJ0K9+zx1ct3gJsf+sUOOHXsGc6Gz03a1zVTwxHUA8VJ3IPopPqQ DzQxx40+iMLv1EzAI1nsXawAK0oMQN8u+nMMzJccbQDf69zL//Q7+GbzRE4T8w8guz lRVZxYcjR88U/fy3d09mhftdMBz9Oz+r5/3Dy6so28Pgjwc+EMuJt+GbjVtTEPyLSg GSF3gYAA/9IrRTMefyke3veBaX64H75WXG8GiMTf9pDDsB9YeE25ZQuKNvd6Qd/Lbf gxlBm5ON82OTMjwBHvfPjVBmvh9UoIK86XKuwUFvXx7kzP6N3GWZ2RD9nANCX+FM7Z Sp4WS+HHEFhog== To: Marcel Holtmann From: Juerg Haefliger Cc: Juerg Haefliger , Johan Hedberg , Luiz Augusto von Dentz , BlueZ , linux-kernel@vger.kernel.org Reply-To: Juerg Haefliger Subject: Re: [PATCH RESEND] Bluetooth: ath3k: Add MODULE_FIRMWARE for patch and config files Message-ID: <20220609104941.46bda87f@smeagol> In-Reply-To: <20220505080744.0343a857@smeagol> References: <20220504074606.15505-1-juergh@protonmail.com> <6A323366-2AB3-443E-A605-C18EA7A2E161@holtmann.org> <20220505080744.0343a857@smeagol> Feedback-ID: 45149698:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_X5QaQZmVeY2aDI7edktz7aPJvWCC92D1dICoI1MbEM" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-bluetooth@vger.kernel.org This is a multi-part message in MIME format. --b1_X5QaQZmVeY2aDI7edktz7aPJvWCC92D1dICoI1MbEM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 05 May 2022 06:07:52 +0000 "Juerg Haefliger" wrote: > Hi Marcel, > > > > Hi Juerg, > > > > > The ath3k driver loads patch and configuration files so add MODULE_FI= RMWARE > > > macros to povide that information via modinfo. > > > > > > Signed-off-by: Juerg Haefliger > > > --- > > > RESEND: > > > Resend from protonmail email account to please the test bot. > > > --- > > > drivers/bluetooth/ath3k.c | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c > > > index 88262d3a9392..56e9a64177ae 100644 > > > --- a/drivers/bluetooth/ath3k.c > > > +++ b/drivers/bluetooth/ath3k.c > > > @@ -538,3 +538,5 @@ MODULE_DESCRIPTION("Atheros AR30xx firmware drive= r"); > > > MODULE_VERSION(VERSION); > > > MODULE_LICENSE("GPL"); > > > MODULE_FIRMWARE(ATH3K_FIRMWARE); > > > +MODULE_FIRMWARE("ar3k/AthrBT_0x*.dfu"); > > > +MODULE_FIRMWARE("ar3k/ramps_0x*_*.dfu"); > > > > I am still not convinced by the glob file matching. How would that actu= ally work? > > In my case I need to remove firmware blobs that the kernel doesn't need t= o > reduce disk usage. This information helps. While it might retain unneeded > versions it's still better than nothing. Ping. So what do you suggest? Hard-code all filenames based on what's currently in linux-firmware? Given the HW is quite old that might not chang= e very often... ...Juerg > > ...Juerg > > > > Regards > > > > Marcel > > > --b1_X5QaQZmVeY2aDI7edktz7aPJvWCC92D1dICoI1MbEM Content-Type: application/pgp-signature; name=attachment.sig Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=attachment.sig LS0tLS1CRUdJTiBQR1AgU0lHT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