Received: by 10.223.164.221 with SMTP id h29csp2743071wrb; Wed, 18 Oct 2017 06:16:21 -0700 (PDT) X-Received: by 10.98.78.202 with SMTP id c193mr14905864pfb.295.1508332581676; Wed, 18 Oct 2017 06:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508332581; cv=none; d=google.com; s=arc-20160816; b=sWcBU2E/5viIWl1flXwVIQFggclCcP9H1ecMQ4allZalo9Dz21CpUbeN7+cNHD14G9 IN7UE+FxJEw2i6w6M+qWj5dtjF9jkIMd7xl6xlSU7loQbnm6cwyT4npHpWkTbcPqysfM u/WpUcS5GGQL0l9CTZufaV/Q84NfTOtBAJtVU9abA1izsDtjPXNcs6/pvsWot1ax6lyO T855DfCL6E51Ko/ZoxwBgfqcO4IisQLjjwCWp+vF9VGjNfe+iFDYH6hp8LISoW9GpZa0 Xt8mscuACYZjOlI5UeRmQhQgsqutQmsMQuiFPlxh0QpDr61WwhNYggkIFvk/zPvRuVle MXSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=UWyAvJBHc2kiVRAeUQMeF0nqpTyIUK22N8rIYPbiGSQ=; b=oH9cQldhI9fd/+hkHqRl4pbMVBx7Pq0n7iQcNyJxE0DmbAPvh0/AjXChYtxKEzso07 nb+gHqKf7OWj0v+Gp+pRmSpWOudSUKSqCuKnaz24BAh6xnhGUAISZMWQZOBVXbmYchqC l2RYSivGzWYgtuo2eeL4N8YQwI0UU75uI3qjsc3ntYt/4FW9DyLhqPTrsyiuu5D/QLIG sfEoegz/3rcwzV4XPqSL6GT+9oTxCwKPo9j865Qx6ytSRpMCUz0LQa2vQBpQDSTghQDH EgPiSYTpiD5f+G5dcVTd1WBP3v6B4zcvkrFvTDC2TnlCIh46SwQEI2RcVGDtBAzCeBgX IzIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uwZFs9Um; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si7844292plb.171.2017.10.18.06.16.07; Wed, 18 Oct 2017 06:16:21 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uwZFs9Um; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756335AbdJQXvj (ORCPT + 99 others); Tue, 17 Oct 2017 19:51:39 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:50184 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbdJQXvh (ORCPT ); Tue, 17 Oct 2017 19:51:37 -0400 Received: by mail-pf0-f195.google.com with SMTP id b6so2535185pfh.7; Tue, 17 Oct 2017 16:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=UWyAvJBHc2kiVRAeUQMeF0nqpTyIUK22N8rIYPbiGSQ=; b=uwZFs9UmLqyewPDMDH472oFDhBcIkSjTtzqAeCiHgH6YBemFGLDAP8W+fiLvQfRMJc gdZ4U8mKNCklimJVdMKBKkpJfEhJPnl91ATkoElkbFFXK1HFPkiaQz3OM0i0Q9nHRsoq IFjecHf3Uw+LTs45T3n/UJQQNUVyUqT58XWIU8y/iFVLXkgFpxOk4y5TKAQo/YNE25hV evHoz+ZCbzwq2u8gg7dnn/z5CYL9x6RkxhiF69aQjD1j/5QoTHtOZ9lePlnNxjIEDLCB fENu9+xuQzsMK5Jdo3ymLmskGodtJcW+bhxP9WEMK9aVypPWlGYTpuNBZ2o26LZqp8CS U3vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=UWyAvJBHc2kiVRAeUQMeF0nqpTyIUK22N8rIYPbiGSQ=; b=VX6cae6kDj1hvoErbo66cE+8mNrazKrHZtTOZvcgn16aPPhYQ4ZUDdG81zKYz2OlpP PpKD6HrHZ3ZBFNPmMjOaxZ31hMpDaOv+SC0T/6+hF3XZ1dZKD+xD5NPsncpTugb73SFY phWFZyWbfvQPufK5OtdzCfX1t9t3Qno7ZM4O9NYEQtydHz5nhB++syWRZXhlC2jUPIMH wq2jdtvktwyi+krLlVDIX38c34iPgSywtCrlTLtA9alPMLroyoh3ivPAZl6FbtR/SC00 8YL6mx5IzddFFk6EJD5pt4obx3yAAp8AdK3zY/lA/EMS1U5iNzasAF+UYGiZSL3SlzlU SCvw== X-Gm-Message-State: AMCzsaXGKuSXe66oq1/WYNhUGvM3rwjFAlJsBvshwQLO+FhJ+yuZyJyI nlQ6Q9m/f4fqDZHPFcZSxC8= X-Google-Smtp-Source: AOwi7QBW0wU43JOACPXDLWX7yucuVKCcwAlYL2Mud0O3uirhPDOoDfmiWiUfQBhPyN4B2Ng9HXdsdg== X-Received: by 10.159.234.3 with SMTP id be3mr13545898plb.5.1508284296918; Tue, 17 Oct 2017 16:51:36 -0700 (PDT) Received: from [192.168.1.46] (c-73-93-215-6.hsd1.ca.comcast.net. [73.93.215.6]) by smtp.gmail.com with ESMTPSA id 204sm18888527pgf.59.2017.10.17.16.51.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 16:51:36 -0700 (PDT) Subject: Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name To: Rob Herring , Alan Tull References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-6-robh@kernel.org> Cc: "devicetree@vger.kernel.org" , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel , Benjamin Herrenschmidt , Paul Mackerras , David Laight From: Frank Rowand Message-ID: <59E69786.2030406@gmail.com> Date: Tue, 17 Oct 2017 16:51:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -Frank From 1581601120452999573@xxx Wed Oct 18 13:12:47 +0000 2017 X-GM-THRID: 1576354368386704057 X-Gmail-Labels: Inbox,Category Forums