From patchwork Tue Aug 4 23:35:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 51933 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id A41FB229FD for ; Tue, 4 Aug 2015 23:36:21 +0000 (UTC) Received: by labkp1 with SMTP id kp1sf9070216lab.0 for ; Tue, 04 Aug 2015 16:36:20 -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=BM/0yjlEDEr2nUgh4su/5pd0E+vylPuuraCXkZHuIrA=; b=D+0HRzfn7xlIZrY5CWpcmvZJIiRr083uQk22iTk8TPJfoR8bb3jpDLoAnLysERQQLY 9ZemD5ukeCOqPe0BF2To3xtLcSzIqbhhW0TXvVICEqiGnJNOFFjnmLXRwe3N6Ud5cVg/ LSq6gU7w+kADx0Iz1DJDUEGegNBRcet7vsfSF2DFEzgL7JNOe/a/C6ji+D00LNgozybx ESBWn9AEqy2YozxOGopkU1pqUb+ubc9LC68mu3dlN/SK3keiO1a7sufWP/SuyJ9doAg3 4W6QV9tLm32wRjYNHOqkigly1S2eKnlnOVClX7xtuKiZ6qdAxMk1ouyKOCq4WWcdPSof mxfQ== X-Gm-Message-State: ALoCoQn81B+02UiceEtvwxY9bj/y4ui0YnapG9hh9ZzlHcdGcYGtDT8SjR6NCXG+P7rS6sGW315N X-Received: by 10.194.80.69 with SMTP id p5mr1839093wjx.2.1438731380625; Tue, 04 Aug 2015 16:36:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.200 with SMTP id u8ls111953lau.55.gmail; Tue, 04 Aug 2015 16:36:20 -0700 (PDT) X-Received: by 10.112.142.196 with SMTP id ry4mr6885715lbb.68.1438731380459; Tue, 04 Aug 2015 16:36:20 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id e8si924921lah.96.2015.08.04.16.36.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 16:36:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbbud7 with SMTP id ud7so14991230lbb.3 for ; Tue, 04 Aug 2015 16:36:20 -0700 (PDT) X-Received: by 10.112.160.42 with SMTP id xh10mr6781728lbb.88.1438731380377; Tue, 04 Aug 2015 16:36:20 -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.7.198 with SMTP id l6csp50424lba; Tue, 4 Aug 2015 16:36:19 -0700 (PDT) X-Received: by 10.68.116.109 with SMTP id jv13mr12731997pbb.137.1438731373758; Tue, 04 Aug 2015 16:36:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mi8si1794926pdb.134.2015.08.04.16.36.12; Tue, 04 Aug 2015 16:36:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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 S1754673AbbHDXgL (ORCPT + 12 others); Tue, 4 Aug 2015 19:36:11 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:33805 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754663AbbHDXgL (ORCPT ); Tue, 4 Aug 2015 19:36:11 -0400 Received: by pdber20 with SMTP id er20so10215683pdb.1 for ; Tue, 04 Aug 2015 16:36:10 -0700 (PDT) X-Received: by 10.70.119.41 with SMTP id kr9mr13288844pdb.0.1438731370709; Tue, 04 Aug 2015 16:36:10 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id to5sm527525pac.33.2015.08.04.16.36.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Aug 2015 16:36:10 -0700 (PDT) From: Lina Iyer To: rjw@rjwysocki.net, ulf.hansson@linaro.org, khilman@linaro.org Cc: geert@linux-m68k.org, k.kozlowski@samsung.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, msivasub@codeaurora.org, agross@codeaurora.org, sboyd@codeaurora.org, Lina Iyer , Nicolas Pitre Subject: [PATCH 4/9] kernel/cpu_pm: fix cpu_cluster_pm_exit comment Date: Tue, 4 Aug 2015 17:35:34 -0600 Message-Id: <1438731339-58317-5-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438731339-58317-1-git-send-email-lina.iyer@linaro.org> References: <1438731339-58317-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.176 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: , 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 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