Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4422388ioa; Wed, 27 Apr 2022 03:37:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJrkr9umNUabk8mQMFMozB8Dip6M7WMO0mGQAeuWTvIiRnFTM0KPbgF4vW1Eg/50H2Y33a X-Received: by 2002:a17:90b:1c07:b0:1d9:6360:307 with SMTP id oc7-20020a17090b1c0700b001d963600307mr18477369pjb.182.1651055836952; Wed, 27 Apr 2022 03:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651055836; cv=none; d=google.com; s=arc-20160816; b=rncxuc7zOE5jMeCvBmLRr1xouklPNG7X0vfL24i/9AEj0TscmcLC0zWSP/To2FQn+e un2Z6gHv5l6FoAoJPW/TIhmC0L3YP2zru/mL8wcDovn7WPRA1C4ZLKWRrwBwAO4Uw/+4 ADU0xlKdzxJubabyrH9he5yyFyPNYkRF2PwTSsxooJWyBZQv2bRm/0eKSsGV5kQP9wnf qOuRXm+a+lObHoqEdRwfQFaSLjms/i4RKxnF9drKTCk1xLNyXtrWV7VIzOVzGXEasnmG freHUulvkgn10wku8iVFFBWz87purRYE++2+Z6MKmNfq9RYwRy8Ol5l+Cq26z+2s4qPT ufrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:from:to:cc:references :in-reply-to:content-transfer-encoding:mime-version:dkim-signature; bh=iwKJrHphWZY0+QvN3xBMeC5YxQG46jS97VSA70W8/bo=; b=o5i07Zqy7XIIxOrGXKCUBee5T8u1YE4N9OecbRUP/GOeXJ4yo/3RXMee5EbXymEoDU f9S7vQe6DUf9HVov38sYrb1HbBgN7iOt3HKrAtPHVwSvZ+GuvX8ESaYF4OawIatpLnJ0 89k0JvfWnKuSS6eyJ3bqPY5u8mAdrldaokXHgMsyFw6hXhO2o85DhFyWMAwDA0Q79VWi RpmoQrWwITtTSzqTWNrWaRSkOdFaPffQ4r22gOU5JRciDtBVJmcd1NedQy2/XUEngD8h xv6KE/C5lnEVZniMmupwMUqVzLY1BngN+C6FQPf8frvrMZ5rAXDvKqIArLXoCkFTuaPj WYaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bljyRFBS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g193-20020a636bca000000b003aadad65e11si1065510pgc.563.2022.04.27.03.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:37:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bljyRFBS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8B7FB3C87B9; Wed, 27 Apr 2022 02:48:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359109AbiD0HyZ (ORCPT + 99 others); Wed, 27 Apr 2022 03:54:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359086AbiD0HyU (ORCPT ); Wed, 27 Apr 2022 03:54:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90387BC18; Wed, 27 Apr 2022 00:51:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 91D0B61B4E; Wed, 27 Apr 2022 07:51:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB278C385A7; Wed, 27 Apr 2022 07:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651045869; bh=HRMVX/cZSeuQ1en3SRuormLVu+hlRpib0vf7W7Xrhmg=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=bljyRFBS7KrEI9o5IIH49DPpLQGySAW40Tw0U//0MMq1FD/UKz/Phfrknmr97pATk lVeyhoWpE8Mja4PThgMf+ASobPAC9HoasIVNV6lNLOkvxfjFx5ikbaB5B4SXs1FXA1 vefJTVw+b5wXLjnbkft+WXiW3bhKekK4XbM1jM7LxAV72kK0ZTa01/3I1xEWj2Cv1N lRQpr1JIFkTRjy5BHNlV9NzRqi1nY0SR65nCxFtCWksjyiLsT8pUfprdCARYDzS5cf XxSeDRcpCrEFa55HW4KeoLQ/sP6LHsI9xD9YfA7DPpoAkQrIge1s4sylNlcv374BuD WWRKZFe4YT66A== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220427074351.391580-1-juergh@protonmail.com> References: <20220427074351.391580-1-juergh@protonmail.com> Cc: linux-kernel@vger.kernel.org, Juerg Haefliger To: Juerg Haefliger , davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org From: Antoine Tenart Subject: Re: [PATCH v2] crypto: inside-secure - Add MODULE_FIRMWARE macros Message-ID: <165104586605.3327.5179101284332639573@kwain> Date: Wed, 27 Apr 2022 09:51:06 +0200 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE 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 Quoting Juerg Haefliger (2022-04-27 09:43:51) > The safexcel module loads firmware so add MODULE_FIRMWARE macros to > provide that information via modinfo. >=20 > Signed-off-by: Juerg Haefliger LGTM, thanks! Acked-by: Antoine Tenart > --- > v2: > Add legacy fallback firmware locations. > --- > drivers/crypto/inside-secure/safexcel.c | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/ins= ide-secure/safexcel.c > index 9ff885d50edf..9b1a158aec29 100644 > --- a/drivers/crypto/inside-secure/safexcel.c > +++ b/drivers/crypto/inside-secure/safexcel.c > @@ -1997,3 +1997,12 @@ MODULE_AUTHOR("Igal Liberman "); > MODULE_DESCRIPTION("Support for SafeXcel cryptographic engines: EIP97 & = EIP197"); > MODULE_LICENSE("GPL v2"); > MODULE_IMPORT_NS(CRYPTO_INTERNAL); > + > +MODULE_FIRMWARE("ifpp.bin"); > +MODULE_FIRMWARE("ipue.bin"); > +MODULE_FIRMWARE("inside-secure/eip197b/ifpp.bin"); > +MODULE_FIRMWARE("inside-secure/eip197b/ipue.bin"); > +MODULE_FIRMWARE("inside-secure/eip197d/ifpp.bin"); > +MODULE_FIRMWARE("inside-secure/eip197d/ipue.bin"); > +MODULE_FIRMWARE("inside-secure/eip197_minifw/ifpp.bin"); > +MODULE_FIRMWARE("inside-secure/eip197_minifw/ipue.bin"); > --=20 > 2.32.0 >=20