From mboxrd@z Thu Jan 1 00:00:00 1970 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 2D7D6C433EF for ; Tue, 5 Oct 2021 06:08:01 +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 EC9AF61139 for ; Tue, 5 Oct 2021 06:08:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EC9AF61139 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Df0b4FvzEguum7cqaiO+AlBn3SHkQK9M3pcXEAqU4Ng=; b=fvemkp4c3P2aHN +93+vDF+UPrk4YbyeZXAl05KR9ohoJUAeFSDL7FSayd/owAplbhsfV7lLQo9iIryYLYzeu8aW1tVA 450GtTow/bEBgKoDW6AJFiKB4djybprFcLImQRhR++lg5raLnDTmUUzxONC45rxRu5hCA7dAMm58d kozG5e8+qrx0qdrzezmX8qVVbyvjV5GiFGViB7h7heiRaqLBKZnFJYcwfTwunL5h76TQPJ/gxFFAa xa4k2ny37LpAhK+EU1jcfynipzsfVs1liZhH00PTqipUyRgJz9CGQvaFsm5nwQu4dsMp8SNWzyZ7L /4EpCZGJWC3JOwwdqdJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXdaR-0095AF-TT; Tue, 05 Oct 2021 06:06:00 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXdaM-009582-A2 for linux-arm-kernel@lists.infradead.org; Tue, 05 Oct 2021 06:05:55 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2378060E98; Tue, 5 Oct 2021 06:05:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633413953; bh=e8eV9pNPPAaLpz96uGNTENTl1XTJ2OyWWLwbVcRoRmk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I8WYPcop+GTSBWUEqhERB9KufHhshqgiL2a1z2cxcNrLyOliPv1A5EW4DAeOTs7YO JzRBejvKwRW/Edk9xCOjIRTw6oXULMraxKSLerA5E88ByVK9XksOB67VobuhM1/Ysj le0PTNTLqhIG0JgXCEGugyBexQtspVLcMsJz5nrH1N/N8G38U2ejAfwRcjiop4wQj/ TjfAPO5JD3himtLSiP5NePtl3oIubRK9D2CV2uwf5r9gkDcVEcc0YRY+1YhqLZacwe Bu2Ecfc5HD8gr+x4NWhH7ORyycPrJgSfHXs8cBoUoLhNFOG9c4VAjRIBILQd5q//NA +7mj1aVffcy1A== Date: Tue, 5 Oct 2021 14:05:48 +0800 From: Shawn Guo To: Bjorn Andersson Cc: Catalin Marinas , Will Deacon , Geert Uytterhoeven , Vinod Koul , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Robin Gong Subject: Re: [PATCH] arm64: defconfig: Disable firmware sysfs fallback Message-ID: <20211005060547.GS20743@dragon> References: <20210930215300.60290-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210930215300.60290-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211004_230554_408183_D3E3E800 X-CRM114-Status: GOOD ( 22.48 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 30, 2021 at 02:53:00PM -0700, Bjorn Andersson wrote: > 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 Acked-by: Shawn Guo > Signed-off-by: Bjorn Andersson > --- > 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 > -- > 2.29.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel