arm64: defconfig: Disable firmware sysfs fallback
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Sep 2021 21:53:00 +0000 (14:53 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Oct 2021 00:49:09 +0000 (19:49 -0500)
commit5c1c3e2a7693c5e47a7d93898ade1acaac2afb38
treecda4cc55804d23bb493dc6234205f20f7dacdd73
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
arm64: defconfig: Disable firmware sysfs fallback

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 <yibin.gong@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210930215300.60290-1-bjorn.andersson@linaro.org
arch/arm64/configs/defconfig