]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drivers: acpi: add dependency of EFI for arm64
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 28 Aug 2018 20:47:00 +0000 (22:47 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 08:30:45 +0000 (10:30 +0200)
BugLink: https://bugs.launchpad.net/bugs/1786878
As Ard suggested, CONFIG_ACPI && !CONFIG_EFI doesn't make sense on arm64,
while CONFIG_ACPI and CONFIG_CPU_BIG_ENDIAN doesn't make sense either.

As CONFIG_EFI already has a dependency of !CONFIG_CPU_BIG_ENDIAN, it is
good enough to add a dependency of CONFIG_EFI to avoid any useless
combination of configuration.

This bug, reported by Will, will be revealed when my patch series,
"arm64: kexec,kdump: fix boot failures on acpi-only system," is applied
and the kernel is built under allmodconfig.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 5bcd44083a082f314032969cd6db1eb8275ac77a)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/acpi/Kconfig

index df7aebf0af0e59f04c27c3f7163c212165dddd53..6c2463260c412a5c84929065d0e55c2c0d649b60 100644 (file)
@@ -6,7 +6,7 @@
 menuconfig ACPI
        bool "ACPI (Advanced Configuration and Power Interface) Support"
        depends on !IA64_HP_SIM
-       depends on IA64 || X86 || ARM64
+       depends on IA64 || X86 || (ARM64 && EFI)
        depends on PCI
        select PNP
        default y if (IA64 || X86)