From patchwork Mon Sep 1 14:57:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 36382 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2DB8C20792 for ; Mon, 1 Sep 2014 15:04:48 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf32887506oag.4 for ; Mon, 01 Sep 2014 08:04:47 -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=aTcQLTqItFDGQxviw9DjGnjRznzrdXcl2J395q4dYFA=; b=lfCXFrq7tbQ9uHqY92kkU8n62SBqV522NB8g1RyuQi/DZ/8aAxIpZ4YK12oFdIF2QG C7U6wGd3t2ugElBRREz/D/rG5m9D/YWil45W1kS3+2d1BpbjX/PUHGxKhRY81yzQyKTA HHLfzkSZZaDCiztoTWIrihyy5p8EZphJ1EBbDJXuMLQ9Yhg1OeUn+ncHC58yFfKp73LF WkxEhcsq69YsDOjeTOAO5pl5Zw8PiHeQfJgXrf+0JohGbhR6Bd+IEZoMF0wYgCoH6rv2 1Fw/pj3qSwdkTvKCiqCSBjCHYuqRS9+XIy/s/LR8mWVpiWXpjvFFWfgwreEDJ/kj3+mn Oamw== X-Gm-Message-State: ALoCoQkxF6bgE3ZZ/XcDDENffaPGNEZXVvzVElpakEpbfFmdn5b5Mo7GV+FEPZogEavpjxP3XAty X-Received: by 10.42.133.200 with SMTP id i8mr15643976ict.14.1409583887712; Mon, 01 Sep 2014 08:04:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.210 with SMTP id g76ls1972090qge.74.gmail; Mon, 01 Sep 2014 08:04:47 -0700 (PDT) X-Received: by 10.220.132.207 with SMTP id c15mr26174676vct.12.1409583887610; Mon, 01 Sep 2014 08:04:47 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id of10si557523vcb.105.2014.09.01.08.04.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Sep 2014 08:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hy4so5664296vcb.10 for ; Mon, 01 Sep 2014 08:04:47 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr21739903vdb.27.1409583887505; Mon, 01 Sep 2014 08:04:47 -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.221.45.67 with SMTP id uj3csp400282vcb; Mon, 1 Sep 2014 08:04:47 -0700 (PDT) X-Received: by 10.66.185.14 with SMTP id ey14mr5055244pac.136.1409583886608; Mon, 01 Sep 2014 08:04:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bv3si1521563pbb.184.2014.09.01.08.04.41 for ; Mon, 01 Sep 2014 08:04:42 -0700 (PDT) Received-SPF: none (google.com: linux-acpi-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 S1754313AbaIAPEE (ORCPT + 7 others); Mon, 1 Sep 2014 11:04:04 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:45156 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753815AbaIAPEC (ORCPT ); Mon, 1 Sep 2014 11:04:02 -0400 Received: by mail-pa0-f41.google.com with SMTP id lj1so12444378pab.28 for ; Mon, 01 Sep 2014 08:04:01 -0700 (PDT) X-Received: by 10.68.139.162 with SMTP id qz2mr4939824pbb.153.1409583841838; Mon, 01 Sep 2014 08:04:01 -0700 (PDT) Received: from localhost ([202.104.114.248]) by mx.google.com with ESMTPSA id dl8sm1595692pdb.65.2014.09.01.08.03.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 01 Sep 2014 08:04:01 -0700 (PDT) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , Grant Likely Cc: Graeme Gregory , Arnd Bergmann , Sudeep Holla , Will Deacon , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Daniel Lezcano , Mark Brown , Rob Herring , Robert Richter , Lv Zheng , Robert Moore , Lorenzo Pieralisi , Liviu Dudau , Randy Dunlap , Charles.Garcia-Tobin@arm.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 v3 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Mon, 1 Sep 2014 22:57:54 +0800 Message-Id: <1409583475-6978-17-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409583475-6978-1-git-send-email-hanjun.guo@linaro.org> References: <1409583475-6978-1-git-send-email-hanjun.guo@linaro.org> Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@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.220.179 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. Reviewed-by: Grant Likely Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 065438c..8dabaeb 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -422,6 +422,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 d0f3265..f935d2e 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,8 +5,7 @@ menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 - depends on PCI + depends on ((IA64 || X86) && PCI) || (ARM64 && EXPERT) select PNP default y help @@ -163,6 +162,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 @@ -263,7 +263,7 @@ config ACPI_DEBUG config ACPI_PCI_SLOT bool "PCI slot detection driver" - depends on SYSFS + depends on SYSFS && PCI default n help This driver creates entries in /sys/bus/pci/slots/ for all PCI