From patchwork Thu Sep 30 21:53:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12529353 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4A4EC4332F for ; Thu, 30 Sep 2021 21:53:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E1B761A0B for ; Thu, 30 Sep 2021 21:53:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9E1B761A0B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=l6PYDBeFgxAIngk0lRtWogSCxtThIPiq44x3clqXdRE=; b=GdQZavqYkOnnK/ nCeX9sDU+gYc+VEnYcbzKQv7R0UpogIzka12XZK5PXU1FW7QKDt76M5WF072QAnKmGLqzayCIAdrS XG5LoZcWQJZinVlFFwUOfJ/a4aG7M3mGteLaPDI11/xz5egVFswPPlj1IkTPKwMFZwys5Kip6ybDz J+w00fCkjp0NoftNX4Klj4Q9WhAlqnNka1BPbKReu7KLCSwR+LlEjULq/J7/kv6fCxD6jf57GPlJs Bv8Es2Cb/4hSieCizUbH+r7II2axX1GWEbSBTHo4QBWJ51utGLhOOLn+3+8W5oJfhTMHLdU8AtGM5 NF/uoGLmtx4M4152BPGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mW3xX-00G3x2-5n; Thu, 30 Sep 2021 21:51:19 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mW3xT-00G3wb-4O for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 21:51:17 +0000 Received: by mail-ot1-x335.google.com with SMTP id x33-20020a9d37a4000000b0054733a85462so9111447otb.10 for ; Thu, 30 Sep 2021 14:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FYmJqhBP9Gy5I1JVDj0HW7OppwoO5pAX8Rg1hw6n6CA=; b=YeNEvEBk8SLRom8LultWOuQewDBu1X4/91nIAKjtOyEauCf/W3CvI0biMBm3yZ27iw ySMu43hW+BXzYnWZ5aSE7qE5Qd+SIVPqsmhDER1eBFE0yULqvsoEWJ6vOEbbfuSUV+ZY VMAiymy275ZtEGn9hUErbiuHm4ePNE2F+NeCfBMsKfeIt+Fx0ojXMnqXp8d6eC7Eoou9 JVvZ15i8ZvFEHl9v5pPZv2GF6tOahSLL/Vo1A87pCTUvjzvDiBSXduZHYl9ARaCDpBm0 XkiIE60aSDDz/U9FX+W6Fvwww79dreIf6hjA281+T1sBKeN2au95I1U8m0IFiIvMbBbe 9cTw== 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=FYmJqhBP9Gy5I1JVDj0HW7OppwoO5pAX8Rg1hw6n6CA=; b=RG2npHeFf3AevUAxPe5yWbUNMJXqbgnR5mvKEcVFHez6zt3YA0R8rs0bUEtq2pc84o CBGHzSCMgNKnFk+QPc09nbzfyY1xqAxhiUKc5WMrKwzh3aBULBg5IjjOA0Cl1LuypJ/3 R5Vlnicl/vXbRevhr6WYF27u4tqwq40OalhNIbJ84idX+hjml16nBiK3c5GPs2dVZxhv wSSVAaBRsk9sHyjdHs4SJqXv1VPMTBkUdn4KxEZPlMk5mQplRE5kodTDgFnKBw1xvoeF 0ESEEWRmONcb+K9k9f747xZmVFK316WCaNJ1vW1XOnC20ecFFHnTWVvYe2iORMyTGMDS S67w== X-Gm-Message-State: AOAM531Fgd8zx+nc2fwyeglAgIZ3elC8T2uCIZFOGOyBpxJP2IhxEY78 G+iJhJFxhaYJ8R5Ww/F8HeHCUYFcPhFeOA== X-Google-Smtp-Source: ABdhPJwNJ5kqZrlgIyGNRUEqn1VIxbpJK1XB/LsvhT2fRtitc9fd94G6D8uZQPNl3VcNYORLiYbsjw== X-Received: by 2002:a05:6830:2706:: with SMTP id j6mr7359200otu.380.1633038673122; Thu, 30 Sep 2021 14:51:13 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id h1sm846908otm.45.2021.09.30.14.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 14:51:12 -0700 (PDT) From: Bjorn Andersson To: Catalin Marinas , Will Deacon , Shawn Guo , Geert Uytterhoeven , Vinod Koul , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Robin Gong Subject: [PATCH] arm64: defconfig: Disable firmware sysfs fallback Date: Thu, 30 Sep 2021 14:53:00 -0700 Message-Id: <20210930215300.60290-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_145115_650198_02F5A439 X-CRM114-Status: GOOD ( 13.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Part of the enablement of SDMA on the IMX platforms, '7f4e4afa140c ("arm64: defconfig: Enable SDMA on i.mx8mq/8mm")' also enabled CONFIG_FW_LOADER_USER_HELPER_FALLBACK, to allow "firmware loaded by udev". Unfortunately having the fallback enabled does, due to the 60 second timeout, essentially requiring userspace to provide a firmware loader. But systemd dropped the support for this interface back in 2014 and because arm64 is the only architecture that has this enabled, there doesn't seem to be any standard solution available. Examples of this problem can be found in e.g. the ath10k driver, which with a standard distro can take about 10 minutes before wlan0 appears. The alternative to this patch would be to change these drivers to use firmware_request_direct(), to avoid the sysfs fallback. But that would prevent other systems, such as Android, to rely on a userspace firmware loader to pick the firmware from a non-standard place, with just a custom defconfig. This patch therefor attempts to align the arm64 defconfig will all other architectures in the upstream kernel. Cc: Robin Gong Cc: Shawn Guo Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov Acked-by: Shawn Guo --- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index da988a54bfb9..f9e0b3fdaf0b 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -243,7 +243,6 @@ CONFIG_PCI_EPF_TEST=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_FW_LOADER_USER_HELPER=y -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y CONFIG_HISILICON_LPC=y CONFIG_SIMPLE_PM_BUS=y CONFIG_FSL_MC_BUS=y