From patchwork Fri Jun 27 03:49:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 32614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 55CA2201EF for ; Fri, 27 Jun 2014 03:53:25 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id ma3sf17590166pbc.11 for ; Thu, 26 Jun 2014 20:53:24 -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=W7N2bbs6H4e+HURoHa02HM5vQr7dvPlJUviiuHZiLMA=; b=MPD/dsMF8Divl5JQm1v8MoURq5iuTfdL2pv3KOaEcLPKNs1r9ILPU1fKfhlnrg8Lk5 d6vP/xIIg9CD+mvjSIBbUj2vwi8IgGDXb6D0QmiXyFxbdFVoKlyAOHp8X29BDd8Twjrq +puHzGliQKRsUOEwlAx3fqTiI31ddMqtd7jcg+X9a85UzcLvxDZfe2BWhljItli82G2e xcSS5VMfDP+heuzo8hnWv8sADpcr5slDfLxW+aloP4XeBbAV+ez9+HHAczcey29BzUTb P7logCtuDBn4gFXH8v/50dYOcCZ114Ffetuz7MvxzLmjamwpAoy1xVX/KQVqo7ocBCVz T0/w== X-Gm-Message-State: ALoCoQkL8EO+4WmO6nga08II+V5D8eUQpzGdC3R/u6TopG0QRCvzPe/AANe3NPgUKdl8a9HE24td X-Received: by 10.69.31.75 with SMTP id kk11mr8841401pbd.8.1403841204268; Thu, 26 Jun 2014 20:53:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.33 with SMTP id k30ls448786qgf.15.gmail; Thu, 26 Jun 2014 20:53:24 -0700 (PDT) X-Received: by 10.52.29.236 with SMTP id n12mr14735951vdh.38.1403841204170; Thu, 26 Jun 2014 20:53:24 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id fx3si5700357vdc.84.2014.06.26.20.53.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Jun 2014 20:53:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id il7so4604068vcb.27 for ; Thu, 26 Jun 2014 20:53:24 -0700 (PDT) X-Received: by 10.58.245.194 with SMTP id xq2mr17659550vec.26.1403841204080; Thu, 26 Jun 2014 20:53:24 -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 tc5csp77125vcb; Thu, 26 Jun 2014 20:53:23 -0700 (PDT) X-Received: by 10.68.103.66 with SMTP id fu2mr26975226pbb.133.1403841203339; Thu, 26 Jun 2014 20:53:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd2si12416796pbd.177.2014.06.26.20.53.22; Thu, 26 Jun 2014 20:53:22 -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 S1753017AbaF0DxN (ORCPT + 27 others); Thu, 26 Jun 2014 23:53:13 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:62727 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752990AbaF0DxK (ORCPT ); Thu, 26 Jun 2014 23:53:10 -0400 Received: by mail-pd0-f174.google.com with SMTP id y10so3852844pdj.5 for ; Thu, 26 Jun 2014 20:53:10 -0700 (PDT) X-Received: by 10.68.186.97 with SMTP id fj1mr3896937pbc.37.1403841190357; Thu, 26 Jun 2014 20:53:10 -0700 (PDT) Received: from localhost ([183.247.163.231]) by mx.google.com with ESMTPSA id kl10sm12347938pbd.20.2014.06.26.20.53.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 20:53:09 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Bjorn Helgaas , rric@kernel.org, Grant Likely , Sudeep Holla , Mark Rutland , Charles.Garcia-Tobin@arm.com, lorenzo.pieralisi@arm.com, linaro-acpi@lists.linaro.org, Graeme Gregory , Al Stone , Hanjun Guo Subject: [PATCH v4 13/13] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Fri, 27 Jun 2014 11:49:36 +0800 Message-Id: <1403840976-7456-14-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403840976-7456-1-git-send-email-hanjun.guo@linaro.org> References: <1403840976-7456-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.182 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 | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 102384e..314634f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -377,6 +377,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 7de5e3f..33d6dbb 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -8,10 +8,10 @@ config ACPI_SCAN_BIOS_NOT_EFI menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 + depends on IA64 || X86 || ARM64 depends on PCI select PNP - default y + default y if !ARM64 help Advanced Configuration and Power Interface (ACPI) support for Linux requires an ACPI-compliant platform (hardware/firmware), @@ -161,6 +161,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