From patchwork Wed Apr 27 07:03:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 566835 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4584DC433F5 for ; Wed, 27 Apr 2022 07:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358512AbiD0HHF (ORCPT ); Wed, 27 Apr 2022 03:07:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237214AbiD0HHE (ORCPT ); Wed, 27 Apr 2022 03:07:04 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4956025E81 for ; Wed, 27 Apr 2022 00:03:54 -0700 (PDT) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 0F3093F1A1 for ; Wed, 27 Apr 2022 07:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1651043033; bh=9VqNpTprZO6r11osQd2lD5E9Y+5zRg3ZFWFU2usUlQo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=suZR2OSfPgi4ZMMkjUG0zv3oDo6wxNzvJycS/N6GHgC/qWSWaWkTXXieEGmHtPHSs mxnLOH85z6ChfHNfBBJAb1ImxGDC27qYSntigBKfBOHegu3P6hCl1UPUaGoEAjmYvE RYVPAePo6TReW1/XIUeQQS4rYXPVm8lkOTEqDbip6DOh7Hp09LefYBpmIqnw7kg1f1 e1uH+AmSvUdwE1/D5u7x0qPfEwnu5ApOSgG1H8qJWcPZDcE+Amq6xHUR03i/5qx+gY FchMHgzoL47RYYrRF/2akCZ9zjcPtkRftJGW+5sn0arWWBcMTSr5LB1uhLmy1tJsLv arniFRW+AyN2Q== Received: by mail-ej1-f70.google.com with SMTP id dp12-20020a170906c14c00b006e7e8234ae2so608021ejc.2 for ; Wed, 27 Apr 2022 00:03:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9VqNpTprZO6r11osQd2lD5E9Y+5zRg3ZFWFU2usUlQo=; b=lSy5epScMWeLysf2BazRJ7cYxZJMJGEOEDSJb15WTFivJKp0AWuzWpkA36VDVs70E1 weBfPq4wVD9lFtOAbdfIkCxAXYsailTbU+u+jA0h5bOtFBypuFNo0OWT3s6UZiBdOI6L MeE++feH/ECWAhvnpxDZnetH1reIlRDo0Kfpz3EiaAlwYR+U7abPJWAsgHA8XhR+8HLE DLkcx2d2iRDPqzJu/DmO162ADsDyPAvBu0aMDEM2kfUFmyxSOxhdy77ZhcliTKnVcgJR 8kUucieMgRKIpDT84zZndxjeaDxa1EkAtOQXZBn4kfqY7O0m52pBHOP7EOVcyFreJSGy ZpwA== X-Gm-Message-State: AOAM531fVuQ5I6EmmwH4JMfzI8g1glnPqp5lM2/kBsndEsV6qr2I7psd mZyjAqLwZnxVJTLFGA0DqdOuittaD0COS5CPQFQFZHdRWTXlCNzm8Pp5g7Rc/ekKTG62FzhHQii lHCQxpahXD2LOG7RkGIj+H1tczqRtJ+ZE3KMB908rkQ== X-Received: by 2002:a17:906:7304:b0:6e0:6918:ef6f with SMTP id di4-20020a170906730400b006e06918ef6fmr24783976ejc.370.1651043032731; Wed, 27 Apr 2022 00:03:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrFUk8EGUe3fb3AcpBFIswj7AowMOHWjWHIYrcKjkN8ERPHWirhsR2qIYx9ugl53V2o0kbHA== X-Received: by 2002:a17:906:7304:b0:6e0:6918:ef6f with SMTP id di4-20020a170906730400b006e06918ef6fmr24783962ejc.370.1651043032579; Wed, 27 Apr 2022 00:03:52 -0700 (PDT) Received: from gollum.fritz.box ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id h25-20020a50cdd9000000b00425e4075fb0sm4897408edj.33.2022.04.27.00.03.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 00:03:52 -0700 (PDT) From: Juerg Haefliger X-Google-Original-From: Juerg Haefliger To: atenart@kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Juerg Haefliger Subject: [PATCH] crypto: inside-secure - Add MODULE_FIRMWARE macros Date: Wed, 27 Apr 2022 09:03:49 +0200 Message-Id: <20220427070349.388246-1-juergh@protonmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The safexcel module loads firmware so add MODULE_FIRMWARE macros to provide that information via modinfo. Signed-off-by: Juerg Haefliger --- drivers/crypto/inside-secure/safexcel.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c index 9ff885d50edf..8198e70169b8 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -1997,3 +1997,10 @@ MODULE_AUTHOR("Igal Liberman "); MODULE_DESCRIPTION("Support for SafeXcel cryptographic engines: EIP97 & EIP197"); MODULE_LICENSE("GPL v2"); MODULE_IMPORT_NS(CRYPTO_INTERNAL); + +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");