From patchwork Sun Jan 4 10:55:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 42724 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E98CA20A5F for ; Sun, 4 Jan 2015 10:57:31 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id k14sf3840769wgh.6 for ; Sun, 04 Jan 2015 02:57:31 -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=/yv+HLeDVwTZBmE/NaPmGH55vfgZnMxHJU90rmC4agg=; b=ExGhwJ069eJ36dLOevyGITCuagsT75GxIp4b0FCFCdkfL7LHH6gVIBXz7bEx7pZsVP CPAHlEQFW8I1eJsHEzUfvI5EA8hwIrKL2BjFnP8zfF34n5nApNXuCqTjWtnISYiyrckj kU8MCpfZtz777SOHKQWXZD7hbT1fE126sO4s06XJXMcf1GdOVX6hBFBxT0upxtLXkbFn qAe342pxYguBOUDIhX+H9ykfhiMBQ8P3BpZK8HXie8KJHZT7MaJpoANoLtCGZbfCPPVv Ok5zLzaaz5whYWMT4YFph97/c2wJImFW0WaokJk+swjo4dQLHv3z3ZERaEC+m1ElURKb NSPg== X-Gm-Message-State: ALoCoQkjwwhhctXHFgxnmVPZNjO3NNA4dFHzKF+p3GoGkSQorEpA1fFjcJYoi5KBzHBD/rGH0df+ X-Received: by 10.152.8.67 with SMTP id p3mr79976laa.4.1420369051214; Sun, 04 Jan 2015 02:57:31 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.200 with SMTP id n8ls1857913lag.15.gmail; Sun, 04 Jan 2015 02:57:31 -0800 (PST) X-Received: by 10.152.18.135 with SMTP id w7mr71101366lad.47.1420369051080; Sun, 04 Jan 2015 02:57:31 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id h3si58026774lam.29.2015.01.04.02.57.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Jan 2015 02:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so16525578lab.20 for ; Sun, 04 Jan 2015 02:57:31 -0800 (PST) X-Received: by 10.152.18.135 with SMTP id w7mr71101360lad.47.1420369050991; Sun, 04 Jan 2015 02:57:30 -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.9.200 with SMTP id c8csp619249lbb; Sun, 4 Jan 2015 02:57:30 -0800 (PST) X-Received: by 10.70.54.98 with SMTP id i2mr81160832pdp.104.1420369049208; Sun, 04 Jan 2015 02:57:29 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nk10si16957014pbc.253.2015.01.04.02.57.28; Sun, 04 Jan 2015 02:57:29 -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 S1753088AbbADK5S (ORCPT + 27 others); Sun, 4 Jan 2015 05:57:18 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:40357 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbbADK5O (ORCPT ); Sun, 4 Jan 2015 05:57:14 -0500 Received: by mail-pd0-f175.google.com with SMTP id g10so26301899pdj.20 for ; Sun, 04 Jan 2015 02:57:13 -0800 (PST) X-Received: by 10.68.197.72 with SMTP id is8mr138647009pbc.17.1420369033868; Sun, 04 Jan 2015 02:57:13 -0800 (PST) Received: from localhost ([180.150.148.224]) by mx.google.com with ESMTPSA id dn2sm30256838pdb.12.2015.01.04.02.57.11 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 04 Jan 2015 02:57:13 -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 , Mark Brown , Rob Herring , Robert Richter , Randy Dunlap , Charles.Garcia-Tobin@arm.com, phoenix.liyi@huawei.com, Timur Tabi , suravee.suthikulpanit@amd.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 v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Sun, 4 Jan 2015 18:55:17 +0800 Message-Id: <1420368918-5086-17-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420368918-5086-1-git-send-email-hanjun.guo@linaro.org> References: <1420368918-5086-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.47 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 Tested-by: Suravee Suthikulpanit 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 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..3e3bd35 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