Received: by 10.223.176.46 with SMTP id f43csp1743082wra; Wed, 24 Jan 2018 22:49:23 -0800 (PST) X-Google-Smtp-Source: AH8x227ddgFb9wqslgP4PLCCtiWlq9qTUV1sJ+WkDbAJhbPV6G3kwLFLA2xvAdMYUwUFRQKbkCiv X-Received: by 10.98.68.91 with SMTP id r88mr15291432pfa.52.1516862963631; Wed, 24 Jan 2018 22:49:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516862963; cv=none; d=google.com; s=arc-20160816; b=hK7zkUaks92Syg00lyIPxqwmiD+qLvDbFzu1U4e0UAtPE6onV+YUNfqDnURgS01HGA JuK3B7eKW1Sw0NiA/9gFJ2JAmi84s5xoYdGs6gdzORH/wJhhORf7tA/nY8utOCpLmSd/ 4WRfuQMb1HJZ6iVX99Du6dnAhpm7mj3qN7ROsnqS5PATJaiHCzNG6DqAetoZGbPVr+pj pTjILKAjB20vtuJAAuGU1bbCY/w2dehtn2gv9U+PQ5rOP6zr1zFVq8CscH0dMv70KaTu IGG3id4icW3gDsbafwi+v4EOCixMmF4WjSJutgQU5hvWhaFa15r8Hxax8JEyMBVLMIJn 5i8w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=rP5CMGcOPhBr2U9GMJDfD1jcOLhGFMBBy8IiWV47PsY=; b=I9+JhX/JCtdVlPnD5fvpQVM1vJRFn3oKJeyaja4KXPQeeEHpoTvNcPFTsJhwIFxXp2 YVExaexo/n6E1+YGYcvbrg34iuDWye9WzdREzhtsviPcLZsw9Rq4QuzY4ejzvuXPTdS4 9gNpl6VaJQ2sjHVwzq/In46Q1LAPq1xSVwS0UcLsYhL/whgmyVcTZP54dkb8aCrGIu3D Nx4AtTav5gqY3JvwTpiz27XWc42dqB5ovtOmxs/xFcsJiJuj9qc4do2c9cr0ZGs/47cf Cj8wPiLuyb6zJXjqnD8ezGLexRnzUlyjnOuu7KWQmJhLeNU/NqfjZQHtwvfsCIny8MBC AX/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oVh6No1f; 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 k189si1178664pgc.505.2018.01.24.22.49.09; Wed, 24 Jan 2018 22:49:23 -0800 (PST) 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=oVh6No1f; 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 S1751228AbeAYGsf (ORCPT + 99 others); Thu, 25 Jan 2018 01:48:35 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:39876 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbeAYGsd (ORCPT ); Thu, 25 Jan 2018 01:48:33 -0500 Received: by mail-it0-f68.google.com with SMTP id 68so8126818ite.4; Wed, 24 Jan 2018 22:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rP5CMGcOPhBr2U9GMJDfD1jcOLhGFMBBy8IiWV47PsY=; b=oVh6No1fXXu10ZDdxIrWtEf0Fy3oY+jfMhxURvm1j096CDL4g+wYVueyjVRditduof 21QMdUg1Tf4HlQpxtVbLndCUwRx8znmnzIw+0GIF9AZt0mIAbwefgfmm+A7lEkkr/Z75 qFk7WjX7AnWNtykUfSrAp7ZWWdMGP4jZXkrWHV9RasXw9hisD4KA8kz+f013srsHa1vW ulrpV0V5nT7DYHrxTgPBc6e5c+IWkq7sT0TlNFJEEHqdP/epTlu9okYzFtclYKRqBIu6 +XIkbPZJB9RX1Ak2Lye5Zr5dsgxWmoER684jq69QzCswkSCjKecgFnQQy0QySXiBOeLF 3wNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rP5CMGcOPhBr2U9GMJDfD1jcOLhGFMBBy8IiWV47PsY=; b=kn2VspGUlasKwolW4LQ0It1lPMJ/i1WJ0qLuAZu59JtLCkuXJSNe1bonABTNqj1t+Y Y17Wn+xvx3favDAoadlJf5j49uhzVh24BG71gmLLgFbNsX9RLHxopB0/3t7dH7yS+P2u u5gJOFiO4MFQj4oIjy1LqgXwNvAB7S8wx0pwTSMqt9K9M0KrDWPRWaw3iCZp0vm3oM9s lxu16cWcEy9XvSri5p1b8WwULq2H0Mn/gn4B1lOmJXbkO+/0DwbOgN5CcK0ebZHWqEEP 8p9euQttxYtNwLPhKdNK+g5ng/1eQTqTArhBCatfRwjeU0vzeAgRRbMJsZsMWQvke5h2 lp8w== X-Gm-Message-State: AKwxytdnAfczIvFFz2Je+G8rpUI2hfgOCdi/NRZ5DkXvD0loTJhMKQd3 hSO8WIrWiYVhWXgQd/k+xW8= X-Received: by 10.36.135.138 with SMTP id f132mr12071043ite.144.1516862913066; Wed, 24 Jan 2018 22:48:33 -0800 (PST) Received: from [192.168.1.70] (c-73-93-215-6.hsd1.ca.comcast.net. [73.93.215.6]) by smtp.gmail.com with ESMTPSA id t188sm406404ita.23.2018.01.24.22.48.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jan 2018 22:48:32 -0800 (PST) Subject: Re: [RFC PATCH v2 0/1] of: easier debugging for node life cycle issues To: Wolfram Sang , devicetree@vger.kernel.org Cc: Tyrel Datwyler , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Rob Herring , Steven Rostedt , linux-kernel@vger.kernel.org References: <20180121143117.19805-1-wsa+renesas@sang-engineering.com> From: Frank Rowand Message-ID: <9c03edf1-564b-dd40-bbdf-e21e499869a6@gmail.com> Date: Wed, 24 Jan 2018 22:48:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180121143117.19805-1-wsa+renesas@sang-engineering.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/21/18 06:31, Wolfram Sang wrote: > I got a bug report for a DT node refcounting problem in the I2C subsystem. This > patch was a huge help in validating the bug report and the proposed solution. > So, I thought I bring it to attention again. Thanks Tyrel, for the initial > work! > > Note that I did not test the dynamic updates, only of_node_{get|put} so far. I > read that Tyrel checked dynamic updates extensively with this patch. And since > DT overlays are also used within our Renesas dev team, this will help there, as > well. It's been nine months since version 1. If you are going to include the dynamic updates part of the patch then please test them. > Tested on a Renesas Salvator-XS board (R-Car H3). > > Changes since RFC v1: > * rebased to v4.15-rc8 > * fixed commit abbrev and one of the sysfs paths in commit desc > * removed trailing space and fixed pointer declaration in code > > I consider all the remaining checkpatch issues irrelevant for this patch. I am OK with the line length warnings in this patch. Why can't the macro error be fixed? A file entry needs to be added to MAINTAINERS. > > So what about applying it? > > Kind regards, > > Wolfram > > > Tyrel Datwyler (1): > of: introduce event tracepoints for dynamic device_node lifecyle > > drivers/of/dynamic.c | 32 ++++++---------- > include/trace/events/of.h | 93 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 105 insertions(+), 20 deletions(-) > create mode 100644 include/trace/events/of.h >