From patchwork Fri Apr 25 13:20:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 29080 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F390F202E6 for ; Fri, 25 Apr 2014 13:24:23 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf1069131vcb.1 for ; Fri, 25 Apr 2014 06:24:23 -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=nY9nR8dl8AR1d0fZpk5DOrV+auM/4JftYMoEqm9C0A0=; b=PWb8wPbed676BTkG+I0KTwCD/TOYX16RVHzdS6nbXk5jG9KuCRFoIjS6FRCsSPZIrC h8Fga4CPVZ/0aU+QDjQx6QXgCqg2b0FPPtJNJ/xrwlzOBDlbM0nUisXtOID2KuL669aX b2aICjOYOQS/vFxIQJxyaqVTDvvHLfvkaDWR0y02cRqflEVIWo8peg8wx9jtTFyphJfp wKl7O9ougda1VAVbC76Gl7Ctnv9pc1smua3bWztXL//6bU441zxyf6tQLpblLt6aqwjs +MFTTBk4O/LNJEPpA9f72i/E1ZBOAY90LIBCgLBEQNAJX4oRUiPeZVRIlhONXL3jAYvN +YGA== X-Gm-Message-State: ALoCoQkBmT5eN83PGM4aI9kWuw5TRbT1acs2MmQnbqXau6RmQoiUn7ze1yBfXrjLzQh7ILmV28Oa X-Received: by 10.236.142.212 with SMTP id i60mr2607223yhj.39.1398432263688; Fri, 25 Apr 2014 06:24:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.31.225 with SMTP id f88ls1525597qgf.65.gmail; Fri, 25 Apr 2014 06:24:23 -0700 (PDT) X-Received: by 10.52.250.4 with SMTP id yy4mr48313vdc.56.1398432263512; Fri, 25 Apr 2014 06:24:23 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id ui2si1696713vdc.10.2014.04.25.06.24.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Apr 2014 06:24:23 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if17so4682960vcb.36 for ; Fri, 25 Apr 2014 06:24:23 -0700 (PDT) X-Received: by 10.58.22.38 with SMTP id a6mr50095vef.58.1398432263444; Fri, 25 Apr 2014 06:24:23 -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.220.221.72 with SMTP id ib8csp97461vcb; Fri, 25 Apr 2014 06:24:23 -0700 (PDT) X-Received: by 10.68.240.34 with SMTP id vx2mr11239635pbc.1.1398432262699; Fri, 25 Apr 2014 06:24:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qf5si4854600pac.47.2014.04.25.06.24.22; Fri, 25 Apr 2014 06:24:22 -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 S1753938AbaDYNYR (ORCPT + 8 others); Fri, 25 Apr 2014 09:24:17 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:48360 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753932AbaDYNYQ (ORCPT ); Fri, 25 Apr 2014 09:24:16 -0400 Received: by mail-pb0-f54.google.com with SMTP id ma3so3187784pbc.41 for ; Fri, 25 Apr 2014 06:24:15 -0700 (PDT) X-Received: by 10.68.164.130 with SMTP id yq2mr7546405pbb.151.1398432255530; Fri, 25 Apr 2014 06:24:15 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id om6sm15976026pbc.43.2014.04.25.06.24.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Apr 2014 06:24:14 -0700 (PDT) From: Hanjun Guo To: linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Catalin Marinas , Arnd Bergmann , Mark Brown , Grant Likely , Sudeep Holla , Olof Johansson , Mark Rutland , Rob Herring , Will Deacon , Charles.Garcia-Tobin@arm.com, linaro-acpi@lists.linaro.org, Hanjun Guo , Graeme Gregory , Al Stone Subject: [PATCH v3 part1 09/11] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Fri, 25 Apr 2014 21:20:15 +0800 Message-Id: <1398432017-8506-10-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398432017-8506-1-git-send-email-hanjun.guo@linaro.org> References: <1398432017-8506-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=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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: , 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. 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 9c32702..834a74e7 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -348,6 +348,8 @@ source "net/Kconfig" source "drivers/Kconfig" +source "drivers/acpi/Kconfig" + source "fs/Kconfig" source "arch/arm64/kvm/Kconfig" diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index ab686b3..ae45088 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,10 +5,10 @@ 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), @@ -140,6 +140,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