From patchwork Wed Sep 2 22:18:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 52996 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 8EA2823002 for ; Wed, 2 Sep 2015 22:20:47 +0000 (UTC) Received: by wicuu12 with SMTP id uu12sf10869643wic.2 for ; Wed, 02 Sep 2015 15:20:46 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=j+oQYRQ6uDUqPeVi/fQFnJHL9M5DhgaoImmtQXKZRoI=; b=AjQE5tn7MWrexWGuLXnaKMv5pv87uf2jEQ19QfJoBtrdJnIueaFQhAw9vWbJQp8q0M WhBEgkzHkrBQemOC42inqhHP2C1VlCEzw+cywcp6Hoyn/EToiU9pegLgWnfKw5GCf4KZ l3iEI602poxX8XPqlDx5HKX2DRt0pKlboS8jN3rpwy75W0/HZRiPrnALULhLteWWUAQC bLaLSIeZ3TbV/2cVopAfmYOO10SJ3WDmPEhEKByAYyT0g1dYZLzEPiBHd2GorTxTu3cN c6+gTxXZh628hedQKXhSjiOzjn8XcSLqUkZOyYxpZKEK0vh/35I8MwN3wag4r7JpbAAp SUBQ== X-Gm-Message-State: ALoCoQkUkCW2knJXKzgC/a0MRQ1f5aQElViO/wtkd6pz8mWqMNpoNteXgrXe2RxxHojD5aSv5Arn X-Received: by 10.194.57.44 with SMTP id f12mr4182613wjq.0.1441232445992; Wed, 02 Sep 2015 15:20:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.6 with SMTP id m6ls152763laj.32.gmail; Wed, 02 Sep 2015 15:20:45 -0700 (PDT) X-Received: by 10.153.7.137 with SMTP id dc9mr18473556lad.16.1441232445512; Wed, 02 Sep 2015 15:20:45 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id mz8si21126043lbb.18.2015.09.02.15.20.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 15:20:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbpo4 with SMTP id o4so14458029lbp.2 for ; Wed, 02 Sep 2015 15:20:45 -0700 (PDT) X-Received: by 10.112.16.135 with SMTP id g7mr18003077lbd.19.1441232445413; Wed, 02 Sep 2015 15:20:45 -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.164.42 with SMTP id yn10csp868864lbb; Wed, 2 Sep 2015 15:20:44 -0700 (PDT) X-Received: by 10.50.4.102 with SMTP id j6mr7180267igj.40.1441232444332; Wed, 02 Sep 2015 15:20:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si37799702pdz.127.2015.09.02.15.20.43; Wed, 02 Sep 2015 15:20:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756166AbbIBWUc (ORCPT + 28 others); Wed, 2 Sep 2015 18:20:32 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35654 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756131AbbIBWUS (ORCPT ); Wed, 2 Sep 2015 18:20:18 -0400 Received: by pacfv12 with SMTP id fv12so24832165pac.2 for ; Wed, 02 Sep 2015 15:20:18 -0700 (PDT) X-Received: by 10.66.174.174 with SMTP id bt14mr59963125pac.109.1441232417954; Wed, 02 Sep 2015 15:20:17 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id q1sm13251616pdr.46.2015.09.02.15.20.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Sep 2015 15:20:16 -0700 (PDT) From: Lina Iyer To: rjw@rjwysocki.net Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Lina Iyer , Nicolas Pitre Subject: [PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment Date: Wed, 2 Sep 2015 16:18:57 -0600 Message-Id: <1441232337-12615-1-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.179 as permitted sender) smtp.mailfrom=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: , cpu_cluster_pm_exit() must be sent after cpu_cluster_pm_enter() has been sent for the cluster and before any cpu_pm_exit() notifications are sent for any CPU. Cc: Nicolas Pitre Acked-by: Kevin Hilman Signed-off-by: Lina Iyer --- kernel/cpu_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c index 9656a3c..009cc9a 100644 --- a/kernel/cpu_pm.c +++ b/kernel/cpu_pm.c @@ -180,7 +180,7 @@ EXPORT_SYMBOL_GPL(cpu_cluster_pm_enter); * low power state that may have caused some blocks in the same power domain * to reset. * - * Must be called after cpu_pm_exit has been called on all cpus in the power + * Must be called after cpu_cluster_pm_enter has been called for the power * domain, and before cpu_pm_exit has been called on any cpu in the power * domain. Notified drivers can include VFP co-processor, interrupt controller * and its PM extensions, local CPU timers context save/restore which