Arnd Bergmann
6bfdc81942
cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
...
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@kernel.org/
Cc: All applicable <stable@vger.kernel.org>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:22 +01:00
..
2022-06-14 16:01:35 +02:00
2022-08-31 20:54:01 +02:00
2020-05-19 12:58:07 +02:00
2022-06-10 14:51:35 +02:00
2020-10-26 10:15:24 +01:00
2019-05-30 11:29:52 -07:00
2019-12-20 10:04:27 +01:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2022-03-09 19:59:45 +01:00
2022-06-10 14:51:35 +02:00
2022-08-31 21:09:54 +02:00
2022-09-28 22:37:55 +02:00
2022-07-05 13:32:59 -07:00
2022-03-10 09:29:44 -08:00
2021-08-04 10:53:38 +10:00
2022-02-03 21:54:48 -06:00
2022-09-23 03:56:00 -07:00
2021-10-05 19:11:40 +02:00
2021-08-16 13:42:34 +01:00
2019-05-30 11:29:52 -07:00
2022-08-08 14:29:00 -07:00
2019-09-11 17:36:30 +02:00
2021-04-07 19:26:44 +02:00
2022-03-10 09:29:44 -08:00
2022-03-10 09:29:44 -08:00
2022-12-31 13:31:55 +01:00
2017-11-02 11:10:55 +01:00
2022-09-03 20:14:51 +02:00
2022-03-10 09:29:51 -08:00
2023-03-10 09:34:22 +01:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2022-03-10 09:29:51 -08:00
2022-03-10 09:29:51 -08:00
2019-11-29 11:48:39 +01:00
2022-01-05 18:31:17 +01:00