From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752898AbdK1N0g (ORCPT ); Tue, 28 Nov 2017 08:26:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:59836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbdK1N0f (ORCPT ); Tue, 28 Nov 2017 08:26:35 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86A8021992 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org X-Google-Smtp-Source: AGs4zMY98xa53sQ0bZzIqIGbuAYEK2k3OmN84seoFSJaaNSXQizLxZ+iiy26vV66jsGxK9iwYnHqnWEJ90qxPlA7ahc= MIME-Version: 1.0 In-Reply-To: References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-6-robh@kernel.org> From: Rob Herring Date: Tue, 28 Nov 2017 07:26:13 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name To: Geert Uytterhoeven Cc: "devicetree@vger.kernel.org" , Michael Ellerman , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , David Laight Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 28, 2017 at 7:13 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Mon, Aug 21, 2017 at 5:16 PM, Rob Herring wrote: >> With dependencies on a statically allocated full path name converted to >> use %pOF format specifier, we can store just the basename of node, and >> the unflattening of the FDT can be simplified. >> >> This commit will affect the remaining users of full_name. After >> analyzing these users, the remaining cases should only change some print >> messages. The main users of full_name are providing a name for struct >> resource. The resource names shouldn't be important other than providing >> /proc/iomem names. > > I guess the plan is to get rid in a subsequent step of all calls to kbasename() > on a full name, which is now futile? No. Sparc (PDT) is still the full path and I don't plan to change that. Rob From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name Date: Tue, 28 Nov 2017 07:26:13 -0600 Message-ID: References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-6-robh@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Geert Uytterhoeven Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Michael Ellerman , "linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , David Laight List-Id: devicetree@vger.kernel.org On Tue, Nov 28, 2017 at 7:13 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Mon, Aug 21, 2017 at 5:16 PM, Rob Herring wrote: >> With dependencies on a statically allocated full path name converted to >> use %pOF format specifier, we can store just the basename of node, and >> the unflattening of the FDT can be simplified. >> >> This commit will affect the remaining users of full_name. After >> analyzing these users, the remaining cases should only change some print >> messages. The main users of full_name are providing a name for struct >> resource. The resource names shouldn't be important other than providing >> /proc/iomem names. > > I guess the plan is to get rid in a subsequent step of all calls to kbasename() > on a full name, which is now futile? No. Sparc (PDT) is still the full path and I don't plan to change that. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html