Message ID | 20180723015732.24252-3-takahiro.akashi@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABDE717FD for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Jul 2018 02:11:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C3A9285F0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Jul 2018 02:11:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80A74285B5; Mon, 23 Jul 2018 02:11:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D5B6285EC for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Jul 2018 02:11:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=DvPQbA87EBakvPk3e8c9LZbLQDVPJF18lccK/yVW00I=; b=GZFlWp+5Tns+hIJIubAxBTz3+b WXnm1j1+j/8La+/ZtAUEM89q23a4Slf7a/h1EVGjXL10UVCQKzdomnJajftikxgqOOQbM2jDszk6S nykIxSXAmT79yCyT8ErfquioxAUsxQmGljxdaNt3Cv/qIiRxqmwcsftT1V/7VvaMI6uUhRAGFrAiM TFDJQh7tNqNxo4D+YZeLh68sB7xkiqVhEVuBtdY9Wt+PW9z8fmC3tnHkLQV3dSYYNI0SWrBTbXj7n jsmF5+gVfx791EZs3WhWLvBXMCdBJ92P8y9i7B6wpUDhOnTpSQqnhT6dHeYTZ0IyhpKfX2AKv9Hiy gq+9GEAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhQJj-0007h5-LL; Mon, 23 Jul 2018 02:11:19 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhQ8K-0001Jh-IR for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 01:59:39 +0000 Received: by mail-pg1-x542.google.com with SMTP id p23-v6so11054405pgv.13 for <linux-arm-kernel@lists.infradead.org>; Sun, 22 Jul 2018 18:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=A1OqVoZAh5Xl0rWEI6oRjLgOW69kgPoUkzG/O/9JyGg=; b=NGMho5oNU0sE4qV10nbpz5y3r5YofIIe50EThWfDdQjHJMZlrMEFY90K7dYQWqHXxV Qh0nh3+tX2xghAHqx/FB44jlwZT5daZ96QijBVA5BP8D4aeAnGZ8H2IoXtwqMxzxxU8J 9XAeiQwgbJd3sGg5UKoYvGUKRUyuc6QE5BVKk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=A1OqVoZAh5Xl0rWEI6oRjLgOW69kgPoUkzG/O/9JyGg=; b=Nt8TGfINnHEbo4c5QK4+mLJ2ec8gGl2Bu3FUqhAythRVhae1JQC6VB4GKYdODhFEiY +gFej2TT9EJQaiskUrB9/Qp8KrhsIwhMILhPYt/KmpUTpOfpwhLG2xqyqBlUrtJiPaPa P3NmylBY4/9py0RnfRM766WKxKZG+l84/0OuyowD5DhcvzdhCNeUUUnOs118Cd+UkCGb 9YLvn7ieWhNrwbbVyy+Ek89+vmr5TZ/nteaF5TyaW3Y53bnDYN26eeITtBz/4kcaMtHJ TdHX7MANBfK0JQjWnEt7wnJOOKmnnVw2ojaHw57/Kmz86SD5+Pi5Ps+9otdpLF2Rooal ILrw== X-Gm-Message-State: AOUpUlEvzjNw4/utYzdhpkq7LaDR2E+mqZo/TEg1p/OCWnoxHYfspBgM Lnu2qBhs65XTqR0CRMjcDxahPQ== X-Google-Smtp-Source: AAOMgpevYWf5hsR2/cmWNRtclg9mDSVcbsTeXgzYkZzdnaXpWdaF5cCy0S8ephRxEz93H+eK6jbbuQ== X-Received: by 2002:a63:af14:: with SMTP id w20-v6mr10746599pge.47.1532311162129; Sun, 22 Jul 2018 18:59:22 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id m26-v6sm10000028pfi.102.2018.07.22.18.59.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jul 2018 18:59:21 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, lenb@kernel.org, ard.biesheuvel@linaro.org Subject: [PATCH v4 2/5] drivers: acpi: add dependency of EFI for arm64 Date: Mon, 23 Jul 2018 10:57:29 +0900 Message-Id: <20180723015732.24252-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180723015732.24252-1-takahiro.akashi@linaro.org> References: <20180723015732.24252-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180722_185933_171034_87B9735F X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, lorenzo.pieralisi@arm.com, graeme.gregory@linaro.org, al.stone@linaro.org, bhsharma@redhat.com, tbaicar@codeaurora.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro <takahiro.akashi@linaro.org>, james.morse@arm.com, hanjun.guo@linaro.org, sudeep.holla@arm.com, dyoung@redhat.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
arm64: kexec, kdump: fix boot failures on acpi-only system
|
expand
|
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b533eeb6139d..15ab1daaa808 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -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)
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> --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)