From patchwork Fri Jun 27 03:49:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 4433361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C4F16BEEAA for ; Fri, 27 Jun 2014 03:56:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10A032020F for ; Fri, 27 Jun 2014 03:56:34 +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 3357D201EF for ; Fri, 27 Jun 2014 03:56:33 +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 1X0NFD-0007Pw-4p; Fri, 27 Jun 2014 03:54:35 +0000 Received: from mail-pd0-f173.google.com ([209.85.192.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0NEB-0005d2-IX for linux-arm-kernel@lists.infradead.org; Fri, 27 Jun 2014 03:53:32 +0000 Received: by mail-pd0-f173.google.com with SMTP id r10so3875340pdi.4 for ; Thu, 26 Jun 2014 20:53:10 -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=b+ktRZsBFC4LkuTLP4sVemV2gcjApzoKDWG6y3PCWXw=; b=Qs7DBqggGbyvGTRtud6F9gVUvIZEoVb5cLx9sveI6sf2f7P/drhE0ShBno7Iff4bVX gLA0moSYw3cCMcMxBQS82c8UWZZZIEMFHSxnhzryEpa4ktINyMgdka6Mt3J822Vo2Cxy +YYn0JvUB73kx6AUaev745CW9mdKY50WcKbAUZixTDJK9Znwg/aW8rAgn7B90E4KArYp id96jX1xmR1uv8Nirn4ZFBkuPbhZYnuSj57PxxKYOZy+UE68R6caknXn2twNZAd4ADtm V4o6VmUJSvAANqLvURznILwv5HecCc7YQGcQzAZs9CLk2eq61ukkhLlXC/BPhc62u/n0 QPbQ== X-Gm-Message-State: ALoCoQmf6dfwXZloWiDVZgS9p+hcIu5nPrcdxckOf/taDHkUja4FfHLyZM25hTRSfu4rXt9Movj+ X-Received: by 10.68.186.97 with SMTP id fj1mr3896937pbc.37.1403841190357; Thu, 26 Jun 2014 20:53:10 -0700 (PDT) Received: from localhost ([183.247.163.231]) by mx.google.com with ESMTPSA id kl10sm12347938pbd.20.2014.06.26.20.53.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 20:53:09 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org Subject: [PATCH v4 13/13] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Fri, 27 Jun 2014 11:49:36 +0800 Message-Id: <1403840976-7456-14-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403840976-7456-1-git-send-email-hanjun.guo@linaro.org> References: <1403840976-7456-1-git-send-email-hanjun.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_205331_636105_3924A371 X-CRM114-Status: GOOD ( 12.49 ) X-Spam-Score: -0.0 (/) Cc: Mark Rutland , lorenzo.pieralisi@arm.com, rric@kernel.org, Graeme Gregory , Arnd Bergmann , linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org, Al Stone , Grant Likely , Hanjun Guo , Sudeep Holla , Bjorn Helgaas , Charles.Garcia-Tobin@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.9 required=5.0 tests=BAYES_00, T_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 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 | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 102384e..314634f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -377,6 +377,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 7de5e3f..33d6dbb 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -8,10 +8,10 @@ config ACPI_SCAN_BIOS_NOT_EFI 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), @@ -161,6 +161,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