From patchwork Mon Jul 23 01:57:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 142527 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5522532ljj; Sun, 22 Jul 2018 18:59:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdVjpUUDfG4NWKK+z52rYJWdlv8VIA39Rx133GLNVeOyAYboPHFVsPjFCPzqkNR47yiE7R2 X-Received: by 2002:a17:902:18a:: with SMTP id b10-v6mr11197225plb.62.1532311165531; Sun, 22 Jul 2018 18:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532311165; cv=none; d=google.com; s=arc-20160816; b=HUBUMGTHNf6vyMxMj3Tufyly+xsJ5yrEk0K8iLEFUGxMz51j1J93iSjpNun/3LPvn1 XAm5ftdi5E/BhAQzxFKMxGlfn8pnLSiUMpJJvrgS1nU/IfzpGLWuHiXyrxf7Hz5L0fBL 77wSV+VMLDhDYCw7RNgwjT/B25H7t6jBm4h4d9shWlLoxUsGjOsjb3byooJsGy7UhxU7 lL4Xo7E1/FZIFd0iqlHvKhcTP4krMRqUudRqw6/mlth4NO+IlLsQX1IdCMEeXn9dR6VX lRLE7BAfp7c0i2HGp5CAN22r9wAIqJH2bP7x5javIV1ATQYQL56bx/B2Ux3LxxxH2133 Bdzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=A1OqVoZAh5Xl0rWEI6oRjLgOW69kgPoUkzG/O/9JyGg=; b=1Ga9WE2M2OZYZ2inSY92AqFKb55SJJ8HpNVZL1+hloDv4YXcfl0ZZ1aDVsg7cgIp4m dLnkd5WyWgHmFYdP32GGVWgBnYC+gLXniUWGCHbJfx0I2jnwMlEYSOn0EtbHt9RbMHPT Ny9b5sS4GAPKG/TT6AN5H5f+eeYOTkWED/P1bj96uXt5+7hxdd+eQ122r1v3yISQ1RNW 0IkI5SoBzSDTcced7HxG9K9SM03xmJoojZe3k1cf4Y6YvHrQqZjYjkJxUO5f83s1BOeF OyaiwiOrYhGPL1A4y40tywCr6cH+TJAi0bjO4n/jxQ/Be7cfGwccFq+D0kIaoD5B8uqU oCsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NGMho5oN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si7385170pfh.346.2018.07.22.18.59.25; Sun, 22 Jul 2018 18:59:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NGMho5oN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731318AbeGWC6J (ORCPT + 31 others); Sun, 22 Jul 2018 22:58:09 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37042 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731059AbeGWC6I (ORCPT ); Sun, 22 Jul 2018 22:58:08 -0400 Received: by mail-pg1-f193.google.com with SMTP id n7-v6so11051378pgq.4 for ; 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=F/tCSSp/MkySBXBT6yv2bIWLJx6odj/KwVzZQiRKol++afk89H9B8ijxbLaVGqiQ7w lLsKE01qm5dy43JheGUxh2coGjydinqZgamYMZol24uncpmSv56gzbJnFQJ4S/yXXjzA Ujb6VtohsFzkm5Ex/ARW2Kh7Arm9hMAe4//LVLFIMwMZfIzOoKBN6nOoOCWUGbA5SgVr D/qsfO8Qgx4SbIoJvBawa5HUL9M3DNLytJA6oslRHYiqf2vSD0/SywtdX4nu/GzyBMex DxrTijj6XyViM1wfl586+gSorCgiT1fdPBmt0AGxSuyRpshyXafDlVRz1m3P/ywtyy+N 28cw== X-Gm-Message-State: AOUpUlErftJV8XBXGjeThI9ytp50lqhsChV5mLNsBJd7b1XhFZLoCE01 Wqnsx9O2yvrh1p0C1X5is98+dA== 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 To: catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, lenb@kernel.org, ard.biesheuvel@linaro.org Cc: tbaicar@codeaurora.org, bhsharma@redhat.com, dyoung@redhat.com, james.morse@arm.com, mark.rutland@arm.com, al.stone@linaro.org, graeme.gregory@linaro.org, hanjun.guo@linaro.org, lorenzo.pieralisi@arm.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, AKASHI Takahiro 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Suggested-by: Ard Biesheuvel --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 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)