From patchwork Wed Mar 11 12:39:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 45643 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6ED82214C6 for ; Wed, 11 Mar 2015 12:43:01 +0000 (UTC) Received: by wesp10 with SMTP id p10sf6422074wes.3 for ; Wed, 11 Mar 2015 05:43:00 -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=aHJ6XW2LqsNuAJ9Va1YDThcRzbSRuBi6ONEKg/lzB/Q=; b=VC+laskuaIgP3k2xBcN2GWnd3+QeSoyX9LG81tHTG9HqsBDrhByKdm38RcPrWkPcqa KB4aDDKNm4IAPxicLHoxMuvBqUBs6rhvBkQ7wVwj6VjWEWr8++qh7N/zKbzuO12jNG16 bB7zWcb5pscpilsGiDI9QGVEhBebP222Fm40BYyDHXhfYAlh3YJF5ZGO+kcjoyVdS08n M33dhC1IpzCkm1mOPtH1Vj7vbbniNLaD/HwJX/jYXnupW8EMI6XIFcUgUNEfZvq9LC++ X99YFiGQXynLnMaoMZ/HCiBSu5GdU4Sl8oADz/7/OqwPxex8Zc3QZ4npjmt9x16EPwHE 5G0w== X-Gm-Message-State: ALoCoQkNc2axCax98MM/+ddh4/nRyeu7E+aLH2Wh2hlHG3FcA6BEv7BALZtEln/jK42XRBUvFqhE X-Received: by 10.112.219.102 with SMTP id pn6mr5347877lbc.12.1426077780701; Wed, 11 Mar 2015 05:43:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.104 with SMTP id r8ls141658lar.48.gmail; Wed, 11 Mar 2015 05:43:00 -0700 (PDT) X-Received: by 10.152.27.232 with SMTP id w8mr29912796lag.51.1426077780527; Wed, 11 Mar 2015 05:43:00 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id wx4si2263766lbb.107.2015.03.11.05.42.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2015 05:42:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labge10 with SMTP id ge10so8006289lab.10 for ; Wed, 11 Mar 2015 05:42:59 -0700 (PDT) X-Received: by 10.112.185.66 with SMTP id fa2mr33821626lbc.117.1426077779551; Wed, 11 Mar 2015 05:42:59 -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.35.133 with SMTP id h5csp2752506lbj; Wed, 11 Mar 2015 05:42:58 -0700 (PDT) X-Received: by 10.66.118.129 with SMTP id km1mr77909084pab.112.1426077777301; Wed, 11 Mar 2015 05:42:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lp6si7055736pab.69.2015.03.11.05.42.56; Wed, 11 Mar 2015 05:42:57 -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 S1753371AbbCKMme (ORCPT + 28 others); Wed, 11 Mar 2015 08:42:34 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:35237 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753321AbbCKMm3 (ORCPT ); Wed, 11 Mar 2015 08:42:29 -0400 Received: by pdbfp1 with SMTP id fp1so11025338pdb.2 for ; Wed, 11 Mar 2015 05:42:28 -0700 (PDT) X-Received: by 10.70.127.140 with SMTP id ng12mr52884523pdb.24.1426077748268; Wed, 11 Mar 2015 05:42:28 -0700 (PDT) Received: from localhost ([180.150.153.56]) by mx.google.com with ESMTPSA id nm14sm5920016pdb.63.2015.03.11.05.42.26 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 11 Mar 2015 05:42:27 -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@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 v10 19/21] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Wed, 11 Mar 2015 20:39:45 +0800 Message-Id: <1426077587-1561-20-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426077587-1561-1-git-send-email-hanjun.guo@linaro.org> References: <1426077587-1561-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.41 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 a7b9120..a716965 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