From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: [PATCH 00/10] PM / Domains: Add support for removing PM domains Date: Fri, 26 Aug 2016 14:12:43 +0100 Message-ID: References: <1471340976-5379-1-git-send-email-jonathanh@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1471340976-5379-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson Cc: Thierry Reding , Kukjin Kim , Krzysztof Kozlowski , Alexander Aring , Eric Anholt , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org Hi Ulf, On 16/08/16 10:49, Jon Hunter wrote: > In order to safely remove PM domains there are a few changes that need to be > made to ensure that no one is holding an external reference to a PM domain > after it has been removed. One solution, implemented here, solves this by > eliminating external references to PM domain. > > This is a follow-up to the initial RFC I sent out [0]. > > Changes from initial RFC: > - Renamed functions made static per Ulf's feedback. > - Added patch to clean-up provider/xlate APIs per Ulf's feedback > - Re-worked and simplified the association between PM domains and PM > domain providers. Dropped the 'provider_data' variable from the > generic_pm_domain structure in favour of using the fwnode_handle. > - Split patch for removing PM domains into multiple patches per Ulf's > feedback. Let me know if you have any feedback on this. Please note I will be out next week. Cheers Jon -- nvpublic