Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3411791rwa; Tue, 23 Aug 2022 04:27:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR44oG4PHinp1iOyGDFmuWhKNHzIqjWq9vITrwcdoTfm9qi2Izbx9tuFsqEEH8SygMSreY5O X-Received: by 2002:a17:90b:1b11:b0:1fb:65ea:59a2 with SMTP id nu17-20020a17090b1b1100b001fb65ea59a2mr2111812pjb.79.1661254075265; Tue, 23 Aug 2022 04:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254075; cv=none; d=google.com; s=arc-20160816; b=R9ipdJ+YMTcfkI5QnQPkO6bSo0X3jIuz/NSGiOOgaTvRwhES0NI2o3caD+TBOk1z83 pA5pGlRv8my9scbyR4Aw5mF7GjPfO9S+V3TNmAh80Nm7mYxqwFBDEpooaU1AwVCKe6pb dD2weiLIMIHQI5EoDuRkGhVRfWbtfz16fd6NrmlnlImGKAdPeEC3iqfWUrWZNlqDTsAd J778tSrCI3WWLGaLjgQWTOS9Gi7zRTnpajGFpzqXxNu5UZ26d2DWpkE4mnUV3qAtMgnq 9dJZKj/y7t2F4pvMguvzn4dMoMblPw7N9ks9N5Ec7Ll5ARx9QEpQfIWlXglkqOh4ceVA WI6g== 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=eqjGr2Sn1miiq/Zp94T1U6UpwzgIEJ5100Glz5113C8=; b=xk/y6lcf9yY1dKCXBJUXkmuxB4orFNnRSv96hn+xukXMTIerGP+48EALgewzVEZiPz n+fMGgRapOPQiFJSlE3U8x6WL7nHs6pXILoJZgAhxA6T+z0ihLUHRJudSAOEynITGIou zl1+kSOaOmeUpt2Ytz/EHsnhpHBZDJwCtzC4bqzxPY4apIwcdE7o7XszW1CPBdIBJdb2 w8UT4yz9da9rgVjkWqx2blZMsJNZFNUUKjSWmMCCwnpuKIjfirHuB0KVUkBQeCZPljn4 JkrFMqmDBzCl2HOehLLv9+YV3SZTTWmKIrbW7aWcrQ4O7krOKkeeT/gAsLSLizDW/os+ SL5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UbH0oSPT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my4-20020a17090b4c8400b001fb1c8591f1si7522962pjb.135.2022.08.23.04.27.44; Tue, 23 Aug 2022 04:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=UbH0oSPT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243151AbiHWJw0 (ORCPT + 99 others); Tue, 23 Aug 2022 05:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351651AbiHWJut (ORCPT ); Tue, 23 Aug 2022 05:50:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E10C9DFBC; Tue, 23 Aug 2022 01:45:19 -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 ams.source.kernel.org (Postfix) with ESMTPS id 9C6D1B81C6A; Tue, 23 Aug 2022 08:45:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E08B2C433C1; Tue, 23 Aug 2022 08:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244317; bh=v72sCb1UKg/hUfqN4kpl6JgOnAKHwuo/rcMINgfYefU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UbH0oSPTbP7YkJUzn7jxkl/BhgJ8jyGGiyQXctU3OpnKtw+tGuupc07aT7OqYcCtq 1xYQd/gk3u+y7pwuXB82lmyeHLoXGd1qZ05qBdFlOGNz5MV7A5m9wt34hRAHVj+ZWT fMlZ2qe8wYcKLqGjnVF3YnCvAt/q7Gj1RgBaSNsE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Harman Kalra , Subbaraya Sundeep , Sunil Goutham , Jakub Kicinski Subject: [PATCH 5.15 072/244] octeontx2-af: suppress external profile loading warning Date: Tue, 23 Aug 2022 10:23:51 +0200 Message-Id: <20220823080101.466987922@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080059.091088642@linuxfoundation.org> References: <20220823080059.091088642@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Harman Kalra commit cf2437626502b5271d19686b03dea306efe17ea0 upstream. The packet parser profile supplied as firmware may not be present all the time and default profile is used mostly. Hence suppress firmware loading warning from kernel due to absence of firmware in kernel image. Fixes: 3a7244152f9c ("octeontx2-af: add support for custom KPU entries") Signed-off-by: Harman Kalra Signed-off-by: Subbaraya Sundeep Signed-off-by: Sunil Goutham Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c @@ -1650,7 +1650,7 @@ static void npc_load_kpu_profile(struct * Firmware database method. * Default KPU profile. */ - if (!request_firmware(&fw, kpu_profile, rvu->dev)) { + if (!request_firmware_direct(&fw, kpu_profile, rvu->dev)) { dev_info(rvu->dev, "Loading KPU profile from firmware: %s\n", kpu_profile); rvu->kpu_fwdata = kzalloc(fw->size, GFP_KERNEL);