Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755816AbbHYSI1 (ORCPT ); Tue, 25 Aug 2015 14:08:27 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36056 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752311AbbHYSIZ (ORCPT ); Tue, 25 Aug 2015 14:08:25 -0400 From: Kevin Hilman To: Rajendra Nayak , Geert Uytterhoeven , "Rafael J. Wysocki" Cc: Ulf Hansson , Linux PM list , "linux-kernel\@vger.kernel.org" , Stephen Boyd Subject: Re: [PATCH] PM / Domains: Make pm_genpd_init() available to modules References: <1439446917-32304-1-git-send-email-rnayak@codeaurora.org> Date: Tue, 25 Aug 2015 11:08:16 -0700 In-Reply-To: (Geert Uytterhoeven's message of "Fri, 14 Aug 2015 09:56:32 +0200") Message-ID: <7hegirckbz.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 34 Geert Uytterhoeven writes: > On Thu, Aug 13, 2015 at 8:21 AM, Rajendra Nayak wrote: >> Export symbol pm_genpd_init so it can be used in loadable >> kernel modules >> >> Signed-off-by: Rajendra Nayak >> Reported-by: Stephen Rothwell > > Assuming you're aware of the consequences: > - Modular PM Domain drivers don't work for "critical" devices where the > driver is started from *OF_DECLARE(), > - This may depend on "PM / Domains: Return -EPROBE_DEFER if we fail to > init or turn-on domain" in pm/linux-next > https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=311fa6adf92c5110057daa439fdaff012864aa2b > > Acked-by: Geert Uytterhoeven Right, things can get "interesting" and there are known limitations, but we shouldn't prevent it, and also it might help us fix the above limitations. Acked-by: Kevin Hilman Rafael, can you pick this one up? I think it's better to go through the PM tree. v4.2 would be ideal, but I realize it's probably a bit late for that. Kevin -- 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/