From patchwork Wed Aug 5 13:40:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 6949581 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 407039F7B5 for ; Wed, 5 Aug 2015 13:41:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7AC1F2041F for ; Wed, 5 Aug 2015 13:41:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ADE2B20497 for ; Wed, 5 Aug 2015 13:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753324AbbHENlM (ORCPT ); Wed, 5 Aug 2015 09:41:12 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:32878 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753325AbbHENlG (ORCPT ); Wed, 5 Aug 2015 09:41:06 -0400 Received: by ykoo205 with SMTP id o205so35351620yko.0 for ; Wed, 05 Aug 2015 06:41:06 -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:in-reply-to:references; bh=Red4xfwUzk9pxn5y1OUNkiTNnWOGTMTnI494JIc6IHQ=; b=Gupsr97/Rl05GPlqMErKhfwWNmrViAlGY2YBPGANPbt4Wr+PRTG820H6QfXdPMT6zq gIUac4LFG0Ao8CGZhBEHiczQbN+DX7b83b2nAdQGx/jlAcg23ur9VDlyfREKvIwC0B69 QehIoUhuQ+WtgwCTctozCbds8a8WB5wanmL1nzUT7MKEDtusEhD67LkWFZg3E1eQZ/BP ueDS9HSXzXvXYPWpUxVZ7eugylQuPVlVwaxSdvwtATjOBgz3QSXZwLTJGqkneuvdZdO/ YG4dRmBHTEmWzlodiY9EzvG0ezqqmmhBkgy2iO14Fg6B3gqfHCFH4ngc4OUSmkF9ld/d HJww== X-Gm-Message-State: ALoCoQnguNoLOI4W4fDSouWsYMH3FSFYbGvrEpxkSKOTj+JaFljQDSf7HO0eE07UfmVgxGletttH X-Received: by 10.129.102.70 with SMTP id a67mr9079591ywc.19.1438782066097; Wed, 05 Aug 2015 06:41:06 -0700 (PDT) Received: from esagroth.lan ([98.122.160.202]) by smtp.gmail.com with ESMTPSA id g187sm2768031ywf.35.2015.08.05.06.41.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Aug 2015 06:41:05 -0700 (PDT) From: Ashwin Chaugule To: rjw@rjwysocki.net, jaswinder.singh@linaro.org Cc: sudeep.holla@arm.com, linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org, linaro-acpi@lists.linaro.org, patches@linaro.org, viresh.kumar@linaro.org, rwells@codeaurora.org, Ashwin Chaugule Subject: [PATCH v8 9/9] ACPI: Allow selection of the ACPI processor driver for ARM64 Date: Wed, 5 Aug 2015 09:40:32 -0400 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Now that the ACPI processor driver has been decoupled from the C states and P states functionality, make it selectable on ARM64 so that it can be used by others e.g. CPPC. The C states and P states code is selected only on X86 or IA64 until the relevant support is added on ARM64. Signed-off-by: Ashwin Chaugule --- drivers/acpi/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index c6ec903..9787172 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -213,9 +213,9 @@ config ACPI_CPPC_LIB config ACPI_PROCESSOR tristate "Processor" - depends on X86 || IA64 - select ACPI_PROCESSOR_IDLE - select ACPI_CPU_FREQ_PSS + depends on X86 || IA64 || ARM64 + select ACPI_PROCESSOR_IDLE if X86 || IA64 + select ACPI_CPU_FREQ_PSS if X86 || IA64 default y help This driver adds support for the ACPI Processor package. It is required