Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757732AbaLKLEt (ORCPT ); Thu, 11 Dec 2014 06:04:49 -0500 Received: from mail-qa0-f45.google.com ([209.85.216.45]:59641 "EHLO mail-qa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753179AbaLKLEr (ORCPT ); Thu, 11 Dec 2014 06:04:47 -0500 MIME-Version: 1.0 In-Reply-To: <548973B7.3050107@samsung.com> References: <1418286387-9663-1-git-send-email-tfiga@chromium.org> <1418286387-9663-2-git-send-email-tfiga@chromium.org> <548973B7.3050107@samsung.com> From: Tomasz Figa Date: Thu, 11 Dec 2014 20:04:25 +0900 Message-ID: Subject: Re: [RFC PATCH 1/2] pm: Add PM domain notifications To: Sylwester Nawrocki Cc: linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek , Heiko Stuebner , Joerg Roedel , Ulf Hansson , Kevin Hilman , Geert Uytterhoeven , Daniel Kurtz Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sylwester, On Thu, Dec 11, 2014 at 7:36 PM, Sylwester Nawrocki wrote: > > Hi Tomasz, > > On 11/12/14 09:26, Tomasz Figa wrote: > > From: Sylwester Nawrocki > > > > This patch adds notifiers to the runtime PM/genpd subsystem. It is now > > possible to register a notifier, which will be called before and after > > the generic power domain subsystem calls the power domain's power_on > > and power_off callbacks. > > > > Signed-off-by: Sylwester Nawrocki > > [tfiga@chromium.org: rebased] > > Signed-off-by: Tomasz Figa > > Not sure if you've noticed it, I posted an updated version of this patch > recently [1]. The notifiers list is moved to struct generic_pm_domain > there and it also allows to register a notifier for selected power domain > by name. [snip] > [1] http://www.spinics.net/lists/linux-samsung-soc/msg38549.html Ah, haven't noticed, sorry. The API using devices looks the same, so I guess we can simply have patch 2/2 of this series applied on top of your patch. By the way, look-up by name (presumably hardcoded somewhere?) sounds a bit strange to me. What was the reason for it to be added? Best regards, Tomasz -- 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/