From patchwork Fri Oct 17 13:37:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 38874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B9C632054E for ; Fri, 17 Oct 2014 13:41:22 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id b57sf575891eek.4 for ; Fri, 17 Oct 2014 06:41:21 -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=jj2q2gCt2na62JJX1RcW9jSk8z7ojI8cAdeMeWomua0=; b=GA+LlzXAwxBalTHVTYYe7TAAOb5y9YWQi++fqyj2OW7wiRvlYZP5lCYAflnrBzUvrv +LBkar/y+TSoAzsO91itXlyoHeJdTHCfdnUNpoQb99mc1QpZd+elfZei+jU9/d889E0R jgvcIX5K2Mz6E6zwFqurJLa5uWXxBVLT0jJMnU6H+GWEcGwybxxrYGpZYmOAbX4eFiWi TA6M13LUI08KUU9TAaD2iC5bnJu9Y3mXcQwXGEt6kwOulvd8kplR/f4Br6jGM/8yhLJF C3eKpGIUEriZEMljamRLB+lePFrBI+mC8ergDdPwmBr+74uZj3r8nn2t4vWbKrGyjmJa ezng== X-Gm-Message-State: ALoCoQmfsO/v0ESL/9ZWiAMjzOq9laKEJyebdEFhvrud0nD8MytgZfmLFIUb6MF76r6J5KKMAWlG X-Received: by 10.152.88.70 with SMTP id be6mr1390923lab.1.1413553281856; Fri, 17 Oct 2014 06:41:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.80 with SMTP id be16ls266387lab.107.gmail; Fri, 17 Oct 2014 06:41:21 -0700 (PDT) X-Received: by 10.112.201.201 with SMTP id kc9mr1808604lbc.76.1413553281689; Fri, 17 Oct 2014 06:41:21 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id oi5si2049650lbb.135.2014.10.17.06.41.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 06:41:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id z12so698793lbi.30 for ; Fri, 17 Oct 2014 06:41:21 -0700 (PDT) X-Received: by 10.152.202.135 with SMTP id ki7mr9005607lac.40.1413553281529; Fri, 17 Oct 2014 06:41:21 -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.84.229 with SMTP id c5csp228745lbz; Fri, 17 Oct 2014 06:41:20 -0700 (PDT) X-Received: by 10.66.252.8 with SMTP id zo8mr8623928pac.12.1413553280600; Fri, 17 Oct 2014 06:41:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sl5si1154216pbc.164.2014.10.17.06.41.16 for ; Fri, 17 Oct 2014 06:41:20 -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 S1753681AbaJQNlM (ORCPT + 27 others); Fri, 17 Oct 2014 09:41:12 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:56870 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753656AbaJQNlH (ORCPT ); Fri, 17 Oct 2014 09:41:07 -0400 Received: by mail-pd0-f180.google.com with SMTP id fp1so824764pdb.11 for ; Fri, 17 Oct 2014 06:41:06 -0700 (PDT) X-Received: by 10.66.140.8 with SMTP id rc8mr8572858pab.83.1413553266803; Fri, 17 Oct 2014 06:41:06 -0700 (PDT) Received: from localhost ([220.202.153.90]) by mx.google.com with ESMTPSA id i2sm1673490pat.3.2014.10.17.06.41.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 17 Oct 2014 06:41:05 -0700 (PDT) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , Grant Likely , Will Deacon Cc: Graeme Gregory , Arnd Bergmann , Sudeep Holla , Jon Masters , 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, Kangkang.Shen@huawei.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 v5 17/18] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Fri, 17 Oct 2014 21:37:13 +0800 Message-Id: <1413553034-20956-18-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413553034-20956-1-git-send-email-hanjun.guo@linaro.org> References: <1413553034-20956-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.217.171 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