From patchwork Mon Feb 2 12:45:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 44140 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A84D12034D for ; Mon, 2 Feb 2015 12:51:13 +0000 (UTC) Received: by mail-we0-f200.google.com with SMTP id m14sf16234866wev.3 for ; Mon, 02 Feb 2015 04:51:12 -0800 (PST) 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=Fr/1u52zP/4LRqEObnfJawHP2hJJHZLg8k2Msvytr0I=; b=BbthlJNIVk1n1ewfzzRishPmzbgBx2N9Dm6jejtlIYMew7xH3KHyWchh3a//x0don1 sV33KJLvK4IxlIV7930AhRjt/ex5R8xbiLHj7krnrTW92k96QshWLI2haLL4T9heKSDo mphPrML8ebjqUZhCyIUWJeiaba00AWB9Bolf2/Zv0KPJCVUraKdJk2jn1bC8ADUdzeps naL6pGhcKykuAivLOVMKOwkBabWkYJwuLok0MjsBG10cxX58wcCm5JZuJ/NjcZXrePl9 DLGMHksUFnvbjoEIGjLDtY23fbVj+RRLR2oCzbNJypIRKePYr+NDoe0nG7m7FAqfNpmn m9NQ== X-Gm-Message-State: ALoCoQnU/7lqS55q22usQ7Jg4w5OCQpk46h5Oc1CuqtSkJu2o1wlBFzP7orJd9m2yTl1zj4E5fax X-Received: by 10.112.35.135 with SMTP id h7mr2315276lbj.23.1422881472889; Mon, 02 Feb 2015 04:51:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.132 with SMTP id b4ls93388lah.16.gmail; Mon, 02 Feb 2015 04:51:12 -0800 (PST) X-Received: by 10.112.211.168 with SMTP id nd8mr19431339lbc.18.1422881472643; Mon, 02 Feb 2015 04:51:12 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id wm7si16875265lbb.72.2015.02.02.04.51.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Feb 2015 04:51:12 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id gq15so40376908lab.12 for ; Mon, 02 Feb 2015 04:51:12 -0800 (PST) X-Received: by 10.152.5.226 with SMTP id v2mr19258761lav.34.1422881472345; Mon, 02 Feb 2015 04:51:12 -0800 (PST) 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.35.133 with SMTP id h5csp1274284lbj; Mon, 2 Feb 2015 04:51:11 -0800 (PST) X-Received: by 10.70.18.196 with SMTP id y4mr5960984pdd.27.1422881470097; Mon, 02 Feb 2015 04:51:10 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id by8si23585545pab.69.2015.02.02.04.51.09; Mon, 02 Feb 2015 04:51:10 -0800 (PST) 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 S933293AbbBBMvF (ORCPT + 29 others); Mon, 2 Feb 2015 07:51:05 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:40615 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933209AbbBBMtw (ORCPT ); Mon, 2 Feb 2015 07:49:52 -0500 Received: by mail-pa0-f47.google.com with SMTP id lj1so81985207pab.6 for ; Mon, 02 Feb 2015 04:49:52 -0800 (PST) X-Received: by 10.66.66.106 with SMTP id e10mr10386994pat.147.1422881391936; Mon, 02 Feb 2015 04:49:51 -0800 (PST) Received: from localhost ([180.150.157.4]) by mx.google.com with ESMTPSA id ib3sm18751981pbc.41.2015.02.02.04.49.50 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 02 Feb 2015 04:49:50 -0800 (PST) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Olof Johansson , Arnd Bergmann , Mark Rutland , Grant Likely , Will Deacon Cc: Lorenzo Pieralisi , Graeme Gregory , Sudeep Holla , Jon Masters , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Daniel Lezcano , Mark Brown , Rob Herring , Robert Richter , Randy Dunlap , Charles.Garcia-Tobin@arm.com, phoenix.liyi@huawei.com, Timur Tabi , Ashwin Chaugule , suravee.suthikulpanit@amd.com, Mark Langsdorf , wangyijing@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 v8 19/21] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Mon, 2 Feb 2015 20:45:47 +0800 Message-Id: <1422881149-8177-20-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422881149-8177-1-git-send-email-hanjun.guo@linaro.org> References: <1422881149-8177-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.215.53 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. CC: Rafael J. Wysocki CC: Catalin Marinas CC: Will Deacon Reviewed-by: Grant Likely Tested-by: Suravee Suthikulpanit Tested-by: Yijing Wang Tested-by: Mark Langsdorf Tested-by: Jon Masters Tested-by: Timur Tabi Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c19ae5d..915aa16 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -647,6 +647,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 8951cef..fd19ad6 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,7 +5,7 @@ menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 + depends on IA64 || X86 || (ARM64 && EXPERT) depends on PCI select PNP default y @@ -163,6 +163,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