From patchwork Wed Feb 25 08:39:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 45026 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5EEA420502 for ; Wed, 25 Feb 2015 08:44:32 +0000 (UTC) Received: by lamq1 with SMTP id q1sf1709249lam.0 for ; Wed, 25 Feb 2015 00:44:31 -0800 (PST) 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=s4CT2DPVkCr/W4kqiUltamDqtWPF3ws58MYfOE6GK2k=; b=mocZ9BJMayY4EhhXTGv0J7VodRBCpZ3aloKkR+Kp5hpjEKCjTEBOD9YJKekU8QIOtD sdCSGcOjjEA+Y8Y9s8BtkwHSY92CGixA3wJEM3nX64/EwVNrkhIbc+/CL6YgVCBE3OFl Fdh4G5yeiQeicSqMjGVBbFBKLk9wlx6UKaJvXF1SA3qrhEuW9q3WPMtjmThcMmOdokV3 mfXXr44euF5N5X5+JvcM5hvV0RBkWhQsggrpliqVV6DO6FqQPwwZ+r8PlWcgiPz6in8R fnABQAiv+JEm3QXwbEdex7aXnAA4rWMHU6XWLK0UWytXQP8aNCPKw8ykPheArrV6/b7W 23aQ== X-Gm-Message-State: ALoCoQkkpl57mo8Ld2EqqkzLgfSWC1F5xjKczsQrSI+wydht+tlWSzmUMU4YnvhcWijpjCAxKGn+ X-Received: by 10.194.142.174 with SMTP id rx14mr284825wjb.4.1424853871345; Wed, 25 Feb 2015 00:44:31 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.33 with SMTP id cj1ls854612lad.53.gmail; Wed, 25 Feb 2015 00:44:31 -0800 (PST) X-Received: by 10.152.26.136 with SMTP id l8mr1704137lag.109.1424853871029; Wed, 25 Feb 2015 00:44:31 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id qx4si8414209lbb.107.2015.02.25.00.44.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 00:44:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by labhs14 with SMTP id hs14so2359140lab.4 for ; Wed, 25 Feb 2015 00:44:30 -0800 (PST) X-Received: by 10.152.21.201 with SMTP id x9mr1784679lae.72.1424853870943; Wed, 25 Feb 2015 00:44:30 -0800 (PST) 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.35.133 with SMTP id h5csp2476644lbj; Wed, 25 Feb 2015 00:44:30 -0800 (PST) X-Received: by 10.67.7.102 with SMTP id db6mr3815443pad.14.1424853869207; Wed, 25 Feb 2015 00:44:29 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si34139076pds.200.2015.02.25.00.44.28; Wed, 25 Feb 2015 00:44:29 -0800 (PST) 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 S1753572AbbBYIoQ (ORCPT + 28 others); Wed, 25 Feb 2015 03:44:16 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:40642 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753545AbbBYIoM (ORCPT ); Wed, 25 Feb 2015 03:44:12 -0500 Received: by pdev10 with SMTP id v10so3391332pde.7 for ; Wed, 25 Feb 2015 00:44:12 -0800 (PST) X-Received: by 10.68.177.229 with SMTP id ct5mr3442032pbc.83.1424853852424; Wed, 25 Feb 2015 00:44:12 -0800 (PST) Received: from localhost ([167.160.116.82]) by mx.google.com with ESMTPSA id oe5sm40509167pbc.33.2015.02.25.00.44.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 00:44:11 -0800 (PST) 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@amd.com, 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 v9 19/21] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Wed, 25 Feb 2015 16:39:59 +0800 Message-Id: <1424853601-6675-20-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424853601-6675-1-git-send-email-hanjun.guo@linaro.org> References: <1424853601-6675-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.50 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 Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo Acked-by: Grant Likely --- 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 e6c3ddd..7aa3288 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 @@ -163,6 +163,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