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: 4062621 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7891B9F271 for ; Fri, 25 Apr 2014 13:27:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD01D2037F for ; Fri, 25 Apr 2014 13:27:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CBABE20170 for ; Fri, 25 Apr 2014 13:27:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdg7M-0000Uu-00; Fri, 25 Apr 2014 13:24:40 +0000 Received: from mail-pa0-f43.google.com ([209.85.220.43]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdg7J-0008U8-Gt for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 13:24:37 +0000 Received: by mail-pa0-f43.google.com with SMTP id rd3so1318185pab.16 for ; Fri, 25 Apr 2014 06:24:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mmMOePYLRSlZggxdAwwY9OKvM2jMdbWOXbDKGBPqL9Y=; b=bN1ihhWiS/YqN5ILT6o+tpPr0/PlXhDj/hxGnsYr6Wg4RLu7Io1OfndX9ElFa9iYq/ 6ZJqbkl8aAKiC3yOEgKFrkw8VtEsWHTjW4zmKYgnbgIzT3cfyx5qiT+20Ew+8WM/elRh 0PpRWflPoDGhZSF2xMDCsIn31ZsZcf7rGo6+oarL5KBQFr5VRzWPFvE+ejR/IHXXmxYU oZO05Rj4XqZ60NzH0jCu6gDDTdD30QnDvGawHWDndcRjp/37dZUm+2oWX42dqZmRlx1n xsCKNbt4LoWkO3M8tN8kgrYu3XOhgqE31fLEIYNh0+OIdC6GLpst3txsiOZj0Mxy21ha UXGg== X-Gm-Message-State: ALoCoQliLwXY+bx0fomJYwViAkyFAuLLq54307bOWmUtr2OJAvLWtpYlVJlKTBSEasnrWozFSrVR 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140425_062437_586001_AA941465 X-CRM114-Status: GOOD ( 12.38 ) X-Spam-Score: -0.1 (/) Cc: Mark Rutland , Rob Herring , Graeme Gregory , Arnd Bergmann , Mark Brown , Catalin Marinas , linaro-acpi@lists.linaro.org, "Rafael J. Wysocki" , Will Deacon , Al Stone , Olof Johansson , Hanjun Guo , Sudeep Holla , Grant Likely , Charles.Garcia-Tobin@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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