From patchwork Fri Sep 12 14:00: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: 37336 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8934B203EE for ; Fri, 12 Sep 2014 14:03:09 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id n12sf517037wgh.5 for ; Fri, 12 Sep 2014 07:03:05 -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=aTcQLTqItFDGQxviw9DjGnjRznzrdXcl2J395q4dYFA=; b=EJkpJhXwPQAPx0OqNI0/X2vUjAFslE7om+O4N0nVOkAGlJDrQ2RkCg5plCvuKkkzN3 cx7SgUrXZSNkaVvni+cHVaugCdWc9LIVv8h2NiVTbW5cmEGAIGJyVL9PvHi+WxJPiGZ/ V8ZbNT2IkZAMyK/GziTJFEJL1oCqi1cqRvtome6xwSJYXdGckd1Id2kMF3ZCXMG3riR0 EP2pn4Ttp1CxPTWcj0MEHrrB03j9aKrhx06ysVIFg93Xx1vfqC4faGQrL8e9AfYbhjf3 EkUwbByGdyNaUJLv6/fWJERKlNqjOpuwXl/RVyCpZrh3pGGL95gtOLBP9jBKHvW596N8 Ir3A== X-Gm-Message-State: ALoCoQl4QQjGl+f7mIAy/O7paxBosl4m9wGEvymojmDBdpeQ7C8bklgNUM7EdfOOe5SDEwPDNXIa X-Received: by 10.181.13.195 with SMTP id fa3mr717196wid.0.1410530585271; Fri, 12 Sep 2014 07:03:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.2 with SMTP id w2ls176699law.39.gmail; Fri, 12 Sep 2014 07:03:05 -0700 (PDT) X-Received: by 10.112.135.199 with SMTP id pu7mr8421276lbb.99.1410530585117; Fri, 12 Sep 2014 07:03:05 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx.google.com with ESMTPS id pg10si6610567lbb.127.2014.09.12.07.03.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Sep 2014 07:03:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id b17so1009130lan.32 for ; Fri, 12 Sep 2014 07:03:05 -0700 (PDT) X-Received: by 10.112.75.233 with SMTP id f9mr8798103lbw.102.1410530585042; Fri, 12 Sep 2014 07:03:05 -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.112.141.42 with SMTP id rl10csp737895lbb; Fri, 12 Sep 2014 07:03:04 -0700 (PDT) X-Received: by 10.66.240.197 with SMTP id wc5mr8973719pac.87.1410530581961; Fri, 12 Sep 2014 07:03:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15si1221947pdm.25.2014.09.12.07.03.01 for ; Fri, 12 Sep 2014 07:03:01 -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 S1755288AbaILOCR (ORCPT + 7 others); Fri, 12 Sep 2014 10:02:17 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:48310 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755286AbaILOCO (ORCPT ); Fri, 12 Sep 2014 10:02:14 -0400 Received: by mail-pa0-f53.google.com with SMTP id rd3so1343527pab.40 for ; Fri, 12 Sep 2014 07:02:14 -0700 (PDT) X-Received: by 10.69.31.107 with SMTP id kl11mr12390343pbd.156.1410530532658; Fri, 12 Sep 2014 07:02:12 -0700 (PDT) Received: from localhost ([111.140.73.43]) by mx.google.com with ESMTPSA id f12sm4184140pat.36.2014.09.12.07.02.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 12 Sep 2014 07:02:11 -0700 (PDT) From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , Grant Likely , Will Deacon Cc: Graeme Gregory , Arnd Bergmann , Sudeep Holla , Jon Masters , 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 v4 17/18] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Fri, 12 Sep 2014 22:00:15 +0800 Message-Id: <1410530416-30200-18-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1410530416-30200-1-git-send-email-hanjun.guo@linaro.org> References: <1410530416-30200-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 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 065438c..8dabaeb 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -422,6 +422,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 d0f3265..f935d2e 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