]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: select APPLE_PMGR_PWRSTATE for ARCH_APPLE
authorJanne Grunau <j@jannau.net>
Wed, 31 Dec 2025 15:42:38 +0000 (16:42 +0100)
committerSven Peter <sven@kernel.org>
Thu, 8 Jan 2026 20:19:14 +0000 (21:19 +0100)
Critical devices like the NVMe on Apple silicon systems depend on
APPLE_PMGR_PWRSTATE and others are powered down coming out of reset so
select APPLE_PMGR_PWRSTATE to ensure these devices work. Since the
systems are not totally unsusable (boot to initramfs is expected to
work) allow !PM builds without APPLE_PMGR_PWRSTATE.

Link: https://lore.kernel.org/asahi/2e022f4e-4c87-4da1-9d02-f7a3ae7c5798@arm.com/
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Janne Grunau <j@jannau.net>
Link: https://patch.msgid.link/20251231-arch-arm64-apple-defconfig-v1-1-4ff19805ba39@jannau.net
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/Kconfig.platforms

index fff14807c965a19cd5ba7a2445be5fd77d94e7a8..200e5067560e4ac2cfeda01c97cfae112954a0fc 100644 (file)
@@ -36,6 +36,7 @@ config ARCH_ALPINE
 config ARCH_APPLE
        bool "Apple Silicon SoC family"
        select APPLE_AIC
+       select APPLE_PMGR_PWRSTATE if PM
        help
          This enables support for Apple's in-house ARM SoC family, such
          as the Apple M1.