Received: by 10.223.164.221 with SMTP id h29csp2737979wrb; Wed, 18 Oct 2017 06:12:11 -0700 (PDT) X-Received: by 10.84.200.39 with SMTP id s36mr15389964pld.257.1508332331616; Wed, 18 Oct 2017 06:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508332331; cv=none; d=google.com; s=arc-20160816; b=IsNNfyPpopeS1elET3124zZC7nPc6GFe1AszdoMvzJrEQhrmUR6zAHKWZrsYm4suUb 2yevKv6oCvKFj7eyHYXJ8XY9veXTUZpXku9wcrOYSEXt5XZ2PVNWBqffcTuBzPWxMWfZ bIZX6ilZogUP8CXlJtwC8GB43S6vXJDtxlDGZvQCm60o3DiVuv2Ucqd/exDi+vJc2wzw pwcA3v13GhtvboZOHeg5mdthJNVmGAMhgtBSmVpFSkJ8qc7grfE3/OF99nhaH7k4YuMb hwTaFsk36crQvnfaVKgmHxSeRRzzubYmCGPWxOm9ZpA+5OsPjp4aLIZheEu6geeesecg WJaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=o1c6QERlhLBkCmv4Llrm2M68ZblIb9cddV9ftl8GEEM=; b=Ez5ZaMJdZW9nS33VoWKTwdlrOWj+z5yQgicchrO0zOHJmr9b23Bb+RxwzlMHYyUNcx b0px86mJiqWHnASsL9p+JpmSp1bDRNFptp7lwHeOvSoJ4JgpTFIea4aNJwcPBeM+t+Xp nUC1uk6+MyGf0X8Zu5va2xxO8gBxODyPUVkNWDogd2bzswGsXe0uE1P3eiroAHx+Te1o IsYkaRD/kAJjlATZao5p/uCl4Q3UWGgaLeZQ/CjHN7vHMcbaSP+A72VFlx6KjfroUc0E yWcNvyb50tzXzR95NOF1cYlfpV33YQLv3OY1fYLnuXajyl1198Vkp9s6f69//K5fqgXj mCDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e184si5982090pfc.111.2017.10.18.06.11.57; Wed, 18 Oct 2017 06:12:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966281AbdJQVdl (ORCPT + 99 others); Tue, 17 Oct 2017 17:33:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:60264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966268AbdJQVdj (ORCPT ); Tue, 17 Oct 2017 17:33:39 -0400 Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F2A921924; Tue, 17 Oct 2017 21:33:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F2A921924 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=atull@kernel.org Received: by mail-ua0-f174.google.com with SMTP id n38so2189330uai.11; Tue, 17 Oct 2017 14:33:35 -0700 (PDT) X-Gm-Message-State: AMCzsaW/vyQ9yWJoN4eLN9g5rpBU6aQIsXX8zfoiPwK2e7sQB+pO3Q+C c1Sw+pRhU4igIcqU9cat5S8CEmG6sjB6NA684ns= X-Google-Smtp-Source: AOwi7QAXIyiSIv1uKshxvbW5/e942rCtNW+qJ4mOkalCDOQnnwDxKXmZO3j4mqQcbictb22JYBXEQtkBqfTv6FX2ifk= X-Received: by 10.176.80.3 with SMTP id b3mr11762207uaa.1.1508276014363; Tue, 17 Oct 2017 14:33:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.72.18 with HTTP; Tue, 17 Oct 2017 14:32:53 -0700 (PDT) In-Reply-To: <20170821151651.25096-6-robh@kernel.org> References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-6-robh@kernel.org> From: Alan Tull Date: Tue, 17 Oct 2017 16:32:53 -0500 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: Rob Herring Cc: "devicetree@vger.kernel.org" , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel , Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , David Laight Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 21, 2017 at 10:16 AM, Rob Herring wrote: Hi Rob, > 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). > The conversion of the unflattening code to be non-recursive also broke > pre 0x10 formats as the populate_node function would return 0 in that > case. > > Signed-off-by: Rob Herring > --- > v2: > - rebase to linux-next > > drivers/of/fdt.c | 69 +++++++++----------------------------------------------- > 1 file changed, 11 insertions(+), 58 deletions(-) I've just updated to the latest next branch and am finding problems applying overlays. Reverting this commit alleviates things. The errors I get are: [ 88.498704] OF: overlay: Failed to apply prop @/__symbols__/clk_0 [ 88.513447] OF: overlay: apply failed '/__symbols__' [ 88.518423] create_overlay: Failed to create overlay (err=-12) My branch also includes Pantelis' patch that turns on symbols [1]. Alan [1] https://github.com/pantoniou/linux-beagle-track-mainline/commit/486c87d450f2895a766c6097328d0c6538ec7a31 From 1576354368386704057@xxx Mon Aug 21 15:17:54 +0000 2017 X-GM-THRID: 1576354368386704057 X-Gmail-Labels: Inbox,Category Forums