From patchwork Mon Aug 4 15:28:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 34875 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EB95B21F5F for ; Mon, 4 Aug 2014 15:32:08 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 9sf15146737ykp.11 for ; Mon, 04 Aug 2014 08:32:08 -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=sI1eWy5LMdsTu+o8omx+f2rCxfxQMyl1H+7xP4uFc2g=; b=Vpc3Yz6QIHeQk2pSVcOsRVsSNm0Qk79JCCHRC2CZyGcDUE/ZauWh5g5tUTMEAL8tw0 /66h3cZp6VY+uVlc25yHsQqJfiRxGYXEakzEQ38mOpKt7/2VuKgYKuzn7TiMAHeuqx6N 1aKUQIcL3BZAZbZOZ+v0aaMrRnCQtqM/TKHuxJkPPpnOYPbj7hW81oSwJzNgvOx//Vjg pE2dEyJsYiW3oT8AuhX4xJxibgjTE+MSERSXrwfYdLAwwJFcU33q4EOZpSbmMD9+Z6Uu nMND+jwLke1Fb6eyCv9FnIphXgovojueytdfYHQ18d6NU60Zpyz/A9JOdziDij0lQcGG n4Jg== X-Gm-Message-State: ALoCoQnmKEdWFTCEx/gp9OptlL/uDfDTzrxF/RAB7RiMN8SMaW6Ptv8djaAeAr0rq6hV2x08vQWi X-Received: by 10.236.199.108 with SMTP id w72mr3850258yhn.31.1407166328793; Mon, 04 Aug 2014 08:32:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.113 with SMTP id l104ls2232234qga.61.gmail; Mon, 04 Aug 2014 08:32:08 -0700 (PDT) X-Received: by 10.220.166.9 with SMTP id k9mr24242564vcy.20.1407166328681; Mon, 04 Aug 2014 08:32:08 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id o6si12186154vcn.83.2014.08.04.08.32.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Aug 2014 08:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ij19so11050384vcb.25 for ; Mon, 04 Aug 2014 08:32:08 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr24308387vcb.0.1407166328524; Mon, 04 Aug 2014 08:32:08 -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.37.5 with SMTP id tc5csp313469vcb; Mon, 4 Aug 2014 08:32:07 -0700 (PDT) X-Received: by 10.68.68.234 with SMTP id z10mr24452827pbt.59.1407166327506; Mon, 04 Aug 2014 08:32:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bz2si18002356pab.151.2014.08.04.08.32.06 for ; Mon, 04 Aug 2014 08:32:07 -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 S1753296AbaHDPcC (ORCPT + 21 others); Mon, 4 Aug 2014 11:32:02 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:62651 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753122AbaHDPb5 (ORCPT ); Mon, 4 Aug 2014 11:31:57 -0400 Received: by mail-pa0-f43.google.com with SMTP id lf10so10256967pab.30 for ; Mon, 04 Aug 2014 08:31:57 -0700 (PDT) X-Received: by 10.66.237.39 with SMTP id uz7mr2908275pac.144.1407166317070; Mon, 04 Aug 2014 08:31:57 -0700 (PDT) Received: from localhost ([39.182.20.233]) by mx.google.com with ESMTPSA id ib5sm17812283pbb.55.2014.08.04.08.31.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Aug 2014 08:31:55 -0700 (PDT) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Mark Rutland Cc: Graeme Gregory , Arnd Bergmann , Olof Johansson , Grant Likely , 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 v2 17/18] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Mon, 4 Aug 2014 23:28:24 +0800 Message-Id: <1407166105-17675-18-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1407166105-17675-1-git-send-email-hanjun.guo@linaro.org> References: <1407166105-17675-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.220.180 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 95835bc..1e0ca19 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -362,6 +362,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 3f5f745..f6b6791 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 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