From: Andy Shevchenko Subject: Re: [PATCH v2 1/6] device property: Add functions for accessing node's parents Date: Fri, 29 Mar 2019 16:14:19 +0200 Message-ID: <20190329141419.GY9224@smile.fi.intel.com> References: <20190326124106.27694-1-sakari.ailus@linux.intel.com> <20190326124106.27694-2-sakari.ailus@linux.intel.com> <20190327122625.eaisnw776vqwhhnh@pathway.suse.cz> <20190327142036.jf6puc5uo2mjutbl@paasikivi.fi.intel.com> <20190328141036.mbns3ei4agnginsg@pathway.suse.cz> <20190329130436.4fxzki5kljprhyai@kekkonen.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190329130436.4fxzki5kljprhyai@kekkonen.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Sakari Ailus Cc: Petr Mladek , linux-kernel@vger.kernel.org, rafael@kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring List-Id: linux-acpi@vger.kernel.org On Fri, Mar 29, 2019 at 03:04:36PM +0200, Sakari Ailus wrote: > On Thu, Mar 28, 2019 at 03:10:36PM +0100, Petr Mladek wrote: > You basically have to have a reference to a node until you're done > accessing it. The refcounting in the fwnode framework is based on the OF > API --- otherwise you couldn't access OF nodes using the framework. > ACPI > does not have those (as you can't dynamically remove nodes). What about configfs where we can load / unload tables at run time? > The newly > added swnode does have refcounting of individual nodes as well. -- With Best Regards, Andy Shevchenko