Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1217965

Re: [PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment
Date 2015-09-03 02:40 +0200
Message-ID <q4qJk-4mi-1@gated-at.bofh.it> (permalink)
References <q4oHw-1ws-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, September 02, 2015 04:18:57 PM Lina Iyer wrote:
> 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 <nicolas.pitre@linaro.org>
> Acked-by: Kevin Hilman <khilman@linaro.org>
> Signed-off-by: Lina Iyer <lina.iyer@linaro.org>

OK, I'll queue this one up for the next PM pull request.

Thanks!


> ---
>  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
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment Lina Iyer <lina.iyer@linaro.org> - 2015-09-03 00:30 +0200
  Re: [PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-03 02:40 +0200

csiph-web