Received: by 10.223.185.116 with SMTP id b49csp179057wrg; Thu, 22 Feb 2018 19:23:14 -0800 (PST) X-Google-Smtp-Source: AH8x224MfHxUFW4bsBh7MrXrdSbWiUgNkO+YPOj7ate1OefZDrPvKfbsLfMJiR8PYgok74beirEk X-Received: by 10.101.92.6 with SMTP id u6mr227379pgr.440.1519356194787; Thu, 22 Feb 2018 19:23:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519356194; cv=none; d=google.com; s=arc-20160816; b=jTv5899EaWapDXFjDdVJS0r6UK/f5I0sIHeNX09RCpHd+gvKFuKRiY0Lqyx0lJRLER Zpg/T/kdC6Czdr6/IEOH15ct8ZfwYXj8SKZycAwoHSkw3wfp97UWyHZ4Q3Vrm+yHD3+N MVmXMclZIc2J+NWaK65v7UDerAmPeKg68LfkMVewNE9rEzh34wb8kTHtOAftCv1n/0xi mNt5g2nN6AxgmGvH+F6oycwSCeyZ/7FknqxC0VXe9984m0J/E6tMwsVHVNUwDUio8Xfd B+iKNd8x1/VgO8yOz4KifXIjq9VvHq6SFNMkXK4+8WH/YzxIm5EuFu/nDa/XYWYQS5+g JPQg== 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=XYXU3FZ7KZE2PPMhyo0tnx5i7h1noTNEkAIV4fQJhpU=; b=yLRx8RIJkpL2xXv9oRiFo5WxwaH4YT18UfJPSJSxqx+TAMlIsaZrG6MUU70TRUdgAI Ynsyn2y0qV/gTa0+CwBttmbqa6LyTcJ7sOR7guQ0CEHhjpSYHXT8VzZrxd9HH/iVVLdk q0mN6/aLm5wrTNw43Hl6KxumS5jsu8DC2Bd+deWxu4f6edW8PJSTzmcrUyU7g3GzKeaj 1gjUxMYGCYMUoXqGNgiaJstc9+7dA98kZiWjmT3t45ZHcabPsjwbHh5FBzg3JUBYzeok vTJipU5FQGgY3pHcAdPftR55twvKQ+KnralsYSAlijCfSqw0VB9J91ITe7K2bjah+lEy OcNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PVPMUbNX; 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=QUARANTINE 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 p13si896980pgq.50.2018.02.22.19.23.00; Thu, 22 Feb 2018 19:23:14 -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=PVPMUbNX; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbeBWDUs (ORCPT + 99 others); Thu, 22 Feb 2018 22:20:48 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45472 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbeBWDUq (ORCPT ); Thu, 22 Feb 2018 22:20:46 -0500 Received: by mail-pl0-f68.google.com with SMTP id v9-v6so2140909plp.12; Thu, 22 Feb 2018 19:20:46 -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=XYXU3FZ7KZE2PPMhyo0tnx5i7h1noTNEkAIV4fQJhpU=; b=PVPMUbNXj08jcdGoCzHKsiFDrnDUYuaCtbmoxokrfFHhZ6GZ5vaGToHoGLVVwWXo2e 8aukDU1bjATrJRX4UMy5Eu7ScyHBn9JEoHtwRcmJeT61UyFfq54Kf3YC6a60NMYyBxJo OgajlY2/Ipte4+WxSauIGYG/dJK1l6vZ98XkBH+sz/sZTkmRCrheHyuxgL2epa/Pudf/ 5jIwOg7xHCYp13MiE09xz4sfH7pR/nkTWHmG5jqEgamNMOdhN2G3dbZy26eke4dykkE8 T9GftElaoXkUI5AMkW95VYJvETiugGbnJy7HLpzrlV2kP94GoOTAEnfp8Sg2NQcva+78 t38Q== 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=XYXU3FZ7KZE2PPMhyo0tnx5i7h1noTNEkAIV4fQJhpU=; b=g50d/RspE9UlI7zSEYF++orroVNsn2Yl+GDnSwsVWCILoLqzGqdBHPxgy7V0aNiav5 /unv/SDrYq+X0X2n3LTuRUYvyjhzHMZvU+FDKrbAppnSB1FX0FcNUJwxtRQcmN1GPRt/ V3GbEZ0bdAyuXMqeo7VS5A57zILgqlIV0qZ4NihetDqzGaCBJpI+5VbWYkW0aPk4fqhR S1LwiFk/Xw3nobgekRHqlIsrP2m7jy4HYTvRFmEHh1/vdeWsQ7WR9ct7X56qhgUD0+1e Xqkg7TGWqDstKZtVQfTuQM6oaMw5s07yJNo1KZAqI/HKIubPxcBrCDoZTRFrDOW1XRNk UR9w== X-Gm-Message-State: APf1xPDIBCoP2vxjdubF1m91baxU6ZAnMfjQiT+sq0hYRKWJh3ZT7wy3 4RGO0Q0Zyo3aKWh2pqHLeMg= X-Received: by 2002:a17:902:8484:: with SMTP id c4-v6mr262769plo.271.1519356045626; Thu, 22 Feb 2018 19:20:45 -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 w3sm2074724pfw.30.2018.02.22.19.20.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 19:20:45 -0800 (PST) Subject: Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver To: Laurent Pinchart Cc: Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Rob Herring , Matt Porter , Koen Kooi , Guenter Roeck , Marek Vasut , Wolfram Sang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Pantelis Antoniou References: <20180220231046.32638-1-laurent.pinchart+renesas@ideasonboard.com> <6129743.3Euq8y3YuW@avalon> From: Frank Rowand Message-ID: <050fa0bb-2157-8796-1bce-354f1da67e24@gmail.com> Date: Thu, 22 Feb 2018 19:20:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <6129743.3Euq8y3YuW@avalon> 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 Hi Laurent, On 02/22/18 02:25, Laurent Pinchart wrote: > Hi Frank, > > On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: >> On 02/20/18 15:10, Laurent Pinchart wrote: >>> Hello, >>> >>> This patch series addresses a design mistake that dates back from the >>> initial DU support. Support for the LVDS encoders, which are IP cores >>> separate from the DU, was bundled in the DU driver. Worse, both the DU >>> and LVDS were described through a single DT node. >>> >>> To fix the, patches 01/16 and 02/16 define new DT bindings for the LVDS >>> encoders, and deprecate their description inside the DU bindings. To >>> retain backward compatibility with existing DT, patches 03/16 to 08/16 >>> then patch the device tree at runtime to convert the legacy bindings to >>> the new ones. >>> >>> With the DT side addressed, patch 09/16 converts the LVDS support code to >>> a separate bridge driver. Patches 11/16 to 16/16 then update all the >>> device tree sources to the new DU and LVDS encoders bindings. >>> >>> I decided to go for live DT patching in patch 08/16 because implementing >>> support for both the legacy and new bindings in the driver would have been >>> very intrusive, and prevented further cleanups. This version relies more >>> heavily on overlays to avoid touching the internals of the OF core >>> compared to v2, even if manual fixes to the device tree are still needed. >>> >>> Compared to v3, this series uses the OF changeset API to update properties >>> instead of accessing the internals of the property structure. This removes >>> the local implementation of functions to look up nodes by path and update >>> properties. In order to do this, I pulled in Pantelis' patch series >>> titled "[PATCH v2 0/5] of: dynamic: Changesets helpers & fixes" at Rob's >>> request, and rebased it while taking two small review comments into >>> account. >> >> Wait a minute! Why are you putting a patch set to modify core devicetree >> in the middle of a driver series. Please pull it out to a separate series. > > Because Rob asked for the driver-local implementation of the property add > function to be replaced by Pantelis' series. I want to get the LVDS changes in > v4.17 and asked Rob whether I could then take the OF changeset patches merged > through the DRM tree, and he didn't object. If that causes an issue I'll > switch back to the driver-local implementation to get the driver changes > merged, split the OF changeset series out, and then move to the OF changeset > API once merged. Would you prefer that ? You have already created a new version of the R-Car patches without the set of patches that I was objecting to here. So this is somewhat just an academic comment. As I mentioned in the v6 thread, I am coming back here to clean up loose ends, and explain why I had the reaction I had. Basically, this is a process issue to me. (1) The patch set from Pantelis is "hidden" in the driver patch series. When viewing collapsed threads (which is my normal mode to avoid getting overwhelmed by the vast volume of email I scan), the Pantelis patch set is totally invisible. If the R-Car driver patch series had not had me on the to: list, there is a very good chance I would not have noticed it. Or noticed in a more delayed time frame. And the same applies to anyone else who might be subscribed to the devicetree mail list. If the Pantelis patch series was split out into a separate patch set then it would be more visible on the list. (2) There is no good way to indicate in the email subject lines for the Pantelis patches that they are version 3 of the series, since they are also version 4 of the R-Car patch series. If one reads the patch 0/0 header carefully, and/or the other Pantelis patch comment headers carefully, and then does a little detective work, it is possible to find version 2 of the Pantelis patch series, and thus be able to track the full history. If just glancing at each individual patch email subject, scanning the patch comment, and spending more time reading the body of the patch, it would be very easy to overlook the existence of the previous versions on the mail list. (2b) Small quibble: if the Pantelis patches were in a separate series, with v3 in the subject header, then you would have normally put a "changes since v2" section in the patch comment header, which would have been more visible and less cryptic than what you wrote, which was: ... Signed-off-by: Pantelis Antoniou [Fixed memory leak in __of_changeset_add_update_property_copy()] Signed-off-by: Laurent Pinchart --- drivers/of/dynamic.c | 222 ++++++++++++++++++++++++++++++++++ include/linux/of.h | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 550 insertions(+) My original scan of version 2 and then the email in this series had me questioning whether the two open issues from patch 2 had been addressed (yes, patch 0/16 did explicitly mention that 2 review comments had been taken into account, so you can point at my poor reading comprehension). (3) This is totally unrelated to your patch series, but I'm leaving a bread crumb trail here. Rob pointed you at a patch series that was not the most recent version. When this patch series appears again, there already is a version 3 subset of it, but it is still labeled as being version 2, and also has outstanding un-addressed issues. ("[PATCH v2 1/2] of: dynamic: Add __of_node_dupv()", 11/04/16) -Frank