Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3110075pxm; Mon, 28 Feb 2022 12:12:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJw96mcI8fNA3La5xn/HDMZg+sCpN3iHRShwtNPjV0/rXJ8ONKouwwT3XKvDrlfLgULMrj9o X-Received: by 2002:a17:903:192:b0:14f:ff7c:33db with SMTP id z18-20020a170903019200b0014fff7c33dbmr22263422plg.75.1646079167263; Mon, 28 Feb 2022 12:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646079167; cv=none; d=google.com; s=arc-20160816; b=zO917TVPnljiZXzKM1faIE0ZRPLNejZgDX4am2Ow33zmHPFFGHVwJ6XYCr97HpbSZg IQPUh9pOG/VhEcIIA4xNUXIbNZmbrQaN3Uls/uSC1rUSAE3/qYoDRdwedb/6gD3S3/9F 2zu58n7mSB2ZrGXzEHRgAVqLZxJ4Y7qdIRXoqHw+OZsQasQsTJEhzuMJJ31dsucyEA2g fK44e+FZjFme7bXcRakyghKFESvnRro1DMDYw+/IE0fsPJxGghH36wVvTB9o4ZD0atID y3bYxhLj+MhBMA9MunwcAC948ZUjWM3ZDsj3qnXLbhQKwi4xCELtdp0PYDK7pXxXzFHt rOEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ihIFna+BPm+e8MqpRlr4yGJWxNVzqIqzxq8/nXObjmE=; b=RMWGJthIRcYrBYm0a64A9NieFarw0pOBGKEu3J3rbRG4OBjfuxFijErP5UqVHZDnr9 1TPL9kPxg4Rkc9XdYQnYR8P7K21Znmi/8eZvheCmXthhsUbrl1Sil4tN9WUIBt1vZGH1 0KNbH9L1BRSX+zIojlDpE6rkefLesug5jwMKOjIe90M53Iqu/SETn0UIwvguGPk2Sd22 Tcz65T3ln9qvutYa/Vy4LaJ9HVpF03vsVX89OsRQlts7Ll+/3cbwKk4mz7/J84nV7+Wc LAroXyTi7qx6lMrKEHKzh4KD1OA/4fxtA2vbeBIwPEt3aqTtLdz1ikZhUmd/GKa9NGd4 Oepg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bwj+ObP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bj17-20020a056a02019100b00378936599adsi4423612pgb.518.2022.02.28.12.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 12:12:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bwj+ObP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38A6C15AF0B; Mon, 28 Feb 2022 11:35:47 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239180AbiB1RwS (ORCPT + 99 others); Mon, 28 Feb 2022 12:52:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238502AbiB1Rpd (ORCPT ); Mon, 28 Feb 2022 12:45:33 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A68A4BBAE; Mon, 28 Feb 2022 09:37:53 -0800 (PST) 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 0A11A61542; Mon, 28 Feb 2022 17:37:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2431FC36AF5; Mon, 28 Feb 2022 17:37:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646069872; bh=Lx0IS8Gmlt0ON9JS9/mUQFsYYSB2G4HV4Wd3sTPvW9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bwj+ObP4BaX4+eUeFeUw7cxdk9Uf+vKENq4elmQ8lq8bNE0J4rd32mS4AUHNf9qkI 6GALJNDNEZWg4ByAqiUGstlGFHsotudPK0zeKDouIZdzjAAr53JeYdSbysuryaAG9v m6avz5HnstP1pSqdkBCj8jo+qha/qvF1TFf1fbis= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Manish Chopra , Alok Prasad , Ariel Elior , Jakub Kicinski Subject: [PATCH 5.15 041/139] bnx2x: fix driver load from initrd Date: Mon, 28 Feb 2022 18:23:35 +0100 Message-Id: <20220228172352.042622104@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220228172347.614588246@linuxfoundation.org> References: <20220228172347.614588246@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 From: Manish Chopra commit e13ad1443684f7afaff24cf207e85e97885256bd upstream. Commit b7a49f73059f ("bnx2x: Utilize firmware 7.13.21.0") added new firmware support in the driver with maintaining older firmware compatibility. However, older firmware was not added in MODULE_FIRMWARE() which caused missing firmware files in initrd image leading to driver load failure from initrd. This patch adds MODULE_FIRMWARE() for older firmware version to have firmware files included in initrd. Fixes: b7a49f73059f ("bnx2x: Utilize firmware 7.13.21.0") Link: https://bugzilla.kernel.org/show_bug.cgi?id=215627 Signed-off-by: Manish Chopra Signed-off-by: Alok Prasad Signed-off-by: Ariel Elior Link: https://lore.kernel.org/r/20220223085720.12021-1-manishc@marvell.com Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c @@ -100,6 +100,9 @@ MODULE_LICENSE("GPL"); MODULE_FIRMWARE(FW_FILE_NAME_E1); MODULE_FIRMWARE(FW_FILE_NAME_E1H); MODULE_FIRMWARE(FW_FILE_NAME_E2); +MODULE_FIRMWARE(FW_FILE_NAME_E1_V15); +MODULE_FIRMWARE(FW_FILE_NAME_E1H_V15); +MODULE_FIRMWARE(FW_FILE_NAME_E2_V15); int bnx2x_num_queues; module_param_named(num_queues, bnx2x_num_queues, int, 0444);