Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751748AbdGZK0k (ORCPT ); Wed, 26 Jul 2017 06:26:40 -0400 Received: from ozlabs.org ([103.22.144.67]:40095 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbdGZK0j (ORCPT ); Wed, 26 Jul 2017 06:26:39 -0400 From: Michael Ellerman To: Rob Herring , devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras Subject: Re: [PATCH 4/4] of/fdt: only store the device node basename in full_name In-Reply-To: <20170725214427.25768-5-robh@kernel.org> References: <20170725214427.25768-1-robh@kernel.org> <20170725214427.25768-5-robh@kernel.org> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Wed, 26 Jul 2017 20:26:36 +1000 Message-ID: <87r2x35w9v.fsf@concordia.ellerman.id.au> 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: 897 Lines: 20 Rob Herring writes: > 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. > > We no longer distinguish between pre and post 0x10 dtb formats as either > a full path or basename will work. However, less than 0x10 formats have > been broken since the conversion to use libfdt (and no one has cared). For the record - yes we did care. It broke booting with old versions of kexec, and it was a royal P.I.T.# to debug :D cheers