This is a note to let you know that I've just added the patch titled cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies to the 6.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: cpuidle-add-arch_suspend_possible-dependencies.patch and it can be found in the queue-6.2 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 7787943a3a8ade6594a68db28c166adbb1d3708c Mon Sep 17 00:00:00 2001 From: Arnd Bergmann <arnd@xxxxxxxx> Date: Mon, 6 Feb 2023 20:33:06 +0100 Subject: cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies From: Arnd Bergmann <arnd@xxxxxxxx> commit 7787943a3a8ade6594a68db28c166adbb1d3708c upstream. Some ARMv4 processors don't support suspend, which leads to a build failure with the tegra and qualcomm cpuidle driver: WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND Depends on [n]: ARCH_SUSPEND_POSSIBLE [=n] Selected by [y]: - ARM_TEGRA_CPUIDLE [=y] && CPU_IDLE [=y] && (ARM [=y] || ARM64) && (ARCH_TEGRA [=n] || COMPILE_TEST [=y]) && !ARM64 && MMU [=y] arch/arm/kernel/sleep.o: in function `__cpu_suspend': (.text+0x68): undefined reference to `cpu_sa110_suspend_size' (.text+0x68): undefined reference to `cpu_fa526_suspend_size' Add an explicit dependency to make randconfig builds avoid this combination. Fixes: faae6c9f2e68 ("cpuidle: tegra: Enable compile testing") Fixes: a871be6b8eee ("cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver") Link: https://lore.kernel.org/all/20211013160125.772873-1-arnd@xxxxxxxxxx/ Cc: All applicable <stable@xxxxxxxxxxxxxxx> Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Acked-by: Thierry Reding <treding@xxxxxxxxxx> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/cpuidle/Kconfig.arm | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -102,6 +102,7 @@ config ARM_MVEBU_V7_CPUIDLE config ARM_TEGRA_CPUIDLE bool "CPU Idle Driver for NVIDIA Tegra SoCs" depends on (ARCH_TEGRA || COMPILE_TEST) && !ARM64 && MMU + depends on ARCH_SUSPEND_POSSIBLE select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP select ARM_CPU_SUSPEND help @@ -110,6 +111,7 @@ config ARM_TEGRA_CPUIDLE config ARM_QCOM_SPM_CPUIDLE bool "CPU Idle Driver for Qualcomm Subsystem Power Manager (SPM)" depends on (ARCH_QCOM || COMPILE_TEST) && !ARM64 && MMU + depends on ARCH_SUSPEND_POSSIBLE select ARM_CPU_SUSPEND select CPU_IDLE_MULTIPLE_DRIVERS select DT_IDLE_STATES Patches currently in stable-queue which might be from arnd@xxxxxxxx are queue-6.2/cpuidle-add-arch_suspend_possible-dependencies.patch queue-6.2/media-camss-csiphy-3ph-avoid-undefined-behavior.patch queue-6.2/drm-omap-dsi-fix-excessive-stack-usage.patch queue-6.2/media-atomisp-fix-videobuf2-kconfig-depenendency.patch queue-6.2/wifi-mac80211-avoid-u32_encode_bits-warning.patch queue-6.2/drm-amdgpu-fix-enum-odm_combine_mode-mismatch.patch queue-6.2/powerpc-mm-rearrange-if-else-block-to-avoid-clang-warning.patch queue-6.2/arm-s3c-fix-s3c64xx_set_timer_source-prototype.patch queue-6.2/printf-fix-errname.c-list.patch queue-6.2/objtool-add-uaccess-exceptions-for-__tsan_volatile_r.patch queue-6.2/uaccess-add-minimum-bounds-check-on-kernel-buffer-si.patch queue-6.2/sparc-allow-pm-configs-for-sparc32-compile_test.patch queue-6.2/spi-dw_bt1-fix-mux_mmio-dependencies.patch queue-6.2/media-platform-mtk-mdp3-fix-kconfig-dependencies.patch queue-6.2/accel-fix-config_drm-dependencies.patch