Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4293928pxb; Mon, 4 Oct 2021 23:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHTTkVF+oizC6ZpsNnODqaqkS9LgeV/nloZYi48kboDQPdQ87pz2sHp92DcidWvv2Xcnqf X-Received: by 2002:a17:906:1184:: with SMTP id n4mr14278939eja.87.1633414185611; Mon, 04 Oct 2021 23:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633414185; cv=none; d=google.com; s=arc-20160816; b=HGOepWdzhq/5S0DJVEnF1GgUWEhT0le+Dt7NXQshX/i6npw1QRTJ3PO81sLN9XfXPO TCZ235+qQoAGD7S918ZCGIroYKjWh3G3pqxuWGCdHvpZfuC8RqLXxzCM7+bYLvHjgTiT 9UQOJZnR4526Bq3XXZ27MHkBmLCEMh8rvgnNbCYaPJ8sgl9/OPu84L4kH11+sN6N6IZH ktNBfJutRLkIFpN95U/E27nRyLECDa4hsI8fHm63kwbN39FU5haWJ91fKUq+y3Qjyt7U 3YLAsgDnuqI06KbT7lm5YMDtG24fYNmbkQwzlwGAzfyK8oVbAlInH+ySNv4JX7DQ2O7W LbCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fPzCHLtEm1duwBw2uz22IhtBb8l0LZsa7bzqb74OJqo=; b=VVbJG5kzvBxoDGvusVJDKgFWFif5po78tUmb5dip7MS4TKP1jFUqgUtEpynYspEdm0 jNC/7QBRT1yVgRYJaY/5Ssp82F35vDCLr4v26zmo6VOETJrSTpUFLJM81ZS0K9mUtAv0 VHvC+5Sepp2AKpcu8efuKWePxYtoea/qAo4HvYLvET7HeFyGBkJhdheXjCHReZYEgDeb X2UUW9X0nZylLAcnSaNpzKFDPrrsp2EUxPoMIRR/dUtZRC0K48bZCyrZf2++mP8ZzZD6 uI+vunmDGuR0QpyIKJToQwist5fvlOCHYpWpylx9N/u5N3JyF7Hg5IthXb8xforJ4MV+ wDcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I8WYPcop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga41si26017942ejc.469.2021.10.04.23.09.22; Mon, 04 Oct 2021 23:09:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I8WYPcop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbhJEGHp (ORCPT + 99 others); Tue, 5 Oct 2021 02:07:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:44456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbhJEGHn (ORCPT ); Tue, 5 Oct 2021 02:07:43 -0400 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210930215300.60290-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >