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: 514976 Delivered-To: patch@linaro.org Received: by 2002:a02:606e:0:0:0:0:0 with SMTP id d46csp193421jaf; Thu, 30 Sep 2021 14:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb4c5l3bx3jTyMV13v1joHcUqdf3pa0eWKkzFqcbpSlGVKy0QDo186n6/7Ul1Sa8SAQzA8 X-Received: by 2002:a17:906:288f:: with SMTP id o15mr1890972ejd.436.1633038676371; Thu, 30 Sep 2021 14:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633038676; cv=none; d=google.com; s=arc-20160816; b=KSICbQSF9C7pYhp8632DsSqqZjqXODXQJV7T3pwdMyfL5eKrRp2ZlnBYcV+a0pJ6pf SK0DrPLe6Mzv/TXE52t7Rx0taItjWQHUxEtVsKEO7wriJv7a+kWxJJD9KIk13AT26B4D pSVF+cn4oZxQ44TNhBb1XsnIoyk6rV2uTvlPT7FHuufZSX/qKznnhycPDcrACTcBuQ0y DaE7miDZj5YZIW3SfouXLnbSUf5FHrTp374qFeUC6LglYURElimQf7FZgfGGcNPpgUZX 9+w5Ds2H8FazadbfztLtlvh4NiTNDYKrQyBeOj//l3zgyhvKpoNvGr8kOESkO8lB2nWs NiMg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=FYmJqhBP9Gy5I1JVDj0HW7OppwoO5pAX8Rg1hw6n6CA=; b=SUF46bM51IC1B3S/EgemiNStTvd9rqiuWh50rYjw6HD0jO1V3FihEP37Fv4pe8Nv8y Q1cJpLHSiVLa7mE/fjWYpJTtImr61Ng1Ihui54Ks/0yLcnOTx/ew8O+qe2PhucRs7006 MnpN/RnhwRSTK+XxFb11KWkiugTJ3LOOhSHoeHhfdqAWQVjQ0pMpnZYyDveADnrI2svk eDe+7WMmvZtm5DHvo0aLQiJ3zJ5WDZKxbv7unSADShnUM6sfXubCVTxEtb4wVvnUaV/X u1AWh/Cq7PLZaUpu3MLo9Nbb/A1v2+flzKSHe72/bo5ksQsXAY4ge3Qqeco6kOKQSXRM o9tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YeNEvEBk; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qf35si6372720ejc.660.2021.09.30.14.51.15; Thu, 30 Sep 2021 14:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b=YeNEvEBk; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbhI3Vw5 (ORCPT + 17 others); Thu, 30 Sep 2021 17:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230051AbhI3Vw5 (ORCPT ); Thu, 30 Sep 2021 17:52:57 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCBEEC06176A for ; Thu, 30 Sep 2021 14:51:13 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id c26-20020a056830349a00b0054d96d25c1eso9116111otu.9 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=1BHsd/ocFLaHPtlls3Cw82iupFqN7R3gJir4LU1iYnuOcD0OS2bXhpc3MIuOLtXHWF 4dM8ze7Ma0Sx53IJiVUn9Q8vEhD+HeA3PSzkUSOlH8xz/4GMeHCHVoFKg1J2AW/KDgtX RybG35PxZqt8KtNt8lmtlKwlh00JdkYoi7tYvOpD2Q8KL92ConqK8OJP8v9fPScS0D/+ c0cn8T0D4lNjD9H0JhDob0FntG4sXpu40MfI24yuEyVaDvmZiwTVwWY3h+j1FC9gYLXl C8DRKoi+ulPvDrVJlcUUuAZfnRilyCOku+by066a13If1hVhXNfREPxwbMRE3sGgdRgM 4FQQ== X-Gm-Message-State: AOAM530aXTZEmcvdnUWYwnN9hKvaGUSo+RLPTh6CumVkFVAH81cduQfA I8Z1KK3lwzM0xbPM0EwN3aIWlw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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 --- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-) -- 2.29.2 Reviewed-by: Dmitry Baryshkov Acked-by: Shawn Guo 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