From patchwork Tue Mar 24 14:02:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 46252 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 16D82214B0 for ; Tue, 24 Mar 2015 14:06:24 +0000 (UTC) Received: by wghb13 with SMTP id b13sf23816802wgh.3 for ; Tue, 24 Mar 2015 07:06:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=BtTGq1A+Rkewsv+29fN4vCxzHxUZ3pX2jbCoUjtW5kk=; b=Ut5wJLZ1WZ9+fOEWj7FB5FsvS2M2kOTC/pwVl4imevTECR8/JAZq+Llo8vSJ9yrTfR +W4bCb9EJAyj8EuWDAUXM+QZerBdCaMgNfPkKIWJQ+JkUc+9cprmwVBeLzl8Iyjkhd+V ooqYbRtKQwcsIjiVnYH2lhm+Iej+DYF0A96OpMHTH09FcfUUvBfT7OlyPD9UJyAfwffU fwnUtr1sAFFqHk1PldXtF/of0Yn+MMnCMHwGZCPCd0WbzIHWfNBcZRR+SZe6I4Vz8x6L GX7UESsyMcCpD2Z+we+ps5LYMISaTykianEd10iOr1aBvCdQ3gzqTvcGQl0H8ukUKFcf kT3A== X-Gm-Message-State: ALoCoQn8bI5Tat9roKEtrW/+WmfVYP6WS54YkFlDfFU7xT5qSRd57f4FDbXloOfzAVomSvrA/8Va X-Received: by 10.152.88.33 with SMTP id bd1mr924478lab.2.1427205983365; Tue, 24 Mar 2015 07:06:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.233 with SMTP id y9ls839036lae.9.gmail; Tue, 24 Mar 2015 07:06:23 -0700 (PDT) X-Received: by 10.112.146.129 with SMTP id tc1mr3837228lbb.27.1427205983069; Tue, 24 Mar 2015 07:06:23 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id z2si3112886lae.57.2015.03.24.07.06.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2015 07:06:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lagg8 with SMTP id g8so160363263lag.1 for ; Tue, 24 Mar 2015 07:06:23 -0700 (PDT) X-Received: by 10.112.162.232 with SMTP id yd8mr3830533lbb.41.1427205982953; Tue, 24 Mar 2015 07:06:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1474850lbq; Tue, 24 Mar 2015 07:06:22 -0700 (PDT) X-Received: by 10.68.221.226 with SMTP id qh2mr8018963pbc.1.1427205975271; Tue, 24 Mar 2015 07:06:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yi7si5619237pbc.190.2015.03.24.07.06.14; Tue, 24 Mar 2015 07:06:15 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753324AbbCXOFx (ORCPT + 27 others); Tue, 24 Mar 2015 10:05:53 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35005 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbbCXOFq (ORCPT ); Tue, 24 Mar 2015 10:05:46 -0400 Received: by pagv19 with SMTP id v19so51793202pag.2 for ; Tue, 24 Mar 2015 07:05:46 -0700 (PDT) X-Received: by 10.70.119.37 with SMTP id kr5mr7729010pdb.107.1427205946277; Tue, 24 Mar 2015 07:05:46 -0700 (PDT) Received: from localhost ([180.150.148.224]) by mx.google.com with ESMTPSA id oe5sm4343540pbc.29.2015.03.24.07.05.43 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 24 Mar 2015 07:05:45 -0700 (PDT) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Will Deacon , Olof Johansson , Grant Likely Cc: Lorenzo Pieralisi , Arnd Bergmann , Mark Rutland , Graeme Gregory , Sudeep Holla , Jon Masters , Marc Zyngier , Mark Brown , Robert Richter , Timur Tabi , Ashwin Chaugule , Suravee Suthikulpanit , Mark Salter , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Al Stone , Hanjun Guo Subject: [patch v11 20/23] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Tue, 24 Mar 2015 22:02:53 +0800 Message-Id: <1427205776-5060-21-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427205776-5060-1-git-send-email-hanjun.guo@linaro.org> References: <1427205776-5060-1-git-send-email-hanjun.guo@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Graeme Gregory Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. CC: Rafael J. Wysocki CC: Catalin Marinas CC: Will Deacon Reviewed-by: Grant Likely Tested-by: Suravee Suthikulpanit Tested-by: Yijing Wang Tested-by: Mark Langsdorf Tested-by: Jon Masters Tested-by: Timur Tabi Tested-by: Robert Richter Acked-by: Robert Richter Acked-by: Rafael J. Wysocki Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index d00ab9a..e5aa081 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -713,6 +713,8 @@ source "drivers/Kconfig" source "drivers/firmware/Kconfig" +source "drivers/acpi/Kconfig" + source "fs/Kconfig" source "arch/arm64/kvm/Kconfig" diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index a726381..a8f531e2 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,7 +5,7 @@ menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 + depends on IA64 || X86 || (ARM64 && EXPERT) depends on PCI select PNP default y @@ -167,6 +167,7 @@ config ACPI_PROCESSOR tristate "Processor" select THERMAL select CPU_IDLE + depends on X86 || IA64 default y help This driver installs ACPI as the idle handler for Linux and uses