From patchwork Mon Mar 9 15:16:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 45542 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D66D120285 for ; Mon, 9 Mar 2015 15:17:57 +0000 (UTC) Received: by wesu56 with SMTP id u56sf5068188wes.2 for ; Mon, 09 Mar 2015 08:17:57 -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=1N0YDZ3TfCeT9vvQL7ocW6tmwZ7YhMAiSm9VObeGIiE=; b=K2bnqK/Wf44h7BBYKMcO35RL/r0SPIhK+mWwjLib1BaU3ZjJNZ5Kf0HgXt7wKv7UZt IOrXowt/u+Olhcx9bj9jjwEzFtr8J0IC7BGn+t1zQh/sg/wqUmwxIgWvN3B1jf7z1VeV T9/SIvLuQwBmBtrTmEECO04xFthl9o4A/QWsrDmx6TrWBKM+Nbcgj/UecLH6n7PHws5s Z2sqPt9H6l715RAlaggr96iOqnm+h8HccBAInisECJ5zMfbClgR48oUudbEWw0x/H6c8 YTQVTwWHNfQD3wVfbB6XL83rFGYSEYXXU8UWOERa02pLMgIKWWlnz+HVx2ep3TnTx8pa o5cA== X-Gm-Message-State: ALoCoQlcxOsyS4fX/zXywu/3E/mm5FG0L00+mdQCZlqDbggzaqlVlp7vu3DIXf/UdFPSy1UwWB9M X-Received: by 10.194.63.208 with SMTP id i16mr4040350wjs.2.1425914277182; Mon, 09 Mar 2015 08:17:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.246.38 with SMTP id xt6ls297287lac.102.gmail; Mon, 09 Mar 2015 08:17:56 -0700 (PDT) X-Received: by 10.152.10.66 with SMTP id g2mr26328093lab.44.1425914276879; Mon, 09 Mar 2015 08:17:56 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id b7si14588767lbk.31.2015.03.09.08.17.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 08:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbvn10 with SMTP id n10so17915078lbv.11 for ; Mon, 09 Mar 2015 08:17:56 -0700 (PDT) X-Received: by 10.152.28.5 with SMTP id x5mr25916693lag.112.1425914276736; Mon, 09 Mar 2015 08:17:56 -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.35.133 with SMTP id h5csp1546985lbj; Mon, 9 Mar 2015 08:17:55 -0700 (PDT) X-Received: by 10.70.51.101 with SMTP id j5mr54186906pdo.123.1425914257306; Mon, 09 Mar 2015 08:17:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si31186330pde.58.2015.03.09.08.17.35; Mon, 09 Mar 2015 08:17:37 -0700 (PDT) Received-SPF: none (google.com: linux-pm-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 S1753660AbbCIPR2 (ORCPT + 11 others); Mon, 9 Mar 2015 11:17:28 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:42601 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754704AbbCIPR0 (ORCPT ); Mon, 9 Mar 2015 11:17:26 -0400 Received: by padfa1 with SMTP id fa1so73313451pad.9 for ; Mon, 09 Mar 2015 08:17:25 -0700 (PDT) X-Received: by 10.70.63.1 with SMTP id c1mr54747504pds.28.1425914245384; Mon, 09 Mar 2015 08:17:25 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by mx.google.com with ESMTPSA id pm9sm6639462pdb.59.2015.03.09.08.17.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Mar 2015 08:17:24 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, sboyd@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lorenzo.pieralisi@arm.com, msivasub@codeaurora.org, devicetree@vger.kernel.org, Lina Iyer , Arnd Bergmann Subject: [RFC PATCH v15 04/11] ARM: cpuidle: Register cpuidle_ops for QCOM cpus Date: Mon, 9 Mar 2015 09:16:39 -0600 Message-Id: <1425914206-22295-5-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1425914206-22295-1-git-send-email-lina.iyer@linaro.org> References: <1425914206-22295-1-git-send-email-lina.iyer@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lina.iyer@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.217.177 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: , Register cpuidle ops for Krait Processor Sub-System. Supports v1 and v2 versions of KPSS. Cc: Stephen Boyd Cc: Arnd Bergmann Cc: Kevin Hilman Cc: Daniel Lezcano Signed-off-by: Lina Iyer --- arch/arm/include/asm/cpuidle_ops.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/cpuidle_ops.h b/arch/arm/include/asm/cpuidle_ops.h index be0a612..40cb262 100644 --- a/arch/arm/include/asm/cpuidle_ops.h +++ b/arch/arm/include/asm/cpuidle_ops.h @@ -1,3 +1,8 @@ /* * List of cpuidle operations */ + +#if IS_ENABLED(CONFIG_QCOM_PM) +CPUIDLE_OPS(qcom_kpss_v1) +CPUIDLE_OPS(qcom_kpss_v2) +#endif