Received: by 10.223.164.221 with SMTP id h29csp2868975wrb; Wed, 18 Oct 2017 08:14:05 -0700 (PDT) X-Received: by 10.99.127.26 with SMTP id a26mr13940248pgd.385.1508339644887; Wed, 18 Oct 2017 08:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508339644; cv=none; d=google.com; s=arc-20160816; b=iH3+Q3+H499kNHDAZaRXYF7XfZMeZAflcLEwh2KyV3CtXVQb+tTQZg4TWCYRlaj/El XD2Xe5jzwEbWse0z+RYb+EUwM60KMByP4v0Fw+1/5Rxq63DqoD27aNwc4SrPXf6WbzLF 8CyPRLD535HKVK/5CMrXkMxpSWPARgqyFTf4UGf2X0O+y46HF5R+KYaQt6RpQZ8qd3Sv 1by8LDbfxEAqd/PBDXW9XyrCf6vrGg21UB8JBrXbUeuhTduUNHtkaELo0L2YqIE2Lzmy E6gzPFNU/CDuZXfoynXxivkTjGMq6H3zUW3TFqrliRQ/kSCknFm8gHAj5SLGuebYf3Uv XLHw== 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=je204vTaZyOXGstphyZ1ozdJ92ywhvvfpDgQteBZ7R0=; b=F0wN4sln5281o8Sr6Kz7JDBxGp8/K+t15h+5kYBzuUK9BZugbO66z1hCO1t/nrU2pk vrMJmGL1CG7ccredUE0cm11eExYcIP5OOqB79oNx2XJCZEfdQXW4cnGzWHoKwb93DYCS yadvuqpxXVPQUb1bUlTIxtnRsTdFtQOh6Oyk/ZIgOXDcq9EYL6Ri+IErHA1kwVnX8tIN fvDuUmqMxjnkkfLcQo7AMhE/v8McWp/e44qB3RC3rfUjYlohEmlK7rHIhGRSuX4cpDGR YaiytUtQHiuV+SEdquLBnDWlXkahR5xJ7n/o+L9PBxiFFTz2Q7VSlQc9XMbSPU3dPDUz eC1A== 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 o90si7645670pfj.153.2017.10.18.08.13.51; Wed, 18 Oct 2017 08:14:04 -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 S1750748AbdJRPNb (ORCPT + 99 others); Wed, 18 Oct 2017 11:13:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:38912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750724AbdJRPN3 (ORCPT ); Wed, 18 Oct 2017 11:13:29 -0400 Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) (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 74C8421922; Wed, 18 Oct 2017 15:13:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74C8421922 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-vk0-f51.google.com with SMTP id g69so3509406vke.5; Wed, 18 Oct 2017 08:13:28 -0700 (PDT) X-Gm-Message-State: AMCzsaV2xhjfelo/W4NAwVYBb+0oHKPQPHEERcxcFNA4RWdzLkMKxZn9 Y0RlBZa6rK3N6Dkg2S0jKJhZ5s6N6MWT3qKj4fA= X-Google-Smtp-Source: ABhQp+S9rolZTor/8zEmC9APpMMbQ/Af+7XJfeJrT4ezsDEy443+WF1apJX/nKeJTE9UJNu+eSP6SJv9sWPiStWKRnE= X-Received: by 10.31.140.6 with SMTP id o6mr6056094vkd.182.1508339607566; Wed, 18 Oct 2017 08:13:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.72.18 with HTTP; Wed, 18 Oct 2017 08:12:47 -0700 (PDT) In-Reply-To: <59E69786.2030406@gmail.com> References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-6-robh@kernel.org> <59E69786.2030406@gmail.com> From: Alan Tull Date: Wed, 18 Oct 2017 10:12:47 -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: Frank Rowand , Pantelis Antoniou Cc: Rob Herring , "devicetree@vger.kernel.org" , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel , Benjamin Herrenschmidt , Paul Mackerras , David Laight , linux-fpga@vger.kernel.org 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 Tue, Oct 17, 2017 at 6:51 PM, Frank Rowand wrote: > On 10/17/17 14:46, Rob Herring wrote: >> On Tue, Oct 17, 2017 at 4:32 PM, Alan Tull wrote: >>> 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) >> >> Frank's series with overlay updates should fix this. > > Yes, it does: > > [PATCH v3 11/12] of: overlay: remove a dependency on device node full_name Thanks for the fast response. I fetched the dt/next branch to test this but there are sufficient changes that Pantelis' "OF: DT-Overlay configfs interface (v7)" is broken now. I've been adding that downstream since 4.4. We're using it as an interface for applying overlays to program FPGAs. If we fix it again, is there any chance that can go upstream now? Alan From 1581601344849131900@xxx Wed Oct 18 13:16:21 +0000 2017 X-GM-THRID: 1576354368386704057 X-Gmail-Labels: Inbox,Category Forums