Message ID | 20230418131030.330178-1-festevam@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=P0VHNPcQ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=oMnBv/oK; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q146t1vffz23tD for <incoming-imx@patchwork.ozlabs.org>; Tue, 18 Apr 2023 23:11:02 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JmxbBcKuIZLdIiF6QPSPQ6We4iSHcWQ41eBZvEus0EQ=; b=P0VHNPcQowUqUG ckq71qdi3Yov5ERV3QwJs5y/WlQm/86Pxmtbhuvd89F5XOjF1TJwCpRrHwJOi0e8ycsj6oEcoa0bF xqVYdXFF79MMJUXYqAPXVVXdTFdbJL84RU4AiXRdRn/fL2w5iKANKnkLAw9h/SOqPL/MrtfSlAyKS Uor7Zwv9kh3liWo/m9egAiX8JU98m59UGVeKaTyIWHHw9PLmpq7Hqlfca2iKOjolkBnVVUthbHczh tSjRviRtjlyY58FjOSixcV9xufDxV/2A+YMQKcItY9NLIrzqetMyY+XNrRXEl4oAl4eGkb7i/g8AZ XagrowfTkbrGiHEJpwiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pol6Z-002Eva-0o; Tue, 18 Apr 2023 13:10:43 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pol6W-002Ev9-0N for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2023 13:10:41 +0000 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6a603577a89so29799a34.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 18 Apr 2023 06:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681823436; x=1684415436; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WHYJ/ZYAcRte4rpb3O8gsELJa6lNLpwBjWkx7ZQx3qI=; b=oMnBv/oKm5qAPD5jf+3aiHBzgk8gL7p4FeGxZmG5AQtZMyoLff6x3Zp8higoQXKijh XzrIw7XYlG08hnlficxZ4ormrXxQHrV71h270U4jLvT3+iLntrbpm5Z5Ek6HF1PpIGWC GAqAZCBxUWzMI7TBv0yynKtd+clTsqPnzOQLFlfm69UrZr5LLw19lk1SIuKXBzb9Rzv7 hPPynkl/tAbsGXq4yrhm5Q1josAXSt0GxfNQc6BH6gex+qEV5B37hwr9sOp1DJGo1HcM y2VgCLuaK1LuiqcdN5H2ahpvRTzJkGynsqS3th/H1d0YerJKPSWkWn1I6bqQF+lX8M6J URKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681823436; x=1684415436; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WHYJ/ZYAcRte4rpb3O8gsELJa6lNLpwBjWkx7ZQx3qI=; b=imsZv3NKSjDpHPIWH9PO9xP4j5u9Atq3HlDpK68uFAEN+6yKJaft8vAl4jIqexN8Et NUMQISvvSp1cwSbaPJFi9wQHDo8Wh6AsnMvL+TYJM4jOtgTWPJG+zbD1a9IzGjMhy5aq dR+bO7gMooNTtj+q38kYFmS3sMo2kzQCIlDZFKysao7SO/J/B6Qq2WWO2E3dbc2WMVxz N3BPeqNbbYW8v7+cI90vWV4VFfuBPzZtgEonMjl6Sy9sFDM7eFZCvtdONdvhPtxNxCPm bKfcIlXm0CbneVynn1f8RGM2bFvnAMrl8w2sMO5VFmEhW4UQhWM7xmpyOE7LO6uJGHTt 2Uxw== X-Gm-Message-State: AAQBX9cANK0oxp5t55tyIIrxTynWO4HWYI/06qzZ+mwyBZwuqreyHTl+ iqx/iKJ6IZcBz66qvvrcHcc= X-Google-Smtp-Source: AKy350Zu7vOBWhnsmjhvsdFt5FulncE7KDvXFnXQzv+D/kv+4HR1YDVon8O2osYRPzWA7wN0p+PIJw== X-Received: by 2002:aca:f10a:0:b0:38b:f367:ceb9 with SMTP id p10-20020acaf10a000000b0038bf367ceb9mr7056308oih.2.1681823436286; Tue, 18 Apr 2023 06:10:36 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:df3a:5c40:f24a:e8cc]) by smtp.gmail.com with ESMTPSA id s188-20020acac2c5000000b00383eaea5e88sm5732235oif.38.2023.04.18.06.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 06:10:35 -0700 (PDT) From: Fabio Estevam <festevam@gmail.com> To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, otavio@ossystems.com.br, yibin.gong@nxp.com, Fabio Estevam <festevam@gmail.com> Subject: [PATCH] ARM: imx_v6_v7_defconfig: Remove firmware loader helper Date: Tue, 18 Apr 2023 10:10:30 -0300 Message-Id: <20230418131030.330178-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_061040_171142_BF7ACAC7 X-CRM114-Status: GOOD ( 12.13 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Testing on a imx6dl board with a QCA9377 SDIO Wifi chip shows that the QCA9377 firmware takes more than three minutes to start getting loaded, which is a very inconvenient behavior. CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK were selected by commit 30fdd51be161 ("ARM: imx_v6_v7_defconfig: add CONFIG_FW_LOADER_USER_HELPER") Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:333 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [festevam[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org |
Series |
ARM: imx_v6_v7_defconfig: Remove firmware loader helper
|
expand
|
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 4de293da4789..63042f8f1e17 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -80,8 +80,6 @@ CONFIG_PCI_IMX6_HOST=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set -CONFIG_FW_LOADER_USER_HELPER=y -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y CONFIG_IMX_WEIM=y CONFIG_CONNECTOR=y CONFIG_MTD=y
Testing on a imx6dl board with a QCA9377 SDIO Wifi chip shows that the QCA9377 firmware takes more than three minutes to start getting loaded, which is a very inconvenient behavior. CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK were selected by commit 30fdd51be161 ("ARM: imx_v6_v7_defconfig: add CONFIG_FW_LOADER_USER_HELPER") By removing the CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK options the QCA9377 firmware is loaded around 10 seconds after boot, which is the expected behavior. The motivation for commit 30fdd51be161 ("ARM: imx_v6_v7_defconfig: add CONFIG_FW_LOADER_USER_HELPER") was related to loading the SDMA firmware,and at the time of that commit, the SDMA driver was loaded as built-in. Now that the SDMA driver is selected as a kernel module, its firmware can be successfully loaded as well without the need of CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK. Remove the selection of these two options. Also, successfully tested the loading of the VPU firmware without these options. Signed-off-by: Fabio Estevam <festevam@gmail.com> --- arch/arm/configs/imx_v6_v7_defconfig | 2 -- 1 file changed, 2 deletions(-)